Posted On: Jan 26, 2018

AWS SAM extends AWS CloudFormation to provide a simplified way of defining the Amazon API Gateway APIs, AWS Lambda functions, and Amazon DynamoDB tables needed by your serverless application. Now, you can use new resource types to write CloudFormation templates that are optimized for defining serverless applications with only a few lines of text. 

With AWS SAM support, you can use the AWS CloudFormation CLI to package and deploy serverless applications and use the CLI tool AWS SAM Local, available in beta, to locally test and debug your AWS Lambda functions defined by AWS SAM templates.

The easiest way to get started using AWS SAM for your serverless applications is with AWS developer tools. You can use AWS Codestar to find SAM templates that let you quickly and easily set up and deploy serverless applications. You can also use AWS Cloud9, a cloud-based integrated development environment (IDE) that comes pre-installed with AWS SAM Local, for local testing and debugging Lambda functions. AWS SAM is also supported by AWS CodeDeploy which helps you automatically manage the rollout of new function versions.  

The AWS Serverless Application Model is made available under the Apache 2.0 license, enabling others in the ecosystem to adopt and incorporate it into build, deployment, monitoring and management tools with a commercial-friendly license. 

AWS SAM is now available in all regions where Lambda is available. For more information on where AWS Lambda is available, see the AWS region table.  

To learn more about using AWS SAM to build serverless applications, visit our documentation and check out the model on GitHub