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 Architecture Diagram

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

FeatureServerlessTraditional Servers
ScalingAutomatic - grows and shrinks as neededManual - you decide how many servers to run
CostPay only when usedPay 24/7 even when idle
MaintenanceNone - fully managedRegular updates and patches needed
Startup TimeBrief delay on first useAlways running, no delay