AWS

Serverless Architectures

Cập nhật 23/06/2026

  • #aws
  • #lambda

Serverless Architectures

Maarek SAA-C03 Slides v45 — Chapter 18. Personal study extract.

Key content

  • Serverless Architectures
  • Mobile application: MyTodoList
  • Mobile app: REST API layer
  • Amazon API Gateway
  • Amazon Cognito
  • AWS Lambda Amazon DynamoDB
  • Mobile
  • client
  • REST HTTPS invoke query
  • authenticate
  • Verify authentication
  • Mobile app: giving users access to S3
  • Amazon API Gateway
  • Amazon Cognito
  • AWS Lambda Amazon DynamoDB
  • Amazon S3
  • Mobile
  • client
  • Store/retrieve files
  • Permissions
  • authenticate
  • Mobile app: high read throughput, static data
  • Amazon API Gateway
  • Amazon Cognito
  • AWS Lambda DynamoDB
  • Amazon S3
  • Mobile
  • client
  • Store/retrieve files
  • Permissions
  • REST HTTPS invoke Query / read
  • authenticate
  • Verify authentication
  • DAX
  • Caching layer
  • Mobile app: caching at the API Gateway
  • Amazon API Gateway
  • Amazon Cognito
  • AWS Lambda DynamoDB
  • Amazon S3
  • Mobile
  • client
  • Store/retrieve files
  • Permissions
  • REST HTTPS invoke Query / read
  • authenticate
  • Verify authentication
  • DAX
  • Caching layer
  • CACHING OF RESPONSES
  • In this lecture
  • with restricted policy. App users can directly access AWS resources this
  • way. Pattern can be applied to DynamoDB, Lambda…
  • Serverless hosted website: MyBlog.com
  • Serving static content, globally
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • Serving static content, globally, securely
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • OAC: Origin Access Control Bucket policy
  • Only authorize from
  • CloudFront Distribution
  • Adding a public serverless REST API
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • OAC: Origin Access Control Bucket policy
  • Only authorize from
  • CloudFront Distribution
  • Amazon API Gateway AWS Lambda DynamoDB
  • REST HTTPS invoke Query / read
  • DAX
  • Caching layer
  • Leveraging DynamoDB Global Tables
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • OAC: Origin Access Control Bucket policy
  • Only authorize from
  • CloudFront Distribution
  • Amazon API Gateway AWS Lambda DynamoDB
  • Global Tables
  • REST HTTPS invoke Query / read
  • DAX
  • Caching layer
  • User Welcome email flow
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • OAC: Origin Access Control Bucket policy
  • Only authorize from
  • CloudFront Distribution
  • Amazon API Gateway AWS Lambda DynamoDB
  • REST HTTPS invoke Query / read
  • DAX
  • Caching layer
  • DynamoDB
  • Stream
  • Stream changes
  • AWS Lambda
  • Invoke lambda
  • Amazon Simple
  • Email Service (SES)
  • SDK to send email
  • IAM Role
  • Thumbnail Generation flow
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • Client
  • Interaction with
  • edge locations
  • OAC: Origin Access Control Bucket policy
  • Only authorize from
  • CloudFront Distribution
  • Amazon API Gateway AWS Lambda DynamoDB
  • REST HTTPS invoke Query / read
  • DAX
  • Caching layer
  • Amazon CloudFront
  • Global distribution
  • Amazon S3
  • OAC
  • Upload photos
  • Transfer acceleration trigger
  • Amazon S3
  • thumbnail
  • AWS Lambda
  • SQS
  • SNS
  • optional
  • AWS Hosted Website Summary

…90 more lines in source.

Study checklist