AWS (SAM) X AWS CloudFormation


What is the difference between AWS Serverless Application Model (SAM) and AWS CloudFormation?

1 Answer
Accepted Answer


AWS SAM is an extension of AWS CloudFormation.
Each resource in AWS SAM is defined in a format similar to previous resource definitions in AWS CloudFormation, and by passing a template written in this format to AWS CloudFormation, you can deploy it as a stack on AWS.
In particular, AWS SAM is specialized for deploying serverless applications.
For example, Lambda, API Gateway, etc. can be defined in a more concise and abbreviated form than the amount of code written in original CloudFormation.

profile picture
answered 7 months ago
profile pictureAWS
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions