# Data residency

> Data residency is a requirement or commitment that data is stored, and often processed, within a particular country or region, such as the EU, usually to meet legal, contractual or customer expectations about where information is held.

Also called: data localisation, data sovereignty, regional data storage, in-region processing. Category: Data and retrieval. Source: https://aibuildindex.com/glossary/data-residency

Data residency is about geography: where data physically sits and where it is processed. A public body may require that citizens' records never leave the country; an enterprise customer may write EU storage into a contract; a sector regulator may expect data to remain in a given jurisdiction. AI builds make this question sharper, because a single request can pass through a hosting provider, a model provider, a vector database and a logging service, each of which may run in different regions.

## In practice

Residency is set component by component. Cloud platforms let builders choose the region for servers, databases and storage. The harder parts are third-party services: a model API, an embedding service, an automation platform, a transcription tool. Each has its own processing locations, and some send requests wherever capacity is available unless a regional option is chosen. Several major model providers and cloud platforms now offer regional processing or in-region deployments of their models, typically under business agreements.

It helps to separate three ideas:

- **Data residency:** where data is stored and processed.
- **Data sovereignty:** which country's laws apply to the data, which can depend on the provider's home country as well as on location.
- **Transfer rules:** the legal mechanisms, such as those under the [GDPR](https://aibuildindex.com/glossary/gdpr), that allow personal data to move between jurisdictions. The GDPR does not, by itself, require EU storage; it regulates transfers.

An example: a European healthcare provider requires all patient data to stay in the EU. The builder hosts the application and database in an EU region, uses a model deployment that processes requests in the EU, and checks that logging and error-tracking tools do the same.

## What it means for cost

Residency requirements narrow the choice of tools and can raise both build and running costs. Some services have no regional option, so the builder may need an alternative or a self-hosted component; regional model deployments may offer a smaller range of models or need extra setup. Every vendor in the chain has to be checked and documented.

Ask a builder for a list of every service the system uses, the region each one stores and processes data in, and which ones are covered by a contractual commitment. Raise residency at the start of a project; switching regions later can mean rebuilding infrastructure and migrating data. This entry is general information, not legal advice.

## Common questions

### Does the GDPR require data to be stored in the EU?

Not as a blanket rule. The GDPR allows personal data to leave the EU when an approved transfer mechanism is in place. Many organisations still choose or contractually require EU storage to simplify compliance or to meet customer expectations.

### Can AI models be used with strict data residency rules?

Often, yes. Options include regional deployments offered by major cloud and model providers, and self-hosted [open-weight models](https://aibuildindex.com/glossary/open-weight-model) running in a chosen region. The trade-off is usually a narrower choice of models and more setup work.

## Related terms

- [GDPR](https://aibuildindex.com/glossary/gdpr): The GDPR, or General Data Protection Regulation, is the European Union law that governs how organisations collect, use, store and share personal data about people in the EU, with a closely related UK version applying in the United Kingdom.
- [Personal data (PII)](https://aibuildindex.com/glossary/personal-data): Personal data is any information that relates to an identifiable living person, such as a name, email address, phone number, location or customer ID; in the US it is often called personally identifiable information, or PII, and its handling is governed by data protection law.
- [Data retention](https://aibuildindex.com/glossary/data-retention): Data retention is the set of rules deciding how long a system keeps each kind of data, such as chat logs, recordings, prompts and documents, and when it deletes or anonymises them, balancing legal duties, business needs and privacy.
- [Access control](https://aibuildindex.com/glossary/access-control): Access control is the set of rules and mechanisms that decide who or what can see, change or act on which data and functions in a system, so that users, staff and AI agents only reach what their role requires.
- [SOC 2](https://aibuildindex.com/glossary/soc-2): SOC 2 is an independent audit report, based on criteria set by the American Institute of CPAs, that describes how a service provider protects customer data and whether its security controls are designed and operating effectively.
- [Vendor lock-in](https://aibuildindex.com/glossary/vendor-lock-in): Vendor lock-in is a situation where switching away from a model provider, platform or builder would be so costly or disruptive that a business stays with them even when a better or cheaper option exists.
