Serverless architecture
Build on managed functions and services where the provider runs and scales servers and you pay per use.
Serverless designs compose functions-as-a-service (such as AWS Lambda or Azure Functions) with managed backends (queues, databases, auth). They remove server management and scale to zero, which suits spiky or event-driven workloads. Trade-offs include cold starts, execution limits, vendor lock-in, harder local testing and costs that can exceed containers at steady high load.
- Type
- Architecture pattern
- Category
- Architecture
- License
- Free
- Pricing
- Free
- Level
- Intermediate
- Technologies
- architecture, cloud, aws, azure, google-cloud
- Last verified
- 26 Nov 2026
What Serverless architecture is used for
- Event-driven glue code
- Spiky or low-traffic APIs
- Scheduled jobs
Strengths
- No server management
- Scale to zero
- Pay per use
Limitations
- Cold starts
- Vendor lock-in
- Observability across many functions
Serverless architecture alternatives
How it relates to other tools
- Serverless architecture works with Amazon Web Services (AWS)
- Serverless architecture works with Event-driven architecture