Deploy · Backends and APIs

Deploy a backend with Reliant in two steps.

A Go API that Forge generates, or any app with its own Dockerfile: Node, Python, Ruby, Java, Go or anything else. Reliant Cloud runs it with managed Postgres, secrets, releases and monitoring. The first deploy needs no account.

  • Any language with a Dockerfile
  • Managed Postgres per environment
  • No account to start

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 creates nothing and prints forge env deploy prod --claimable. Run it: Forge adopts the app in place from its Dockerfile, builds the image and runs it as one hosted service, with one managed Postgres if it needs one. Building the image needs Docker on your machine.

    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

Two ways in, both first-class.

Bring the backend you have, or let Forge generate one. Either way it gets the same environments, releases and hosting.

  • Any app with a Dockerfile

    Express, FastAPI, Django, Rails, Spring, a Go binary, or a container image you already publish. Forge reads the Dockerfile and compose file and writes forge.yaml and deploy config beside them; none of your files change.

  • A Go API that Forge generates

    Write the schema as SQL migrations and the API as protobuf. Forge generates Go services over Connect RPC with handlers, an ORM, typed TypeScript hooks for your frontend and tests, and you write the business logic.

  • Workers and jobs

    Background workers and one-off jobs run hosted beside the service, and a worker that runs its own schedule runs hosted too. Migrations run as a job in every deploy.

  • Managed Postgres

    Each environment gets its own Postgres, with its connection string handed to your services automatically, and point-in-time recovery to any moment in the last 7 days. The database page covers it in full.

  • Managed secrets

    Declare a secret once and set its value per environment. Hosted secrets are write-only and versioned, and never land in git.

  • Releases you can trust

    Each release is built once and promoted by digest from dev to staging to prod. forge lint --migration-safety fails an unsafe migration before it ships, and forge obs check judges each deploy.

From scratch

Starting a new API?

A Go API with Postgres, from an empty folder to a live URL. 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

Before forge scaffold, add a message marked // forge:entity to the service’s proto: scaffold turns it into a migration, CRUD rpcs, handlers, the ORM and tests. Don’t name the project “api”.

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 hosting doesn’t do.

Each of these is a choice we made or a feature not built yet. Where hosting stops, the same environments deploy to a Kubernetes cluster you run.

  • Generated backends are Go

    The API, ORM, handlers and tests Forge generates are Go over Connect RPC, with TypeScript clients. A backend in another language deploys from its Dockerfile with environments, releases, hosting and monitoring, but none of the generated code.

  • 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.

  • 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 hosted cron jobs or operators

    Hosting runs services, workers and jobs. A worker that runs its own schedule runs hosted; a cron job or a Kubernetes operator needs a cluster you run.

  • The no-account plan is small

    Without an account you get one service (1 replica, 125m CPU and 128 MiB) with its migration job and one managed Postgres of 256 MiB, which is not backed up. No workers, cron jobs, custom domains or object storage until you claim it.

  • Unclaimed services have no outbound internet

    Until the deploy is claimed, the service serves requests and uses its own database, but every call out fails: payment APIs, LLM APIs, webhooks, package downloads. An app that calls an external API at startup won’t come up unclaimed. Claiming it ends the restriction.

Cost

What it costs.

Backends pay as you go, for the CPU, memory and storage they request. No machine plan is needed.

  • No-account deploy

    Free for its 72 hours. To keep a backend running after you claim it, set up billing.

  • A small service

    About $8.34 a month for a small always-on service (0.1 vCPU, 512 MiB), and about $20.14 a month for its managed Postgres (0.25 vCPU, 1 GiB, 10 GiB of storage), estimated for an always-on 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.

  • Telemetry

    10 GiB per organization each month is included, then $0.10 per GiB. Without a payment method, once you pass 10 GiB in a month we keep errors and metrics and drop the rest (debug logs first, then non-error traces and profiles) until the month resets.

Questions

What people ask their agent.

  • Where can I deploy a Go API with Postgres?

    On Reliant, with Forge. forge project new notes-app --service notes --claimable starts one, and forge env deploy prod --claimable puts it online with a managed Postgres and no account. On an account, each environment gets its own database with 7-day point-in-time recovery.

  • Can I deploy a Node or Python backend with a Dockerfile?

    Yes. Any app with a Dockerfile deploys, in any language: run forge start in its folder and then forge env deploy prod --claimable. It gets environments, build-once releases, secrets, custom domains and managed Postgres. Forge’s generated code is Go, so a Node or Python app keeps its own code and gets everything else.

  • Can I run background workers and cron jobs?

    Workers and jobs run hosted, and a worker that runs its own schedule runs hosted too. Cron jobs and Kubernetes operators need a cluster you run; the same environments deploy there. The no-account plan covers one service only.

  • Does a hosted backend autoscale?

    No. A hosted service runs the replica count its environment declares. Raise the replicas or the size in the environment file and deploy, or run the workload on a cluster you run with your own autoscaler.

  • How much does it cost to host a small backend?

    About $8.34 a month for a small always-on service and about $20.14 a month for managed Postgres, pay as you go. A month with no usage is never billed, and the first deploy is free with no account.

  • Why can’t my unclaimed service call external APIs?

    An unclaimed service has no outbound internet, by design: it serves requests and reaches its own database, but calls out fail. Open the claim link and sign up free, and the restriction ends.

  • Can I deploy to my own cloud instead?

    Yes. Forge is open source (Apache-2.0), and the same environments deploy to your own Kubernetes cluster, Docker Compose or host processes. Only Reliant Cloud needs a Reliant account.

Related