AWS
Serverless
starter
Serverless REST API — AWS Architecture Template
API Gateway invoking Lambda handlers backed by DynamoDB, with Cognito auth and a least-privilege execution role.
Why this architecture works
- No servers to patch or scale — Lambda concurrency tracks request volume automatically
- DynamoDB on-demand pairs with Lambda so the whole stack scales to zero cost when idle
- Cognito authorizer on API Gateway rejects unauthenticated requests before Lambda ever runs
- The execution role grants only the specific DynamoDB actions the handler needs
- Structured logs and Lambda metrics in CloudWatch make cold starts and throttles visible
What's inside (6 resources)
REST API
aws-api-gateway
User Auth
aws-cognito
API Handler
aws-lambda
Execution Role
aws-iam
Data Table
aws-dynamodb
Logs & Metrics
aws-cloudwatch
From template to running infrastructure
- Open this template in the CloudForge visual designer (free account, no credit card).
- Customize resources, names, and connections on the drag-and-drop canvas — or ask Vani, the AI architect, to adapt it.
- Generate production-ready Terraform or CloudFormation in one click.
- Review the plan diff and security scan, then deploy with human approval.