Skip to content
Error Budget LabsOpen app

Databases & caches

The Data page is where you see the managed datastores in your environment - and where you add a new one. A datastore is somewhere your app keeps data: a Postgres database for the data your app stores, or a Cache (Valkey) for sessions, queues, and fast-changing data.

Orbit provisions and runs your datastores for you - no setup, no maintenance. Adding a datastore creates it in your environment. Connecting it to a component is a separate, deliberate step you take when you’re ready: you reveal its connection URL and push it to the component (or components) that should use it.

Open Data from the left sidebar. You’ll see every datastore in your environment, or an empty state if there are none yet.

  1. Open the Data page and press Add datastore.
  2. Pick a kind:
    • Postgres - a managed database for your app’s data.
    • Cache (Valkey) - a managed, Redis-compatible cache for sessions, queues, and hot data.
  3. Confirm. Press Add Postgres or Add Cache. Orbit provisions it and it appears as a tile on the page.

What happens on add:

  • Postgres - your non-frontend components restart once, only so they trust the new database’s security certificate. Nothing is connected to the database yet.
  • Cache (Valkey) - nothing restarts.

Either way, your app isn’t wired to the new datastore until you push its URL to a component.

Each datastore tile has a Push to workload action. This is how the datastore reaches your code:

  1. Reveal the connection URL on the tile (Reveal, then Copy or Hide).
  2. Push to workload. Choose where the URL goes:
    • A single component - only that component gets it.
    • Shared (all components) - every component in the environment gets it.
  3. Orbit saves the URL as an environment variable - DATABASE_URL for Postgres, REDIS_URL for Cache - and the affected component restarts to pick it up.

After that, your app reads the datastore through that variable, like any other environment variable.

The connection URL points at a private address inside your environment - only workloads in the same environment can reach it. It is not reachable from your own laptop or an external tool over the public internet. To connect a tool such as psql to a Postgres database from outside, see Connect from outside.

The URL is hidden by default. Reveal shows it, Copy puts it on your clipboard, and Hide tucks it away again.

  • Overview - your datastores, their status, and the Reveal / Push to workload actions. Live.
  • Migrations - the database changes your app has applied. Live.
  • Queries, Indexes - marked “Soon”. These will show query activity and index health once the underlying telemetry lands. Usage figures on the page show a dash until then.
  • Backups - marked “Soon”. Automatic backups for managed Postgres are coming soon; there are none yet, so keep your own copy of any data you can’t lose.
  • My app can’t see the datastore. Adding one doesn’t connect it. Reveal the URL and use Push to workload to hand it to the component that needs it, then check Logs.
  • I pushed the URL but nothing changed. The component restarts to pick up the new variable - give it a moment, then confirm a new release ran on Deploy & release.
  • The URL won’t connect from my machine. That’s expected - the address is private to your environment. Your components can reach it; to connect an outside tool, ask us.