0PricingLogin
Serverless Backend with AWS Lambda & API Gateway · Lesson

Introduction to AWS SAM

Discover the benefits of AWS SAM for defining serverless resources and simplifying deployments compared to raw CloudFormation.

Welcome to AWS SAM!

Hello! Today we'll explore AWS SAM, the Serverless Application Model. It's an open-source framework designed to help you build serverless applications on AWS more efficiently.

Think of SAM as a powerful extension to AWS CloudFormation, specifically tailored for serverless resources.

CloudFormation's Verbosity

AWS CloudFormation is a robust service for defining infrastructure as code. However, building serverless applications directly with CloudFormation can be quite verbose.

  • A simple AWS Lambda function often requires defining the Lambda resource itself, an IAM role with permissions, and possibly an API Gateway endpoint.
  • This can lead to many lines of configuration for even basic setups.

All lessons in this course

  1. Introduction to AWS SAM
  2. Defining Serverless Resources
  3. Deploying SAM Applications
  4. Local Testing and Debugging with SAM CLI
← Back to Serverless Backend with AWS Lambda & API Gateway