Watch a live product demo ๐Ÿ‘€ See how Sanity powers richer commerce experiences

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.
May 25, 2022, 10:18 PM
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.
May 25, 2022, 10:21 PM
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.
May 25, 2022, 10:28 PM
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.
May 25, 2022, 10:51 PM
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
May 26, 2022, 1:50 AM
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
May 26, 2022, 1:51 AM
Hope that helps!
May 26, 2022, 1:51 AM
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
May 26, 2022, 2:29 AM
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. ๐Ÿ™‚
May 27, 2022, 8:34 AM
You can't self host the content lake, so it doesn't really solve that issue
May 27, 2022, 10:11 AM
Well, itโ€™s something. ๐Ÿ˜„
May 27, 2022, 12:16 PM
Ha for sure
May 27, 2022, 3:37 PM

Sanity.io โ€“ build remarkable experiences at scale

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

Categorized in

Related answers

Get more help in the community Slack

TopicCategoriesFeaturedRepliesLast Updated
After adding the subtitle and running this code npm run graphql-deploy It does nothingSep 15, 2020
how to limit a reference to just one entry in Studio reference input side versus the default as-many-entries-as-you-fill-in-an-array...Sep 18, 2020
Is it possible to fetch more than one "_type" using GROQ?Nov 2, 2020
I want to add a view with the Structure builder (S.view.component) where I list similar documents based on the title. What...Sep 23, 2020
Is there a structure builder example where the format of each preview for the document list is modified?Feb 3, 2021
I have an array of references to a country schema type but it always just returns NULL values for meJan 30, 2021
Hi, I need help with a query for getting the url of an image asset. Here is what I've been trying, but I only get the _ref...Dec 1, 2020
Sanity UI looks brilliant :smiley: Is something like the current date picker possible at the moment? Iโ€™m not sure if anicon...Dec 21, 2020
Hey everyone. I have been coding and may have potentially accidentally deleted something. Does anyone know how to resolve...Dec 26, 2020
Hello everyone and happy new year :raised_hands::skin-tone-2:, I have a problem with outputting Portable Text :disappointed:...Jan 1, 2021

Related contributions

Clean Next.js + Sanity app
- Template

Official(made by Sanity team)

A clean example of Next.js with embedded Sanity ready for recomposition.

Cody Olsen
Go to Clean Next.js + Sanity app

Blog with Built-in Content Editing
- Template

Official(made by Sanity team)

A Sanity-powered blog with built-in content editing and instant previews.

Go to Blog with Built-in Content Editing