Multi-tenancy with Amazon ElastiCache: Choosing the right isolation model
Database Blog
This article explores multi-tenancy isolation models for Amazon ElastiCache for Valkey, helping SaaS architects choose the right approach based on tenant count, compliance requirements, and failure scope.
- Dedicated serverless caches provide full physical isolation with automatic scaling and lower operational overhead than provisioned clusters
- ACL/RBAC on shared clusters enforce server-side data access boundaries while sharing compute and memory resources
- Valkey 9.1 numbered databases with database-scoped ACLs offer cleaner namespace separation than key prefixes without per-tenant infrastructure
- Client-side encryption using AWS KMS hierarchical keyrings enables per-tenant encryption keys on shared clusters as a compensating control
- Most SaaS applications use tiered strategies, assigning tenants to different isolation models based on compliance posture and risk tolerance
- A tenant-aware data-access layer resolves each tenant to an endpoint and database index transparently across all tiers
The right isolation model balances scope of failure, trust boundaries, and compliance requirements rather than being determined solely by tenant count.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
May 16
2025
2025
Amazon DynamoDB data modeling for Multi-Tenancy – Part 1
May 16
2025
2025
Amazon DynamoDB data modeling for Multi-Tenancy – Part 2
Jun 23
2026
2026
Shared infrastructure, isolated tenants: Pool model multi-tenancy with Amazon Bedrock AgentCore
May 16
2025
2025
Amazon DynamoDB data modeling for Multi-tenancy – Part 3
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.