Deploy Supabase

Give application teams a PostgreSQL database, sign-in, file storage and APIs for building customer portals on infrastructure you control.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Supabase Platform
Licence
Apache-2.0 for the main repository
Your serversAdvisoryPatchSandboxPolicyDeployLive

Self-hosted Supabase among the engineering and security apps

Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.

Self-hosted Supabase system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshaccess by identityencrypted tunnelencrypted, offsiteSelf-hosted Supabasepinned, patched, watched01ComputeDocker Engine and Compose02DatabasePostgreSQL03StoragePersistent database andobjects04IdentityHTTPS and providercallbacksYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedSelf-hosted Supabasepinned, patched, watched01ComputeDocker Engine andCompose02DatabasePostgreSQL03StoragePersistent databaseand objects04IdentityHTTPS and providercallbacksYour teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs Self-hosted Supabase and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. ComputeDocker Engine and ComposeThe full stack has an upstream minimum of two cores and 4 GB RAM. Size from peak sessions and the services the application actually uses.
  2. DatabasePostgreSQLMatch the extensions required by the project and allocate capacity for peak writes and restore rehearsals.
  3. StoragePersistent database and objectsBudget space for uploaded payloads separately from the rows that describe them.
  4. IdentityHTTPS and provider callbacksArrange DNS and access to the provider consoles used for production sign-in.

Running Self-hosted Supabase in production: what it takes

  1. Exercise the client journey

    Use an ordinary test account to create a draft, attach a sample document and reopen the draft. Check the application response and the resulting database row before marking the service ready.

  2. Observe database and object growth separately

    Track connections, storage use and failed object transfers during a representative busy period. Identify whether a limit is reached in the database, the API layer or the object store before expanding the machine.

  3. Recover a complete submission

    Restore the database and object store into an isolated environment. Reconnect test authentication and open the saved attachment from the recovered application. Validate its contents against the acceptance record.

Deployment reference

Where a portal submission lives

RecordAcceptance check
Order and ownerMatch the order ID and status to the expected customer after the database restore.
Uploaded receiptDownload the object through the application and compare its digest with the original.
Receipt acknowledgementRun the redeployed function against a test destination and verify the expected event and recipient.
The upstream platform restore guide separates database contents, storage objects and runtime configuration. Use one accepted submission to verify those boundaries.

Migrating from Supabase Platform to Self-hosted Supabase

A hosted project can hold a purchase record in PostgreSQL, its attachment in Storage and the function that acknowledges receipt in a separate runtime. Inventory all three before restoring the database. Identify who controls the client configuration, sign-in callbacks and outgoing email.

Moving from Supabase Platform to Self-hosted Supabase, step by step

  1. Trace one customer transaction: Pick an order with an uploaded document. Record the order ID, file path and digest, owning account and expected confirmation. Take an inventory of database extensions, functions, buckets, sign-in providers and dependent clients.
  2. Rehearse the restore: Restore roles, schema and data into a private pilot using the upstream platform migration procedure. Transfer the objects separately, redeploy functions from reviewed source and connect a test email destination. Compare database versions and extensions before running application checks.
  3. Reconcile both customers: Sign in with two pilot customer accounts. Each should see its own orders and retrieve its own attachment. Match counts and amounts against the same cutoff, compare file digests and check whether the acknowledgement fires exactly once.
  4. Switch at an agreed write boundary: Pause application writes and background publishers. Account for changes after the rehearsal, then update the client endpoint, keys and sign-in redirects. Keep the source and its configuration available for the agreed rollback period. Reconcile any writes accepted by the destination before resuming the source.

What Self-hosted Supabase is, and who runs it

The Supabase repository carries Apache 2.0 terms. The Docker stack combines independently licensed projects. Review the components and extensions selected for the deployment.

Follow a purchase order from sign-in to receipt

A supplier uploads a delivery note against a purchase order. The order row, the user account and the attachment each need to survive the move. A successful query in Studio confirms that the order exists. The supplier’s ability to sign in and retrieve the same file tests the rest of the path. Ask a second supplier to look up the order as well. The result should follow the access rules approved by the application owner.

Teams needing only a relational database can scope PostgreSQL on its own. Supabase fits an application that also depends on its client-facing services. If the starting point is a hosted Supabase project, the migration team needs the function source and the object inventory alongside the database export. The upstream guide explains which account data is restored and which authentication settings must be entered again. Platform project restore guide

Read the full briefFold the brief

Choose the services the application consumes

Bring the application’s release checklist as well as its traffic figures. If a developer expects a hosted backup or project-management feature during a release, agree how the new operator will perform that task. The project documents the division of responsibilities, its Compose deployment and the licences of its source distribution. Self-hosting guide · Docker architecture and sizing · Project licence

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

Self-hosted Supabase runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

Self-hosted Supabase: common questions

Can the team keep using the Supabase client library?

Test the existing application against the selected self-hosted release. Configure its endpoint and keys, then verify the Auth, database and Storage calls the application makes.

Will customers need to sign in again?

Upstream’s platform restore procedure preserves user records and uses new signing settings. Plan a new sign-in and verify each external identity provider against the destination hostname.

Does one database export include uploaded files?

Storage objects require their own transfer. Check the object itself with an ordinary client account after restoring its metadata and access policies.

What should we prepare before deployment?

Bring a list of services, database and object sizes, peak traffic, enabled extensions and recovery objectives. Include any hosted platform features your developers use when releasing or restoring a project.

Talk to an engineer about your Self-hosted Supabase

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.