Problem
Laws such as GDPR and national localization rules restrict where personal data may live or be processed. A single global database replicates everything everywhere and makes compliance impossible to prove.
Also known as: data-sovereignty, regional-cells, geo-fencing
Keep regulated data stored and processed within a required jurisdiction while still offering a unified product.
Laws such as GDPR and national localization rules restrict where personal data may live or be processed. A single global database replicates everything everywhere and makes compliance impossible to prove.
Data residency means personal or regulated data stays in a defined geography for storage and often for processing. It is designed as an architectural boundary rather than a configuration flag.
Start by classifying data and mapping every system that touches regulated fields. Many teams begin with a single new regional cell for the first regulated customer, then generalize the router and deployment tooling. Automate region checks in infrastructure code so new resources cannot be created in the wrong place.
User -> global edge -> router (tenant -> region lookup)
|-> eu-cell: API, DB, S3, KMS key eu
|-> us-cell: API, DB, S3, KMS key us
control plane (global): tenant id, region, plan # no PII
policy: deny replication/CopyObject outside tenant region
The router resolves a tenant to its cell by a non-sensitive identifier, and requests never cross cell boundaries except through explicit, audited export jobs.
High — per-region stacks
High — multiple deployments
High
Logs, backups or caches replicate PII to another region
Control plane stores personal data and breaks the guarantee
Support tooling pulls data across borders