Posted On: Jul 22, 2021

You can now create secure continuous integration and deployment (CI/CD) pipelines that follow your organization’s best practices with a new pipeline configuration capability for serverless applications. AWS Serverless Application Model Pipelines (AWS SAM Pipelines) is a new feature of AWS SAM CLI that gives you access to benefits of CI/CD in minutes, such as accelerating deployment frequency, shortening lead time for changes, and reducing deployment errors. AWS SAM Pipelines comes with a set of default pipeline templates for popular CI/CD systems such as CloudBees CI/Jenkins, GitLab CI/CD, GitHub Actions, and AWS CodeBuild/CodePipeline that follow AWS’ deployment best practices. The AWS SAM CLI is a developer tool that makes it easier to build, locally test, package, and deploy serverless applications.

Creating pipelines that can deploy software safely and follow an organization’s governance requirements is a complex and time-consuming task that must be performed for each new application. For example, pipelines have to distribute deployment artifacts across multiple accounts and regions, ensure that deployments cannot make unsafe infrastructure changes, prevent unauthorized sources from injecting code in the deployment process, and incorporate approval stages for production releases. To minimize the amount of time development teams spend creating pipelines, large organizations invest in tools that automate these tasks – a significant upfront investment that takes many iterations to refine.

AWS SAM Pipelines helps organizations create pipelines for their preferred CI/CD systems in minutes so that they can realize the benefits of CI/CD on day one of their projects. AWS SAM Pipelines comes with a set of default pipeline templates that encapsulate AWS’ deployment best practices, supports AWS CodeBuild/CodePipeline and third-party offerings, and uses standard JSON/YAML pipeline formats. The built-in best practices help perform multi-account and multi-region deployments and verify that pipelines cannot make unintended changes to infrastructure. Organizations can also supply their custom pipeline templates via Git repositories to standardize custom pipelines across hundreds of application development teams.

AWS SAM Pipelines is available immediately. To learn more about AWS SAM Pipelines, see the tutorial on the AWS Compute Blog and instructional videos for popular CI/CD systems on You can install the AWS SAM CLI by following the instructions in the documentation.