Softwr
AWS Serverless Application Model (AWS SAM) logo

AWS Serverless Application Model (AWS SAM)

Open-source framework and CLI for building serverless apps on AWS

As of 20 November 2026, AWS Serverless Application Model (AWS SAM) is free to use. AWS SAM is an open-source infrastructure as code framework and command-line tool for defining, testing and deploying serverless applications on AWS. Softwr lists it under Developer Tools. AWS Serverless Application Model (AWS SAM) is made by Amazon Web Services, available on Windows, macOS, Linux.

Overview

What is AWS Serverless Application Model (AWS SAM)?

AWS Serverless Application Model, or AWS SAM, is an open-source framework for building serverless applications on AWS using infrastructure as code. It has two parts. The SAM template extends CloudFormation with shorthand syntax for serverless resources such as Lambda functions, API Gateway APIs and DynamoDB tables. The SAM CLI is a command-line tool for creating a project with sam init, building, testing locally, deploying and monitoring. Commands such as sam build, sam deploy and sam sync cover the main workflow, and sam sync pushes local changes to the cloud as you develop. SAM connectors generate the IAM permissions between resources, and the CLI can also debug and test Lambda functions in Terraform projects. Installers are published for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and Windows. Using the tool requires an AWS account, the AWS CLI and configured credentials, and local testing relies on Docker. The source repository is licensed under Apache-2.0 and the tool itself has no price, though the AWS resources you deploy are billed under AWS's own pricing. SAM targets AWS only, so it is not a multi-cloud tool, and its documentation positions it as a declarative alternative to the programmatic AWS CDK rather than a replacement for CloudFormation knowledge.

What people use it for

  • Defining Lambda and API Gateway applications as code
  • Testing Lambda functions locally before deployment
  • Building CI/CD pipelines for serverless apps
  • Converting console-created resources into templates

The honest half

Where does AWS Serverless Application Model (AWS SAM) fall short?

The limits buyers hit most with AWS Serverless Application Model (AWS SAM): targets AWS only, so templates are not portable to other cloud providers; and local testing of functions depends on Docker being installed and running. Each is concrete and checkable: the half of a review a vendor will not write.

  • Targets AWS only, so templates are not portable to other cloud providers
  • Local testing of functions depends on Docker being installed and running
  • Requires an AWS account, the AWS CLI and configured credentials before first use
  • Declarative templates, so complex logic needs CloudFormation or the AWS CDK instead
  • Does not cover non-serverless infrastructure on its own, which falls back to CloudFormation

Cross-shopped

What are the alternatives to AWS Serverless Application Model (AWS SAM)?

The closest alternatives to AWS Serverless Application Model (AWS SAM) are Serverless Framework, Terraform and Pulumi. Each is a tool buyers genuinely weigh against it, with the reason why.

Capabilities

What can AWS Serverless Application Model (AWS SAM) do?

AWS Serverless Application Model (AWS SAM) lists 7 features, including SAM connectors for IAM permissions, terraform project debugging support and CI/CD pipeline support.

  • SAM template shorthand for CloudFormation

  • SAM CLI project scaffolding with sam init

  • Local testing of Lambda functions and API endpoints

  • sam sync for syncing local changes to the cloud

  • SAM connectors for IAM permissions

  • Terraform project debugging support

  • CI/CD pipeline support

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

What is AWS SAM?

AWS SAM is an open-source framework for building serverless applications with infrastructure as code. It consists of a template syntax that extends CloudFormation and a command-line tool.

Source
Which operating systems does the SAM CLI support?

AWS publishes installers for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and a 64-bit Windows MSI. macOS versions older than 13.x are not supported.

Source
What licence does AWS SAM use?

The serverless-application-model repository on GitHub is licensed under Apache-2.0.

Source
How does SAM differ from the AWS CDK?

The documentation says to use SAM instead of the CDK if you prefer a declarative approach to describing infrastructure rather than a programmatic one. The two can also be combined, using the SAM CLI's local testing with CDK applications.

Source
Share

Keep looking

Where to go from AWS Serverless Application Model (AWS SAM)

Best Developer Tools software for

Compare AWS Serverless Application Model (AWS SAM) with

Other Developer Tools software

  • Automate infrastructure on any cloud

    Free, then $0.1/resource-month13 researched notes
  • Infrastructure-as-code orchestration for Terraform, OpenTofu, Pulumi and Kubernetes

    Free, then $399/mo14 researched notes
  • Runs Terraform plan and apply from pull request comments, self-hosted and free

    Open source13 researched notes
  • Open source internal developer portal framework created and open sourced by Spotify

    Open source14 researched notes
  • AI-powered CLI for developers

    Free plan11 researched notes
  • Software delivery platform across CI, CD, security testing and cost management

    Free plan12 researched notes
  • Platform for building and deploying realtime multiplayer servers on the edge

    Free plan12 researched notes
  • Bundle your assets, scripts, images, and styles

    Free plan14 researched notes
  • Kubernetes development and testing automation with shared caching, now owned by Incredibuild

    Open source14 researched notes
  • Event gateway that receives, queues, retries and replays inbound webhooks

    Free, then $39/mo15 researched notes
  • The dev platform for the next 100 billion commits

    Free, then $100/mo13 researched notes
  • A free, open source Git client from GitHub for Windows and macOS that covers common workflows rather than all of Git.

    Free plan14 researched notes
  • Git GUI client and developer tool suite with a free Community plan and paid team plans

    Free plan14 researched notes
  • JetBrains IDE for developing applications in Go

    From $24/mo13 researched notes
  • Open source build automation tool for Java, Kotlin and Android projects

    Free plan13 researched notes
  • AI-powered memory layer that captures and organizes developer work

    Free, then $18.99/mo13 researched notes
  • JetBrains IDE for PHP web development

    From $24/mo9 researched notes

Softwr does not host reviews and shows no star rating for AWS Serverless Application Model (AWS SAM), because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on AWS Serverless Application Model (AWS SAM)

Best Developer Tools software alternatives

Cloud hosted development environments configured by dev container files

usage-based

TypeScript toolkit from Vercel for building AI applications and agents

open-source

Metalinter that runs and manages linters, formatters and security scanners

freemium

Free graphical Git client from Atlassian for Windows and macOS

free

Open source build automation tool for Java, Kotlin and Android projects

open-source

Git GUI client and developer tool suite with a free Community plan and paid team plans

freemium

Self-hosted, open source Git service with issues, CI/CD and package hosting

open-source

Minimal container base images from Google that hold only an app and its runtime

open-source

Compare AWS Serverless Application Model (AWS SAM) with alternatives