Can I select storage region or self-host Sanity storage?
1.
Where is the storage located? Can I select a specific region? Like East Europe? 2.
Can I install the storage on one of my servers?
Thank you
Sanity's Content Lake runs on Google Cloud Platform, with Belgium as the primary location. You can't choose a region yourself (for example Eastern Europe), and you can't run the Content Lake on your own servers. It's a hosted service. You can host Studio and your front end wherever you like.
1. Where is the data, and can I pick a region?
Data location is no longer described in the Terms of Service. It's documented on these pages:
- Security: The backend runs across three data centers in one EU region (Belgium). Database backups go to remote storage in several EU regions and can be restored to any point in the past 30 days. Files and assets are replicated across several EU regions. The same page says a "fully global backend with customer-controlled data placement" is planned, which means you can't choose the location yet. The page also says data being served may be cached for a short time in any country where Google Cloud has facilities.
- Third-party Subprocessors: Google Cloud Platform hosts "the Sanity Platform and all related data". The listed processing locations are Belgium (primary) and the United States. Other processors also handle some data:
- AWS runs Functions, in the United States and Germany.
- Generative AI providers run the Content Agent, in the United States.
- Other subprocessors are on that page too.
- API CDN: The cached API (
apicdn.sanity.io) has locations in Mumbai, Sydney, Saint-Ghislain (Belgium), São Paulo, and Oregon, Iowa and Northern Virginia (US). In front of it sits a short-lived global CDN with points of presence on every continent. The global CDN doesn't cache private datasets or POST queries. - The Security page also says Sanity-controlled data, such as the user database and email processing, may be held in the US by third-party processors. Customer API data is kept only in Google Cloud.
If you have a strict data-residency requirement (for example, data must stay in one country), check these pages against it. Then ask Sanity sales (see the Enterprise plan on the pricing page) what applies to your contract. The Data Processing Addendum covers GDPR, Standard Contractual Clauses and how subprocessor changes are announced.
2. Can I host the data myself?
No. The Content Lake backend is closed and hosted only by Sanity. GROQ, the Portable Text specification and Studio are open source or open standards, but the Content Lake isn't. It handles real-time data, multiplayer editing, a CDN for queries and assets, and processes that run when content changes (background).
What you can run on your own infrastructure:
Sanity Studio: Studio can be deployed to Sanity's hosting or to most web hosts (Hello Studio). To start a project:
npm create sanity@latestYour front end and any services that read from the Content Lake through its APIs, for example with
@sanity/client:import {createClient} from '@sanity/client' const client = createClient({ projectId: 'your-project-id', dataset: 'production', apiVersion: '2025-01-01', useCdn: true, // use false to skip the cache })
If running everything on your own servers is a hard requirement, Sanity's hosted Content Lake won't meet it.
Show original thread2 replies
Was this answer helpful?
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.