Multi-tenant SaaS on AWS serverless: pooled and silo tiers
A serverless multi-tenant SaaS design on AWS: a pooled tier on shared API Gateway, Lambda and DynamoDB, a silo tier for premium tenants, onboarding services, and how to keep tenants apart.
Opens a copy in the editor, in a new tab, ready to change. No account needed.
What’s in this diagram
services and parts
- Tenant users
- New tenant (sign-up app)
- Shared services API
- Registration service
- Tenant management
- User management
- Provisioning service
- Tenant details and stack mapping
- Shared user pool (a group per tenant)
- Lambda authorizer
- Order and product API
- Order and product functions
- Shared tables, tenant ID in the key
- Tenant's own user pool
- Tenant's own API
- Tenant's own functions
- Tenant's own tables
- Tenant deployment pipeline
- Logs and metrics
groups
- AWS Cloud
- Region
- Shared services (onboarding)
- Pooled tier: Basic, Standard, Premium
- Silo tier: one stack per Platinum tenant
Key points
- Map pricing tiers to deployment models: cheaper tiers share a pool, the top tier gets a silo.
- Onboarding is a product feature. Registration, user management, tenant management and provisioning are services in their own right.
- In the pool, the tenant ID in the data key is the isolation boundary, so enforce it with IAM, not only in code.
- API keys and usage plans shape traffic per tier; they are not a security control.
The whole story, step by step: AWS multi-tenant SaaS architecture: pooled and silo tiers.


