Skip to content
Databases · Rio de Janeiro or São Paulo

Self-Hosted Supabase Hosting on a VPS

Supabase combines a PostgreSQL database, user authentication, an API, file storage and realtime in a single back end. At Mega Dedicados it arrives preinstalled on your VPS, with HTTPS, an admin account created, and access details sent by email and WhatsApp.

  • Debian 13 with Docker
  • Database, auth, API and storage
  • HTTPS with Let's Encrypt
  • Rio de Janeiro or São Paulo, Brazil
See plans
supabase.yourdomain.com
Studio table editor showing a store's products table, listing 12 records with price and stockSQL Editor with a revenue-by-category query and its results shown in a table below.
Studio table editor showing a store's products table, listing 12 records with price and stock2 screens
Plans

VPS plans to run Supabase

Supabase keeps several services running at the same time, so it needs room from the start. Plus is the plan to begin with, and Pro and Turbo give the database more room to grow.

Location
Selected

Plus

US$ 18.59/mo
  • 2 vCore CPU
  • 4 GB Memory
  • NVME 80 GB Disk
  • Unlimited Traffic

Turbo

US$ 39.99/mo
  • 4 vCore CPU
  • 12 GB Memory
  • NVME 160 GB Disk
  • Unlimited Traffic

Max

US$ 59.99/mo
  • 6 vCore CPU
  • 18 GB Memory
  • NVME 180 GB Disk
  • Unlimited Traffic

Billed in US dollars, with the app installed. Rio de Janeiro or São Paulo, same price. Plans start at the smallest size where the app runs well. Need more? Upgrade from the client area, without reinstalling.

Where the server lives

Supabase in Rio de Janeiro

With Rio de Janeiro selected, your VPS with Supabase runs in Mega's original data center, on our own network with a presence at the Rio internet exchange (IX.br) and redundant transit. It offers the lowest latency for users in Rio, Espírito Santo and Minas Gerais, and our support team works in the same city as the server.

Measured latency, not a promisemeasured 22 minutes ago

Rio de Janeiro to

Vivo15.9ms
Claro24.4ms
TIM19.2ms
Oi11.6ms
Algar3.8ms

São Paulo to

Vivo27.7ms
Claro8.8ms
TIM28.5ms
Oi14.5ms
Algar7.0ms
Ping from real customer connections on each carrier to our data centers in Rio and São Paulo, measured every hour by independent probes (Globalping). Algar: measured from our edge, where we connect to it directly.

What is Supabase

Supabase is an open source alternative to Firebase, built on PostgreSQL. It bundles what an application usually needs from a server: a database, authentication, an API, file storage and realtime updates.

Every table you create in the database automatically gets a REST API. Access is controlled by PostgreSQL Row Level Security rules, and your site or app uses the public (anon) key to read and write only what those rules allow.

Mega installs the self-hosted version with the Studio dashboard, the PostgREST API, GoTrue authentication, Storage and Realtime. Keys and passwords are generated during installation and belong only to your server.

Source: Official Supabase self-hosting documentation, accessed in October 2026

What you get with the VPS

  • Supabase with Postgres 17 in a Docker container that restarts automatically if the server reboots
  • Debian 13 as the operating system, with Docker already installed
  • Your own domain with HTTPS and a Let's Encrypt certificate
  • Studio with an admin user and password, plus the public (anon) key sent by email and WhatsApp
  • Secret key (service_role) and database password stored only on the server
  • Root SSH access and a VPS panel in the client area (restart, reinstall, change password, console)
  • Inline DDoS protection, 1 Gbps with unlimited traffic, 1 IPv4 and IPv6

What you can do with your own Supabase

Back end for web or mobile apps

Database, login and API ready to use, with no need to build a server from scratch.

User accounts

Sign-up and login with email and password, including sessions and tokens.

File storage

Images, PDFs and attachments organized in public or private buckets.

Self-updating screens

Dashboards and chats that change as soon as a record is updated in the database.

AI projects

PostgreSQL with pgvector to store and query embeddings.

Firebase migration

Your data moves to a real PostgreSQL database on a server you control.

Supabase up close

Studio table editor showing a store products table (example).
Studio table editor showing a store products table (example).
SQL editor with a revenue-by-category query and the result right below it (example).
SQL editor with a revenue-by-category query and the result right below it (example).

Screenshots taken on a Mega Dedicados test installation, with no customer data.

What comes configured

PostgreSQL 17

Full relational database with functions, extensions and relationships between tables.

Password-protected Studio

Spreadsheet-style table editor and SQL editor, accessible only after login.

Automatic REST API

Each table becomes an endpoint with filters and pagination.

Authentication

Sign-up, login and per-user access rules, already active.

Storage

File buckets with permissions defined by rules.

Realtime

Subscribe to table changes over WebSocket.

How it works

  1. 1

    Choose a plan and location

    Select the plan and the data center, Rio de Janeiro or São Paulo, at the same price in both.

  2. 2

    Pay

    Pay by PayPal, credit card or USDT, on a monthly, semiannual or annual cycle.

  3. 3

    Automatic installation

    The VPS is created and Supabase is installed with HTTPS. In our tests, the process takes about 5 minutes.

  4. 4

    Receive your access details

    The address, Studio user and public key arrive by email and WhatsApp.

Which plan to choose for Supabase

At idle, Supabase uses about 830 MB and the database needs headroom to work, so Plus is the starting point. For most projects, Pro is the recommended plan.

PlanBest for
Plus
2 vCore · 4 GB
Starting point for new projects, tests and prototypes with few concurrent users, meeting the minimum Supabase requires.
Pro
4 vCore · 6 GB
The recommended plan: balanced memory and storage for production apps, with room for the database, auth, files and realtime.
Turbo
4 vCore · 12 GB
For apps with more users and heavy queries, which need more memory for the database and more storage.
Max
6 vCore · 18 GB
For growing projects with heavy traffic, several services running in parallel and many files, with the most headroom.
Ordering from outside Brazil

A VPS with Supabase in Brazil, ordered from abroad

No Brazilian tax ID (CPF/CNPJ) is required to sign up. Pay in US dollars by PayPal, international credit card or USDT; support answers in English, 24 hours a day; the server and its data stay in Brazil (LGPD). Latency measured on 8 November 2026 from public probes: 8 to 12 ms between Rio and São Paulo, 41 ms from Buenos Aires, 118 to 130 ms from Miami, about 140 ms from New York and 200 to 230 ms from Lisbon and Frankfurt.

Frequently asked questions

Supabase hosting FAQ

How much does a VPS with Supabase cost?

A VPS with Supabase preinstalled starts at US$ 18.59 per month on the Plus plan. Self-hosted Supabase is free and open source, with no charge per user or per request.

How much RAM does self-hosted Supabase need?

In our tests it uses about 830 MB at idle, counting all services together, and the database needs room beyond that. This is why anything with only 1 GB is not enough and Plus is the smallest plan we suggest.

Is the Supabase Studio dashboard exposed to the internet?

No. Studio requires a username and password, and the API rejects requests without a key. The admin side only responds to the secret key, which is stored on the server.

Does Supabase auth work without email setup?

Yes. The server comes without SMTP, so sign-ups are confirmed automatically. When you want email confirmation, just configure your own SMTP.

Is self-hosted Supabase the same as Supabase Cloud?

It is the same code, in its self-hosted version. Edge Functions and the connection pooler are not part of this installation, so that it fits on a VPS. Database, API, auth, storage and realtime work normally.

Who handles Supabase updates?

The delivered version is pinned, so nothing changes without notice. You update when you want, through root access, after testing.

Can I run other apps on the same Supabase VPS?

Yes. Each app uses its own address, as long as their combined usage fits in the plan's memory. If space gets tight, you can move to a larger plan.

How do support, payment and cancellation work?

Support is available 24/7 in Portuguese by WhatsApp, ticket and phone for server issues. There is no lock-in contract and you have 7 days to request a refund. Using Supabase itself is covered by the project's documentation.

Self-hosted Supabase vs Supabase Cloud: which should I choose?

Supabase Cloud is a hosted platform managed by Supabase, with paid plans and extras such as Edge Functions. With self-hosted Supabase at Mega, you pay only for the VPS, with no charge per user or per request, and your database, keys and files stay on your own server in Brazil. The trade-off is that you handle updates through root access.

Does Supabase run on Docker?

Yes. At Mega, Supabase with Postgres 17 runs in Docker containers on Debian 13, including Studio, PostgREST, GoTrue, Storage and Realtime, and it comes back on its own after a server restart. The address already has HTTPS and the keys are generated at setup. Because several services run at once, Pro is the recommended plan.

Can I order from outside Brazil?

Yes. The order form does not require a Brazilian tax ID: name, e-mail and address are enough. You pay in US dollars by PayPal, international credit card or USDT, the server is activated minutes after payment and support answers in English. Latency measured on 8 November 2026 from public probes: 8 to 12 ms between Rio and São Paulo, 41 ms from Buenos Aires, 118 to 130 ms from Miami, about 140 ms from New York and 200 to 230 ms from Lisbon and Frankfurt.

Updated on October 28, 2026

Questions about the app or the plan?

Tell us what you want to run and for how many users; we will suggest the plan. The app comes preinstalled.

Talk to an engineer
Chat on WhatsApp