All articles
/
Engineering

Data Residency vs Data Sovereignty vs Data Localisation

Data residency, data localisation, and data sovereignty compared for analytics stacks

Data residency is where data is physically stored. Data localisation is a legal requirement that data remain within a country's borders. Data sovereignty is which jurisdiction's laws govern the data and who can compel access to it. Residency is a choice, localisation is a mandate, and sovereignty is the consequence of both plus the operator's own jurisdiction.

Confusing them is expensive. An organisation can satisfy residency, satisfy localisation, and still fail sovereignty — which is the position a great many European analytics stacks are in right now.

The three terms compared

Data residencyData localisationData sovereignty
DefinitionThe physical or geographic location where data is storedA legal requirement that data stay within a specified territoryThe legal jurisdiction that governs the data and can compel access
TypeAn architectural choiceA statutory mandateA legal consequence
Determined byWhere you put the serversThe applicable lawStorage location + operator jurisdiction + data subject jurisdiction
How it's satisfiedSelect a regionStore only in-countryStore and operate under a single jurisdiction
EvidenceProvider region configurationStorage records, no cross-border replicationCorporate structure of every operator in the chain
Common failureBackups or CDN land elsewhereTreating region selection as complianceAssuming residency implies sovereignty

The one-line distinction: residency tells you where the data sleeps, localisation tells you it may not travel, sovereignty tells you who can wake it up.

Why residency does not deliver sovereignty

Because jurisdiction attaches to the operator as well as to the hardware.

The US CLOUD Act permits US authorities to compel US-based providers to produce data in their possession, custody, or control, regardless of where it is stored. A US hyperscaler's Frankfurt region satisfies EU residency and remains within reach of US legal process.

The same logic runs in other directions. Any provider is subject to the legal orders of the country in which it is incorporated, and to those of countries where it has significant operations. Sovereignty analysis therefore has to trace the corporate structure of every operator in the chain, not just the map pin.

Where this specifically bites analytics stacks

This is the part generic explainers omit, and it is where most of the real exposure sits.

Behavioural data is personal data by default. Event streams describe what identifiable individuals did. They fall under GDPR, DPDP, CCPA and sectoral rules from the moment of collection — unlike much of the aggregated data sitting in a warehouse, which teams instinctively treat as the regulated asset.

The destination list is longer than the diagram. Behavioural data typically reaches the analytics platform, the warehouse, backups, error and crash reporting, session recording, support tooling, and marketing or ad platforms. Each is a separate residency and sovereignty question. Organisations routinely establish residency for the analytics platform and overlook five other destinations receiving the same events.

Sub-processors move. An analytics vendor's own sub-processor list changes on notice. A stack that was compliant at procurement can drift without anything in your architecture changing.

Support access is a transfer. A vendor support engineer in another jurisdiction viewing your data in a debugging session is a transfer, whatever the storage region says. Ask specifically about support-tier access geography — it is rarely in the residency documentation.

Which do you actually need?

Your situationRequirementWhat satisfies it
GDPR applies, standard processingResidency helps; transfer safeguards requiredEU region plus a valid transfer mechanism
National law mandates in-country storageLocalisationIn-country storage, no cross-border replication or backup
DORA, or regulator concerned with third-party ICT riskSovereignty plus exit strategyOperator under domestic jurisdiction, documented and tested exit
Air-gapped or classified environmentAbsolute sovereigntyOn-premises, no external operator
Enterprise customer contract imposes itRead the contract wordingFrequently sovereignty, described as residency

That last row is worth pausing on. Procurement documents routinely say "data residency" when the underlying requirement — no foreign government access — is sovereignty. Establish which one the clause actually means before designing to it.

Frequently asked questions

What is the difference between data residency and data sovereignty? Residency is the physical location where data is stored. Sovereignty is which jurisdiction's law governs it and who can legally compel access, determined by storage location, the operator's jurisdiction, and the data subject's jurisdiction together.

Is data localisation the same as data residency? No. Residency is a choice about where you store data. Localisation is a legal mandate that data must not leave a territory. You can have residency without a localisation requirement; where localisation applies, residency in that territory is compulsory.

Does choosing an EU cloud region make you GDPR compliant? No. It addresses Chapter V transfer restrictions but not lawful basis, minimisation, retention, or subject rights — and it does not remove exposure where the provider is subject to a foreign legal regime.

Can you have data sovereignty in a public cloud? Yes, with a provider incorporated and operated in the relevant jurisdiction. With a foreign-headquartered provider it depends on the specific legal and operational structure of its sovereign offering, which varies considerably and is actively contested.

Which regulations mandate data localisation? Requirements vary by country and sector, and are most common in finance, health, telecommunications and the public sector. Several jurisdictions impose them for specific data categories rather than universally. Check the sectoral rule that applies to you rather than the general data protection law.

Do backups need to meet the same residency requirements? Yes, and this is one of the most common gaps. Backups, disaster-recovery replicas, and archive tiers frequently sit in different regions from primary storage. Verify each independently.

Countly is a first-party product analytics and customer engagement platform that runs self-hosted, on-premises, or in a private cloud.

Countly now supports HarmonyOS
Countly Now Supports HarmonyOS
Abstract illustration of stacked, rounded data layers connected in a network grid, with a central highlighted stack in purple and surrounding stacks outlined in green, representing user cohorts and segmented data groups within an analytics system.
Cohorts Explained: How Dynamic User Groups Level-up Your Analytics Strategy
Countly Newsletter
Join 10,000+ of your peers and receive top-notch data-related content right in your inbox.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Posts that our readers love

A whole new way
to grow your product
is here.
Countly Flex

Try Countly Flex today

Privacy-conscious, budget-friendly, and private SaaS. Your journey towards a product-dream come true begins here.