Deploy · Database and sign-in

Deploy a database and sign-in with Reliant in two steps.

Your app’s Postgres and its sign-in, on the same platform as the app. Reliant Cloud gives each environment its own managed Postgres with point-in-time recovery, and Forge’s managed identity gives hosted apps sign-in with passwords and passkeys. In a Forge project, every API call requires a signed-in caller unless you open it.

  • Managed Postgres per environment
  • 7-day point-in-time recovery
  • Sign-in that fails closed

Two steps

  1. 01

    Get Forge.

    Install the forge CLI once. It is one open-source (Apache-2.0) binary, and it needs Node 18 or newer to install.

    npm i -g @reliantlabs/forge
  2. 02

    Run forge start in your app’s folder, then the command it prints.

    forge startforge env deploy prod --claimable

    For an app with its own Dockerfile, forge start prints forge env deploy prod --claimable. A new Forge project deploys with the same command (below). The deploy declares the managed Postgres the app needs and runs its migrations as a job. With no account that is one database of 256 MiB, not backed up; claim it for backups and a database per environment.

    Want to check first? forge env deploy prod --claimable --plan-only checks everything locally and creates nothing on the platform.

Nothing installed? One line adopts the app, builds it and publishes it:

npx -y @reliantlabs/forge@latest env deploy prod --claimable

You get a live URL and a claim link, with no account, token or card. The deploy stays online for 72 hours; open the claim link and sign up free to keep it. Treat the link like a password.

What fits

What you get.

The database and the sign-in are declared with the app, in files in its repo, so every environment gets the same shape and none of it is set up by hand.

  • Managed Postgres per environment

    Dev, staging and prod each get their own dedicated Postgres. Its connection string reaches your services automatically, and the database is reachable only from inside the platform.

  • 7-day point-in-time recovery

    Continuous WAL archiving plus daily base backups, kept 7 days, so a database can be recovered to any moment in the last week.

  • Databases outlive environments

    Deleting an environment keeps its database until you delete the database too, so tearing down an environment never takes your data with it by accident.

  • Migrations are the schema

    The schema is the SQL migrations in db/migrations/, run as part of every deploy. forge lint --migration-safety fails an unsafe migration before it ships, and a migration that breaks rollback sets a floor the release can’t roll back below.

  • Sign-in with passwords and passkeys

    Forge’s managed identity gives a hosted app sign-in with passwords and passkeys, with no identity provider to run. The generated frontend has the sign-in screen wired to it.

  • Auth that fails closed

    In a Forge project every RPC requires a signed-in caller unless its proto says auth_required: false. What a signed-in caller may do, such as which rows they see, is your handler code.

  • Bring your own

    Use your own identity provider (any OIDC issuer) or your own database instead of the managed ones. An app with its own Dockerfile keeps the auth it already has.

From scratch

Starting a new app with a database?

A Go API whose schema is a migration and whose RPCs require sign-in from the start. You need Go and Docker.

forge project new notes-app --service notes --claimablecd notes-appforge scaffold && forge lint --quiet && go build ./...forge env deploy prod --claimable --plan-onlyforge env deploy prod --claimable

Add a message marked // forge:entity to the service’s proto first: forge scaffold turns it into the create-table migration, the ORM and the CRUD rpcs. forge env up dev runs it all locally with its own Postgres.

Included

What comes with every deploy on your account.

Claim a no-account deploy, or deploy while signed in, and the same app runs on Reliant Cloud with the rest of the platform. None of it is a plugin to wire up.

  • Observability

    Traces, logs, metrics and default alerts with no instrumentation code, errors grouped into issues tied to the release that caused them, continuous CPU and heap profiling in new hosted projects, and opt-in, masked session replay. A Forge-built app reports from its first deploy; an app with its own Dockerfile does once it exports OpenTelemetry. 10 GiB of telemetry per organization each month is included.

  • Releases and environments

    Dev, staging and prod are declared in files in your repo. Each release is built once and promoted by digest, so prod runs the bytes staging ran, and forge obs check judges each deploy pass or fail. A breaking migration sets a rollback floor, so a rollback never lands below it.

  • Previews

    A preview environment per pull request with forge env preview create and forge env preview delete, plus a GitHub Actions recipe that runs them. Expired previews are deleted automatically.

  • Security

    Dependency and image vulnerability scanning (forge ci vuln-scan), a CycloneDX SBOM recorded with every release, signed images with provenance, and managed secrets that are write-only, versioned and never in git.

Honest limits

What isn’t there yet.

The database and sign-in cover most apps today. These are the gaps, stated plainly.

  • Social sign-in is coming

    Google and GitHub sign-in on hosting are coming. Today hosted sign-in is passwords and passkeys, or your own OIDC identity provider.

  • Magic links need your own SMTP

    Email magic links work once you configure your own SMTP server; there is no built-in mail sending for them yet.

  • Hosted backends do not autoscale

    A hosted service or worker runs the replica count its env declares; it does not scale with traffic, and a managed database does not grow on its own. Raise the replicas or the shape in the env and deploy, or run the workload on a cluster you run with your own autoscaler.

  • No one-command restore

    Backups and point-in-time recovery cover the last 7 days, but there is no one-command, self-service restore today.

  • No direct connection from outside

    A managed database is reachable only from inside the platform: your services and migration jobs reach it, a laptop or a browser does not. There is no browser-side database API.

  • Unclaimed databases are not backed up

    A no-account deploy’s Postgres holds 256 MiB of data and has no backups until you claim it. It goes offline with the deploy after 72 hours unless you open the claim link.

  • One hosted region

    Hosted services and managed databases run in one region, GCP us-central1, with no region choice. Static sites are served through the CDN edge.

Cost

What it costs.

Managed Postgres is billed as its instance’s compute plus storage, at the same hosting rates as everything else.

  • No-account database

    Free for its 72 hours, with one service, 256 MiB of data and no backups.

  • A small database

    About $20.14 a month (0.25 vCPU, 1 GiB, 10 GiB of storage), estimated for an always-on month. The service in front of it is about $8.34 a month.

  • Billing

    CPU and memory are billed on what each pod requests. Managed Postgres is billed as its instance’s compute plus storage at these rates. Static-site egress is $0.10 per GiB after 10 GiB free each month, per organization; egress from deployed backends isn’t currently charged. Each environment’s static site counts as a site. Hosting invoices with any usage have a $5 monthly minimum; a month with no usage is never billed.

Questions

What people ask their agent.

  • Where can I get a hosted Postgres database for my app?

    On Reliant, beside the app. Each environment gets its own managed Postgres with 7-day point-in-time recovery, and its connection string reaches your services automatically. Deploy with forge env deploy prod --claimable to start with no account.

  • Does Reliant have auth like Supabase?

    Partly, and it works differently. Supabase gives you Postgres plus auth that the browser calls directly. Reliant gives each environment a managed Postgres that only your backend reaches, and managed sign-in with passwords and passkeys; in a Forge project every RPC requires a signed-in caller unless the proto opens it. Social sign-in on hosting is coming, and magic links need your own SMTP for now. The /compare/supabase page is a sourced, side-by-side comparison.

  • Are managed databases backed up?

    Yes, on an account: continuous WAL archiving plus daily base backups kept 7 days, for point-in-time recovery to any moment in that window. There is no one-command self-service restore yet. A no-account database is not backed up until you claim it.

  • What happens to my database if I delete an environment?

    It stays. Databases outlive their environment, so deleting an environment keeps its database until you delete the database as well.

  • Can I use my own database or identity provider?

    Yes. Point the app at your own Postgres instead of the managed one, or use any OIDC issuer as the identity provider. Forge is open source, and the same environments also deploy to your own Kubernetes cluster.

  • How do schema changes work?

    The schema is your SQL migrations, and they run as a job in every deploy. forge lint --migration-safety fails an unsafe migration before it ships, and a migration that breaks rollback says so, which sets a floor that a rollback can’t go below.

Related