What is Supabase and how to have your own managed database on ArduMaker

Published on 2026-09-12 by frfrand

Postgres with automatic API, authentication, and storage on top. What it really solves, what it means to be open source, and when it makes sense to build it yourself.

What is Supabase and how to have your own managed database on ArduMaker

Short answer: Supabase is standard PostgreSQL with open-source pieces around it: a REST API generated from the schema (PostgREST), authentication, real-time changes, file storage, and functions. Security relies on PostgreSQL's own row level security. It's suitable for products that are mostly CRUD with permissions; if you already have your own backend, often PostgreSQL alone is enough, for example installed as an app on a VPS.

Supabase presents itself as "the open source alternative to Firebase". The description is useful to locate it and hides what's most interesting: underneath it is plain PostgreSQL.

It's not a proprietary engine with a rare dialect. It's Postgres, with a series of pieces around it that solve what you normally write by hand.

What's really inside

PostgREST. It reads your database schema and automatically generates a REST API. You create a table and you already have endpoints to query it, filter it, sort it, and paginate it. Without writing a controller.

GoTrue (now Supabase Auth). Authentication: registration, login, password recovery, external providers, tokens.

Realtime. It listens to database changes and transmits them via WebSocket. Your interface updates when someone modifies a row, without you programming anything for that.

Storage. Files, with permissions backed by the same database rules.

Edge functions. Server-side code for what doesn't fit in a query.

The piece that makes it work: row-level security

This is what surprises the most and what matters most to understand.

If you expose your database directly as an API, the obvious question is: what prevents a user from querying another user's data?

The answer is not in the API. It is in Postgres, with a function that has existed for years and almost no one used: row level security. Policies are written that say which rows each user can view or modify, and the database engine applies them.

create policy "cada uno ve lo suyo" on pedidos for select using (auth.uid() = usuario_id);

The consequence: it doesn't matter where the query comes from, the rule is fulfilled. Security no longer depends on each endpoint remembering to filter.

It is also where mistakes are made. A table exposed by the API with row level security disabled remains accessible with the project's public key. (With RLS enabled and no policy, the opposite happens: nothing is visible.) It is worth reviewing table by table before publishing.

What it means to be open source

All pieces are open source projects and can be run on your own server. That changes two things:

No lock-in. Your data is in a standard Postgres. If tomorrow you want to move, it is a dump and a restore. Compared to platforms where exporting means rewriting the application, the difference is enormous.

You can self-host it. With Docker Compose, on your VPS. You gain control and fixed cost; you lose the managed part.

When it's worth it, and when it isn't

It's worth it for prototypes and products where most of the backend is CRUD with permissions. It saves weeks.

It isn't worth it when business logic is complex: if each operation involves several validations, external calls, and rules, you end up fighting the generated API. There, a custom backend is simpler.

An intermediate path that works well: Supabase (or just Postgres) for data, and your own backend for rule-based operations, without exposing those tables through the automatic API.

The layerless version

It's worth saying: for many projects, Postgres alone is enough. If you already have a backend, what Supabase adds is largely what your backend already does.

In ArduMaker you can install PostgreSQL on your VPS from the panel, as an app: each database with its own least-privilege user, accessible only from within the VPS unless you open access via IP allowlist (with TLS), and with an SSH tunnel to reach it from another VPS. Data travels in the weekly VPS backup; for a consistent database backup, add your own dump.

If you want the full package, self-hosted Supabase is distributed as a Docker Compose project, and ArduMaker allows you to deploy a Compose as an app on your VPS. There is no ready-made Supabase installation: there are more than a dozen services, so check your plan's memory before attempting it. In both cases, the base is yours and the data remains on your server.

Important note: self-managed PostgreSQL is not all of Supabase

Supabase integrates a PostgreSQL database and several additional capabilities, such as authentication, APIs, storage, and real-time functions. Installing PostgreSQL on an ArduMaker VPS does not automatically reproduce all those pieces, although it may be sufficient for applications that already have their own backend.

Example: a Django API that manages clients and invoices can use PostgreSQL on ArduMaker, keep business rules in Django, and manage the process through the VPS. For a prototype that heavily leverages Supabase tools, the managed platform may be faster to develop.

Frequently asked questions

Is Supabase just PostgreSQL? Underneath, yes: it is standard Postgres. What it adds are services around it (generated API, authentication, real-time, files, and functions).

Can I self-host Supabase? Yes, all its pieces are open and published with Docker Compose. You gain control and fixed cost; you lose the managed part and you have to take care of updates and backups.

What is row level security? A PostgreSQL function that applies, within the engine, policies on which rows each user can view or modify. In Supabase it is the basis of API security.

Is PostgreSQL without Supabase enough for me? If you already have a backend that handles authentication and permissions, normally yes.

Compare needs, operations budget, backups, and maintenance effort before migrating. Related: Supabase vs Firebase · What Supabase is used for.

  • Supabase
  • PostgreSQL
  • BaaS
  • ArduMaker
  • bases de datos

On ArduMaker

  • PostgreSQL: Install PostgreSQL and manage databases, users and permissions without the command line.

Keep reading

All articles · VPS plans