Data residency & compliance

GDPR does not literally require EU storage — it requires an adequate level of protection, and EU storage is the simplest way to prove it. Here is where data lives by default, and the three levers that move it into the region you need: EU, USA or Asia.

Visitor
▼
Cloudflare edge global network · TLS in transit
▼
D1messages · knowledge base
R2files · EU (hint)
VectorizeRAG embeddings
KVsession state
AIWorkers AI / OpenAI / Anthropic

↑ these are the defaults — the three levers below move each one into your region

BYO S3files → your bucket, your region
BYOKAI → your provider, your region
Self-hostwhole stack → your infrastructure

Three levers to put data where you need it

Storage

BYO storage (S3)

Point FodyChat at your own S3-compatible bucket (AWS / MinIO / R2 / B2) in any region — eu-central-1, us-east-1, ap-southeast-1 — and files are written straight there, never to our bucket.

Model

BYOK (bring your own AI)

Route the model calls to a provider and region you choose — Azure/OpenAI in the EU or US, Anthropic, or your own OpenAI-compatible endpoint in your data centre.

Everything

Self-host

Run the whole stack — worker, database, storage, embeddings — on your own Cloudflare account or infrastructure, in your region, with your keys. Maximum control for regulated markets.

EU · USA · Asia

Region Files AI Full control
EU BYO S3 eu-central-1 BYOK (EU provider) Self-host in EU
USA BYO S3 us-east-1 BYOK (US provider) Self-host in US
Asia BYO S3 ap-southeast-1 BYOK (local provider) Self-host in-country
Default fits

EU

Works out of the box: R2 files are placed in the EU (location hint) and D1/Vectorize/KV are Cloudflare-managed. For strict data residency add BYO S3 (eu-central-1) + BYOK, or self-host in the EU.

Sectoral laws

USA

No single federal privacy law — California's CCPA/CPRA plus sectoral rules (HIPAA, GLBA). Keep files in the US with BYO S3 (us-east-1) and AI with a US provider (BYOK); EU→US transfers ride the EU-US Data Privacy Framework for certified providers.

Varies by country

Asia

Requirements differ: Singapore PDPA, Japan APPI, South Korea PIPA — and China's PIPL is the strictest (local storage + a cross-border security assessment). Self-host in-country, or BYO S3 in a local region with a local AI provider.

The honest legal nuance