Serverless Blueprints
Reference architectures for common serverless patterns
Simple REST API
A serverless REST API with authentication and database
Architecture Diagram
Click on the diagram to see a larger version with legend
Simple REST API
A serverless REST API with authentication and database
What does this do?
This architecture creates a secure API that allows applications to store and retrieve data. It's like a digital service desk where requests come in, get processed securely, and return the information needed - all without managing any servers. It's commonly used for mobile app backends, web applications, and integrating different systems.
Components
API Gateway
Lambda
DynamoDB
Cognito
Serverless vs Traditional
| Feature | Serverless | Traditional Servers |
|---|---|---|
| Scaling | Automatic - grows and shrinks as needed | Manual - you decide how many servers to run |
| Cost | Pay only when used | Pay 24/7 even when idle |
| Maintenance | None - fully managed | Regular updates and patches needed |
| Startup Time | Brief delay on first use | Always running, no delay |