Aurora data groups: one key per tenant, move a tenant in seconds
Two tenants share one cluster, each under its own key. One moves to another cluster; the other stays.
AWS Cloud
Region us-east-2 preview environment, Aurora PostgreSQL 19.0 Serverless v2
VPC
Shared cluster
Second cluster
Presenter
quickstart.py
KMS key B
grant tied to tenantb
KMS key A
grant tied to tenanta
Data group tenantb
stays
Data group tenanta
before the move
Data group tenanta
after the move, same key
1
2
3
4
1
2
3
4
LINES
RDS, KMS and VPC API calls
Key use, limited by a grant
Move the data group (metadata only)
FLOW
The script creates a VPC with two private subnets, two KMS keys and two clusters.
It creates one data group per tenant in the shared cluster, each with its own key.
It shows that the grant on each key is tied to one data group.
It moves tenanta to the second cluster, then deletes everything.