Most coverage of data residency stops at “production storage is in the right region.” That’s the easy part. The hard part is everywhere else — backups, observability data, CI/CD artifacts, managed-service telemetry, cross-border replication, sub-contractor processing — and it’s where regulator audits increasingly land.
What “data residency” actually means
Data residency is the requirement that specified data — usually personal data, financial data, or sectoral-regulated data — be stored and processed within a defined jurisdiction. It is one component of the broader concept of data sovereignty, which also covers control of encryption keys, supplier transparency, and audit-readiness.
Residency requirements come from several places:
- GDPR — for personal data of EU data subjects, with cross-border transfer rules under Articles 44-50.
- DORA — for financial-services ICT arrangements, with implications for backup, replication, and observability data.
- NIS2 — for essential and important entities, with sectoral data-handling overlays.
- Sectoral rules — banking secrecy, insurance regulation, healthcare data laws (e.g., German Sozialgesetzbuch, French CNIL guidance, Italian Codice della privacy supplements).
- National data-localization laws — India’s DPDP Act, China’s PIPL, Russia’s 152-FZ, Brazil’s LGPD, several EU member-state-specific overlays.
- Procurement-mandated sovereignty — France’s SecNumCloud-required services, Germany’s BSI C5, Kazakhstan’s procurement-portal sovereignty clauses, several APAC public-sector mandates.
These don’t always agree. An organization operating in 5 jurisdictions can face residency requirements that conflict on the same data class. The architectural answer is per-jurisdiction, with explicit handling for cross-border flows.
Why most cloud setups fail residency on inspection
In our work running platform readiness assessments for organizations under residency pressure, four failure modes recur:
Failure 1 — production is right, observability is wrong
The production database is hosted in the EU region the regulator specified. The application running on top of it sends logs and metrics to a SaaS observability vendor — Datadog, New Relic, Splunk Cloud, etc. — whose data-processing region is, by default, US-based. Application logs containing personal data, financial transaction details, or regulated content move to a non-compliant jurisdiction every minute the application runs.
This is the single most common residency failure. Compliance teams catch the production storage but miss the telemetry plane. Regulator audits, increasingly, do not.
Failure 2 — backups don’t match production residency
Backup storage tier is configured for the production region. The backup retention policy includes secondary copies for DR. The secondary copies, by default, replicate cross-region — often to a US region for cost reasons. Backups containing the same regulated data classes as production now live in two jurisdictions.
Failure 3 — CI/CD pipeline processes regulated data
Test environments often contain anonymized or sampled production data. The CI/CD pipeline that creates them runs in whatever region the build infrastructure was deployed into — frequently a different region than production. Anonymization that’s good enough for internal use may not satisfy residency rules at the regulator level.
Failure 4 — sub-contractor chain is invisible
The hyperscaler is in the contract and named on the data-residency attestation. The hyperscaler’s data-centre operator, network connectivity providers, and shared platform services are not. Article 30(2)(a) of DORA, equivalent NIS2 provisions, and several sectoral rules require this transparency to the second hop. Most organizations cannot answer it.
A control-level checklist
For each in-scope data class, residency must be explicit at every layer. Use this checklist as the working architecture audit.
Production storage and processing
- Production storage region is defined per data class and matches regulator requirements.
- Compute that processes the data runs in the same region (or in a region permitted by cross-border transfer rules).
- Managed services (databases, queues, caches, search) are configured to the same region.
- Region configuration is enforced via IaC, not just runtime defaults — drift detection in place.
Backup and disaster recovery
- Backup storage tier is in a permitted region.
- Cross-region backup replication is documented and either disabled or restricted to permitted regions.
- DR site is in a permitted region.
- Backup retention policies don’t generate copies to non-permitted regions.
- Backup access is audited.
Observability, logging, monitoring
- Log destination region is in scope.
- Metrics and traces destination region is in scope.
- SaaS observability vendor data-processing regions are documented and confirmed.
- If using a SaaS vendor, data-processing-agreement covers residency in the contract, not just the marketing page.
- Sampled / anonymized production data in observability tools is documented.
CI/CD and development environments
- Build and test infrastructure runs in a permitted region.
- Test data with regulated content is anonymized to a documented standard, with the anonymization process auditable.
- Dev / staging environments do not contain unmasked production data.
- Source-code-management region is documented (especially for sectoral rules that include source code).
Cross-border flows
- All cross-border data flows are inventoried, with the legal basis (e.g., GDPR Standard Contractual Clauses, BCRs) per flow.
- Cross-border flows are minimized — happens only when justified by a documented business need.
- Cross-border flow audit is auditable through telemetry.
Encryption and key custody
- Encryption at-rest is in place for all data classes, with documented key-management strategy.
- Encryption keys are held by the customer, not by the cloud provider, where regulators require this.
- Key rotation, emergency access, and audit are documented.
- Encryption-in-transit covers all data flows, including internal cluster traffic.
Supplier-chain transparency
- All ICT third-party providers are inventoried and classified by criticality.
- Sub-contractor chain is mapped to the second hop for critical-function arrangements.
- Concentration-risk position is documented and reviewed.
- Supplier-chain residency is checked when adding new vendors.
Audit and supervisory access
- Audit logs are tamper-evident and exportable.
- Retention period meets the longest applicable regulatory requirement.
- Supervisor access process is documented and tested.
- Cross-border supervisor cooperation processes are documented where applicable.
A structured assessment goes deeper on each line. The list above captures the architectural surface area that an infrastructure lead will be asked about during regulator audits.
Common architectural patterns that work
A handful of architectural patterns satisfy residency requirements consistently across regulators.
Region-aligned virtualization with controlled replication
Production VMs run on infrastructure pinned to the regulator-required region. Replication is configured at the storage layer (LINSTOR, Ceph, vendor SAN) within the region or to a designated DR site in a permitted region. KubeVirt provides a Kubernetes-native abstraction that’s easier to audit than legacy hypervisor sprawl.
Self-hosted observability stack
Replace SaaS observability vendors with a self-hosted stack — VictoriaMetrics for metrics, VictoriaLogs for logs, on the same infrastructure as production workloads. Eliminates the most common residency leak. We default to this in regulated-customer engagements.
Customer-controlled key management
Encryption keys held in customer-operated HSM (or sovereign-cloud HSM with documented controls), with rotation and audit-trail enforced by the platform — not by the cloud provider. Key escrow for emergency access is documented and tested.
Multi-region tenancy with explicit cross-border controls
For multinational enterprises, per-tenant region pinning. Cozystack’s Tenant CRD model supports nested tenants with per-region scoping, allowing single-platform multi-region operation under unified policy enforcement.
Air-gapped or restricted-egress architecture
For the most sensitive workloads — public-sector classified, healthcare, defence-adjacent — the platform itself runs without internet egress, with software updates delivered through controlled channels. KubeVirt + Cozystack supports air-gapped deployments out of the box.
What residency does not solve
A few honest limits worth naming:
- Residency does not solve sovereignty fully. Even with all data in the right region, encryption keys held by a non-sovereign provider, supplier-chain dependencies in a non-sovereign jurisdiction, or audit-process gaps can still fail the broader sovereignty test.
- Residency does not solve performance for distributed customers. A single-region architecture serving customers across continents will have latency issues. Multi-region architecture with explicit cross-border controls is the answer; “everything in one region” is not.
- Residency does not eliminate cross-border legal risk. US-headquartered cloud providers operating EU regions remain subject to US-government data requests under CLOUD Act and similar regimes. Some regulators consider this a residual risk that requires sovereign-cloud arrangements rather than hyperscaler regions.
Country-specific notes
The residency landscape differs by jurisdiction. A few headline patterns:
EU and EEA
GDPR + DORA + NIS2 + sectoral rules. Member-state-specific overlays (German BSI C5, French SecNumCloud, Italian sectoral). The EU Cloud Certification Scheme (EUCS) is in finalization. Practical default: data and processing within EU/EEA, customer-controlled encryption, supplier-chain to second hop, with explicit cross-border-transfer documentation under SCCs or BCRs.
UK
UK GDPR + sectoral rules (FCA, PRA for financial services). Adequacy decision with EU as of writing. Some divergence from EU under future UK Data Protection regimes.
United States
Sectoral, not general. HIPAA for health, GLBA for financial, FedRAMP for federal. State-level laws (California CCPA, Virginia VCDPA, etc.) increasingly impose data-handling rules. No single national data-residency mandate.
Kazakhstan and Central Asia
Procurement-mandated sovereignty for public-sector and quasi-public organizations. Active sovereign-cloud initiatives include QazCloud, Clever Cloud, and regional telco sovereign cloud product launches. Practical procurement portal channels: goszakup.gov.kz, mitwork.kz, zakup.sk.kz.
India
DPDP Act 2023 introduces explicit data-localization for sensitive data classes, with implementing rules being finalized.
China, Russia
Strong national data-localization regimes with explicit residency mandates and limited cross-border exceptions. Operating in these markets requires architecture-level segmentation.
Brazil
LGPD with cross-border transfer rules; localization is selective rather than universal.
For a multinational organization, the residency landscape is not a single rule — it’s a matrix of jurisdictions with overlapping and sometimes contradictory requirements. The architecture answer is per-jurisdiction tenant boundaries with explicit cross-border controls, not a global policy.
How to assess where you actually stand
Most organizations have a residency policy. Few can demonstrate it under audit-grade scrutiny. The structured next step is a focused assessment of the running architecture — not the policy.
A residency-emphasized engagement covers:
- Data-class inventory and residency mapping — every regulated data class to its actual residency at every layer.
- Layer-by-layer audit — production, backup, observability, CI/CD, encryption, supplier-chain.
- Cross-border flow inventory — what crosses borders, why, under what legal basis.
- Gap analysis — where current architecture fails residency, prioritized.
- Remediation plan — what to fix, in what order, with effort estimates.
Ænix runs this as part of the Platform Readiness Assessment, with the sovereignty-and-regulator-gap workstream emphasized for residency scope. The output is a written report that names, per data class and per layer, what’s compliant, what’s not, and what an architecture-level remediation looks like.
Want to dig deeper?
- Data sovereignty services page — engagement details
- DORA compliance for cloud infrastructure — regulatory-adjacent trigger
- Cloud repatriation — when sovereignty + cost align
- Cozystack — sovereign-by-architecture platform we typically recommend
Test yourself: data residency in 2026
5 questions · ~2 min