All posts
Deploy AWS SAM
typescriptawssamtienle

Deploy AWS SAM

Quang Tran D.1 min read
On this page2 sections

AWS SAM là gì?

AWS SAM là framework chính thức của Amazon Web Services giúp build và deploy serverless application dễ dàng hơn.

SAM hỗ trợ:

  • AWS Lambda

  • API Gateway

  • DynamoDB

  • SQS

  • SNS

  • EventBridge

  • Step Functions

  • nhiều resource khác

SAM thực chất mở rộng từ CloudFormation nên:

  • Infrastructure có thể version control

  • Deploy repeatable

  • Dễ CI/CD

  • Dễ scale

Official docs:

AWS SAM Documentation

Kiến trúc cơ bản

Ví dụ flow đơn giản:

API Gateway
    ↓
AWS Lambda (TypeScript)
    ↓
DynamoDB