Reassuring clients about Sanity cloud hosting reliability and self-hosting options
I wanted to get some feedback off the back of today's events with Fastly CDN going down (
https://www.bbc.co.uk/news/technology-57399628 ) and causing disruptions across the globe.
I have a client I am trying to convince to head down the route of using Sanity... however they are already not too keen on cloud hosting. I like cloud hosting personally and can boast the benefits all day.
I guess what I'm getting at is how:
a) I will reassure them that cloud hosting is much safer and has less down time
b) is there scope to host your own data with Sanity if they are bullish on the issue
Feedback welcome
Regards
User
You can't self-host Sanity's Content Lake, where your content lives. It runs only as a service operated by Sanity. You can host Sanity Studio, the editing app, yourself, and you can export all your content and assets whenever you like. So the client never loses control of their data. They're paying Sanity to run the infrastructure for them.
a) The reliability case
These are the documented points from Sanity's security page and SLA:
- Infrastructure: Sanity runs on Google Cloud Platform. Its systems are fully redundant across multiple data centers and are designed to survive losing a whole data center without significant disruption. Anycast sends traffic to the nearest available data center and routes around outages. Routine maintenance doesn't affect availability.
- Backups and recovery: Databases are backed up continuously to remote storage and can be restored to any point in the past 30 days, down to the individual transaction. Daily copies of all backups go to a separate cloud account in a different region. If a whole region fails, Sanity states it can recover in another region within 12–24 hours with no data loss.
- Uptime commitment: The Enterprise SLA commits to 99.9% monthly availability on Enterprise E1 and 99.95% on E2, with service credits if Sanity misses it. The Enterprise plan includes dedicated support and the uptime SLA.
- Compliance: SOC 2 Type 2 certified and GDPR compliant.
- Transparency: Live incident reporting at status.sanity.io, with email notifications.
The argument against on-premise: a self-hosted setup needs its own redundancy, off-site backups, patching, monitoring and an on-call team just to get close to this. Sanity's own take is that "self-hosting is only free if your time is worth nothing".
On data location: the security page says uploaded content is stored in the EU/EEA, the US, or other regions where Sanity operates, depending on the customer. It also notes that data may be cached in other countries while being served. If the client has residency requirements, confirm the details with Sanity sales.
b) Self-hosting options
The Content Lake can't be self-hosted. Sanity keeps the back end closed because it does more than store data: real-time sync, multiplayer editing, a CDN for queries and assets, and processes that react to changes. GROQ, Portable Text and the Studio are open source (source).
What the client can control:
Export everything, whenever they want. This gives them a full local copy for archiving, auditing or moving to another system (docs):
npx sanity@latest datasets export production production.tar.gzThe archive contains
data.ndjson(every document, one JSON object per line),assets.json, and the image and file binaries. To schedule exports from your own tooling, use the@sanity/exportpackage:import {createClient} from '@sanity/client' import {exportDataset} from '@sanity/export' const client = createClient({ projectId: 'YOUR_PROJECT_ID', dataset: 'production', apiVersion: '2026-09-09', token: process.env.SANITY_API_TOKEN, useCdn: false, }) await exportDataset({client, dataset: 'production', outputPath: './production.tar.gz'})Exports count against your API quota. Enterprise plans also include scheduled backups run by Sanity.
Host the Studio on their own infrastructure (docs). Build it into static files, serve them from any host that supports single-page-app routing, add that domain to the project's CORS origins, then register the Studio:
npx sanity@latest build # upload dist/ to your server, then: npx sanity@latest deploy --external --url https://example.com/studioRegistering is what lets Dashboard, Media Library, Canvas and Agent Actions find the self-hosted Studio. The Studio still reads and writes content in Sanity's Content Lake.
If the client has a strict requirement to keep the content database on their own servers, Sanity won't meet it, and they'd need a platform they can self-host. Usually, though, the real concerns are uptime, data ownership and where data is stored. The SLA, the backup and recovery setup, and full exports on demand cover those.
Show original thread8 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.