简体   繁体   中英

Difference between Serverless Framework and CloudFormation?

I am new in Serverless Framework and CloudFormation my however i used serverless little bit for deploying Lambda function and somewhere i read that Serverless using CloudFormation inside so

My question is Can i do all things from Serverless Framework which is possible from CloudFormation.

Actually my Boss gave me task so create CloudFormation code to Build APIGateWay, code pipeline, code build, s3 and many other things from cloudFormation code so i am wonder is it possible to all things from serverless Framework itself?

Thank you in Advance

Cloudformation is a service provided by AWS, while Serverless is a thirdparty product/solution that makes infrastructure-as-code (IaC) possible. There are others too for example, Terraform.

When deploying resources in AWS, Serverless almost always employs Cloudformation. The main differentiator being Serverless is more polished, has associated eco-system of tools to build, manage and monitor the infrastructure. Cloudformation does the deployment part, while Cloudwatch does the monitoring.

AWS SAM is another option, compared to writing vanilla Cloudformation code, which is more closer to Serverless, where a lot of boilerplate code is abstracted away, at the end, like Serverless, AWS SAM also builds Cloudformation stack.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM