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.
What it does
Section titled “What it does”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.
How to get there
Section titled “How to get there”Open Data from the left sidebar. You’ll see every datastore in your environment, or an empty state if there are none yet.
Adding a datastore
Section titled “Adding a datastore”- Open the Data page and press Add datastore.
- 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.
- 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.
Connecting it to your app
Section titled “Connecting it to your app”Each datastore tile has a Push to workload action. This is how the datastore reaches your code:
- Reveal the connection URL on the tile (Reveal, then Copy or Hide).
- 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.
- Orbit saves the URL as an environment variable -
DATABASE_URLfor Postgres,REDIS_URLfor 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.
About the connection URL
Section titled “About the connection URL”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.
What’s here today
Section titled “What’s here today”- 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.
Common issues
Section titled “Common issues”- 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.
Next steps
Section titled “Next steps”- Environment variables - where the pushed connection URL lives
- Deploy & release - the restart that picks up the variable