Examples / Deployment diagrams
Serverless API on AWS
Where a serverless web API runs on AWS: CloudFront and S3 for the site, API Gateway and Lambda for the API, DynamoDB for data and Cognito for sign-in.
- Deployment diagram
- AWS
- Lambda
- DynamoDB
Open in Plotix
A copy you can edit, or ask the agent to change.
Plotix's agent drew it from this request
Draw a deployment diagram of a serverless web app on AWS: CloudFront serving a static site from S3, API Gateway in front of Lambda functions, DynamoDB tables, Cognito user pool for sign-in, CloudWatch for logs. Group what runs in the AWS region.
What's in it
- CloudFront
- API Gateway
- Lambda functions
API request handlers · Read and write items - Cognito user pool
Sign-in and tokens - CloudWatch Logs
Function and API logs - End user
Web browser - S3 static site
Static HTML, JS, CSS - DynamoDB tables
Application data - AWS Region
How the parts connect
- API Gateway → Cognito user pool validate JWT
- API Gateway → Lambda functions invoke handler
- Lambda functions → CloudWatch Logs function logs
- API Gateway → CloudWatch Logs access logs
- End user → CloudFront HTTPS page request
- CloudFront → S3 static site fetch static files
- End user → Cognito user pool sign in
- End user → API Gateway HTTPS API call with token
- Lambda functions → DynamoDB tables read and write items
More on deployment diagrams.
Related examples
Web app on KubernetesDeployment · A typical web app deployed on Kubernetes: ingress, web and worker deployments, a managed…
OAuth login with PKCESequence · How a single-page app signs a user in with OAuth 2.0 authorization code and PKCE, from th…
Stripe checkout and webhookFlow · The steps from a cart to a paid order with Stripe Checkout, including the webhook that co…