Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Choosing Vercel serverless function region for Sanity data storage

9 replies
Last updated: May 12, 2022
With Vercel allowing ppl to pick their severless function region, https://vercel.com/changelog/hobby-customers-can-now-select-their-preferred-region-for-serverless . What region is Sanity data hosted in and where can I find that information?
May 12, 2022, 7:56 PM
Hey User,
I’m not sure if you are asking about CDN locations for delivering assets or our
API CDN locations , but there is a good chunk of info for them in our docks found here (including where they are located). I believe we store customer data in google cloud storage locations https://cloud.google.com/about/locations#europe , while some login data of course depends on what provider you use - if you use Google, that info is stored wherever Google is storing things. Your content, on the other hand, will be stored in CDNs around the world for ease of access
Does this help?
May 12, 2022, 8:24 PM
So it states
The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on
So basically it should be close to wherever the data for my posts is being stored
May 12, 2022, 11:26 PM
Gotcha, let me confirm internally that I am giving you the correct information!
May 12, 2022, 11:26 PM
No worries, I was just generally curious 🙂
May 12, 2022, 11:27 PM
As a follow up User, we do store the data you are asking about in google cloud storage location listed here specifically in EUWest1 https://cloud.google.com/about/locations#europe
May 12, 2022, 11:36 PM
Ah so nothing is in the US?
May 12, 2022, 11:38 PM
The CDNs are but not the original data
May 12, 2022, 11:38 PM
Well I have
_useCdn_: _process.env.NODE_ENV_ ===
'production',
in my
config.ts
so I should be ok setting my Vercel projects to use San Fransisco?
May 12, 2022, 11:56 PM
I’m not super familiar with their requirements but from a quick glance at their docs that should work, yes 👍
May 12, 2022, 11:57 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?