A CLI tool to build, test, debug, and deploy serverless applications using AWS SAM.
AWS SAM CLI is a command-line tool that helps developers build, test, debug, and deploy serverless applications using the AWS Serverless Application Model (SAM). It provides a local development environment that emulates AWS services like Lambda and API Gateway, enabling faster iteration and testing before deploying to the cloud.
Developers and DevOps engineers building serverless applications on AWS, particularly those using AWS SAM or CloudFormation templates who want efficient local testing and deployment workflows.
It significantly accelerates serverless development by allowing local testing and debugging, reducing dependency on cloud deployments for every change, and integrates seamlessly with AWS services and CI/CD pipelines.
CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Emulates Lambda and API Gateway in Docker containers, allowing full debugging and testing without cloud deployments, as highlighted by the `sam local` commands.
The `sam sync` command enables rapid iteration by synchronizing code changes directly to AWS for testing, reducing feedback loops from minutes to seconds.
Supports custom build workflows with Makefile and handles both zip and image-based Lambda deployments via `sam build`, accommodating diverse project needs.
Automates pipeline setup with prebuilt templates for popular systems like Jenkins and GitHub Actions using `sam pipeline init`, speeding up DevOps configuration.
Local execution requires Docker, which adds resource overhead and setup complexity, making it less lightweight for quick, ad-hoc testing.
Designed exclusively for AWS services, so it's ineffective for hybrid or multi-cloud projects, limiting flexibility compared to agnostic tools.
Not all AWS services are fully supported locally (e.g., EventBridge or SQS may have limited emulation), requiring cloud testing for some integrations.