Supabase VPS hosting: deploy a self-hosted backend in minutes
Run a self-hosted Supabase VPS that stays online around the clock. One quick-start script installs the full Postgres backend — database, auth, storage, and auto-generated APIs — in about seven minutes.
What can you do with a self-hosted Supabase VPS
Supabase is an open source Firebase alternative built on Postgres — a complete backend solution in one stack. On your own VPS, a single install brings up eleven containers — database, APIs, auth, storage, realtime, and edge functions — with official client-library integrations and no pause after a week of inactivity.
A full Postgres 17 database, yours to own
Instant REST and GraphQL APIs
Authentication and storage out of the box
Realtime subscriptions
Edge functions and an AI-ready vector toolkit
Studio dashboard with a built-in advisor
Choose a plan and buy Supabase VPS
Supabase's own stated minimum is 4 GB RAM and 2 CPU, so the best VPS for Supabase starts at the Medium plan. Start with Medium ($21.24/mo — 3 CPU, 4 GB RAM, 40 GB SSD) for development and light production; step up to Premium ($33.99/mo — 8 GB RAM) for heavier production or once Logs & Analytics is enabled. Every plan’s pricing includes a dedicated IPv4 address, free weekly VPS backups, KVM virtualization, and full root/SSH access. You can scale RAM and drive later.
- 40 CountriesFrom$21.24 / 1 month$20.18 with is*smart
- Xeon 3x2.20 GHz CPU
- 4 Gb RAM
- 40GB SSD Drive
- Unmetered Bandwidth
- 40 CountriesFrom$33.99 / 1 month$32.29 with is*smart
- Xeon 4x2.20 GHz CPU
- 8 Gb RAM
- 50GB SSD Drive
- Unmetered Bandwidth
- 40 CountriesFrom$50.99 / 1 month$48.44 with is*smart
- Xeon 6x2.20 GHz CPU
- 16 Gb RAM
- 80GB SSD Drive
- Unmetered Bandwidth
Boost Your VPS Server Resources
Check out how you can change the configuration of your VPS. You can purchase additional drive space, increase CPU performance, add RAM, and take advantage of additional services without having to switch to a new plan.
How to deploy Supabase on a VPS
Supabase ships a single quick-start script that installs Docker, pulls the Docker Compose stack, and generates every secret it needs. Here is how to install Supabase on a VPS from a bare CentOS 9 box.
Step 01 — Order a VPS and connect over SSH
Choose CentOS Stream 9 x64 at checkout — Supabase's installer supports RHEL/CentOS natively. After payment you get an IP and root password by email. Connect over SSH.
ssh root@YOUR_VPS_IPStep 02 — Run the quick-start installer
As root, run Supabase's setup script. It detects CentOS, adds Docker's official repo, and installs Docker and the Compose plugin.
curl -fsSL https://supabase.link/setup.sh | shStep 03 — Set the URLs and let it build
The script asks for four values. Enter the server's public IP for the public URL and accept the defaults for the rest. It then writes fresh secrets to .env and pulls all eleven service images — the slow part of the install.
Step 04 — Start the stack and open Studio
Move into the project and start everything. Docker Compose blocks until each container reports healthy — about seven minutes on Medium.
cd supabase-projectsh run.sh startConfirm with docker compose ps, then open Studio at http://YOUR_VPS_IP:8000 and log in with the dashboard username and password from .env.
Common issues
Field-tested notes from the install above.
- Auth emails don't send. Magic links, password resets, and signup confirmations need a real SMTP relay set in .env. is*hosting blocks outbound SMTP by default on Lite and Start; Medium and above ship with it open — another reason to start at Medium.
- No HTTPS out of the box. The Envoy gateway serves plain HTTP on port 8000. For a domain and TLS, put a reverse proxy — nginx or Caddy — in front of Envoy.
- Postgres is open to the internet. Supavisor publishes 5432 and 6543 to the world by default, protected only by POSTGRES_PASSWORD. If nothing needs direct external access, restrict those ports or remove the mapping from docker-compose.yml.
- Studio's AI Assistant does nothing. It needs an OPENAI_API_KEY added to .env — nothing is wired in out of the box.
- Updating the stack. Re-running setup.sh in an existing project exits immediately. Update a single service with sh run.sh pull and sh run.sh recreate <service>, and back up Postgres first with a targeted dump: docker exec supabase-db pg_dumpall -U postgres > supabase-backup.sql