AWS Serverless Application Model
Open source developer tool that simplifies and improves the experience of building and running serverless applications on AWS
Benefits of AWS SAM
Streamline development cycle
Streamline your serverless development cycle, quickly and efficiently taking an idea to production.
Develop, debug, and deploy
Develop, debug, and deploy your serverless applications with the AWS SAM CLI.
Define and manage your infrastructure code
Define and manage your infrastructure code with AWS SAM templates.
Perform real-time debugging and testing
Perform real-time debugging and testing in the cloud with AWS SAM Accelerate.
How it works
AWS Serverless Application Model (AWS SAM) consists of two parts: AWS SAM templates and the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). AWS SAM templates provide a short-hand syntax, optimized for defining Infrastructure as Code (IaC) for serverless applications. An extension of AWS CloudFormation, you deploy AWS SAM templates directly to CloudFormation, benefiting from its extensive IaC support on AWS. The AWS SAM CLI is a developer tool that puts AWS SAM features at your fingertips. Use it to quickly create, develop, and deploy serverless applications. Some of the many features of AWS SAM include AWS Serverless Application Model Accelerate (AWS SAM Accelerate), which speeds up local development and cloud testing, and AWS SAM CLI integrations, extending AWS SAM to other tools such as the AWS Cloud Development Kit (AWS CDK) and Terraform.
Use cases
Build and deploy serverless applications
Use the AWS SAM CLI sam build and sam deploy commands to prepare your application for deployment and deploy to AWS.
Quickly sync your application to the cloud for development and testing
Use the AWS SAM CLI sam sync command to watch for local changes and quickly deploy those changes to AWS. Then, use sam remote invoke to test your lambda functions in the cloud.
Create pipelines to deploy using supported CI/CD systems
Use the AWS SAM CLI sam pipeline command to create or modify pipelines for your continuous integration and continuous delivery (CI/CD) system.
Use the AWS SAM CLI with Terraform
Perform local debugging and testing of your Terraform projects with the AWS SAM CLI.
Customers
From emerging startups to the world's largest enterprises, over a million customers choose AWS Serverless solutions to modernize their businesses.
Capital One
