AWS Serverless Architecture

Lambda + API Gateway + DynamoDB

AWS Region: us-east-1 Clients Web/Mobile CloudFront CDN API Gateway REST API WebSocket HTTPS Lambda Functions Node.js/Python Auto-scaling DynamoDB NoSQL Database On-demand Single-digit ms S3 Object Storage Static Assets SQS Legend AWS Service Compute Database

Infrastructure

  • • CloudFront CDN distribution
  • • API Gateway REST endpoints
  • • S3 static asset hosting
  • • SQS message queues

Compute

  • • Lambda functions (Node.js)
  • • Auto-scaling to zero
  • • Pay-per-invocation
  • • 15 min max execution

Data

  • • DynamoDB tables
  • • On-demand capacity
  • • Global secondary indexes
  • • Point-in-time recovery