Deploying Serverless Applications Using AWS SAM
CloudFormation is a powerful instrument. However, as new technologies and ways of working emerge, new requirements appear for Infrastructure-as-Code (IaC) tools. After the release of Lambda and its integration with other AWS services, including S3, SNS, SQS, and DynamoDB, it appeared that most of CloudFormation’s capabilities were not required for serverless development.
So, a Serverless Application Model (SAM) was developed. AWS SAM introduces a different and more simplified way of developing, building, testing, deploying, and operating serverless applications. In this chapter, we are going to learn about AWS SAM and how to use it to facilitate the development of serverless applications.
In this chapter, we will cover the following topics:
- Introducing AWS SAM
- Understanding the differences between AWS SAM and CloudFormation
- Writing your first serverless applications with AWS SAM