Are there any Advantages to Self-Hosting Sanity Studio Versus using a Hosted Service like Vercel or Netlify?

11 replies
Last updated: May 27, 2022
Are there any advantages to hosting Sanity Studio on my own versus using a hosted service like Vercel or Netlify. I went over this page but couldn't find any advantages.
When you say "on your own" you mean deploying at Sanity? Or on your own separate hosting that isn't one of the majors?
I don't know the meaningful particulars but I hosted mine at Sanity because I suspected I'd somehow be running up extra costs at Vercel and the overage chargers there scare me. That coupled with the fact that the Sanity-hosted one is still super customizable (installing packages, fonts, etc.) without a penalty just felt super slick. It's nice enough that they'd host it essentially for free but it wasn't "crippled" it any way to make it easier for them to tend to everyone generally with a more limited, controllable set of features.

That's just my personal take.
I appreciate your take. To answer your question, it's my understanding that Studio can be deployed in a number of ways, not just on a hosted platform (Vercel, Netlify, or Sanity for that matter) but on a web server running Apache or NGINX, for example. It seems to me that hosting Studio on a hosted platform is a lot more popular and recommended based on the documentation and ease of use.
Ah, I didn't even know that! Interesting spot. I'd be interested to know if you manage to pull it off if you go down that path.
user G
I'm personally deploying via Vercel and I will say the advantage is that it's dead simple to get it up and running on a url and then deployments are triggered via git pushes. Your operations can't get simpler than that
If you want to use Apache/nginx that's a completely reasonable path, it's just going to be more work and the operations will require scripting or will be more manual
Hope that helps!
Ah I wasn't thinking of it in reverse like that.
I know it's their USP and everything but it really is arcade game simple. Especially having little branch deployments off to the side at separate addresses, quick build times (in my experience) and just enough information to diagnose and handle minor shenanigans...

I would say now that I've had a taste of a seamless dev/staging/prod setup totally unimpeded it would be hard to go somewhere where that wasn't the consistent experience (or as much)

I don't like anything getting in the way of my moves once I have committed to making them
The main reason why Sanity can be self-hosted is because it may be a requirement for some companies and business to own the IP. 🙂
You can't self host the content lake, so it doesn't really solve that issue
Well, it’s something. 😄
Ha for sure

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.

Was this answer helpful?