Skip to content

Databases and caches

Ownkube runs two kinds of managed datastore: Postgres for data you keep, and Valkey (Redis-compatible) for data you cache. Both are deployments like your apps: they live in an environment, show up on the same dashboard, and bill from the same wallet.

Screenshot of a managed Postgres deployment's Overview tab, showing status, box size, storage and connection details
PostgresValkey cache
Keeps dataYes, on a persistent volume with optional backupsNo, in memory only. A restart is a cold cache
Typical useApplication data, users, orders, anything you must not loseSessions, rate limits, queues, cached queries
SizesDB 0.5 to DB 16, plus Dedicated boxes on TeamCache 0.25 to Cache 4, by memory
BillingFlat monthly box price plus storage at $0.25 per GB per monthFlat monthly box price, no storage
While asleepStorage onlyNothing
ClientsAny Postgres driverAny Redis-compatible client

Full prices are on Plans and pricing.

  1. Create the database or cache in the same environment as the app.
  2. Link it to the app from the app’s page, or run okctl deploy link <app-id> <datastore-id>.
  3. Ownkube adds the connection string and credentials to the app as secret variables and rolls the app out.

The address in those variables is a private network address. Nothing outside your environment can reach it. If you need to connect from your laptop, a CI runner or a GUI client, turn on Public access on the datastore or tunnel through okctl connect.

Private by default

A new database or cache has no public address. Only apps in its environment can reach it. Public access is a per-datastore switch.

Encrypted

Data is encrypted at rest. Public connections use TLS with a certificate issued for the datastore’s own hostname.

A data console

The Data tab browses tables and rows or cache keys and runs SQL or Valkey commands in the dashboard. See Data console.

Logs and activity

The same Logs and Activity tabs as an app, so you can see restarts, resizes and backup runs in one place.

Sleep when idle

Turn on Idle to zero and a datastore nobody is connected to parks itself. The next connection wakes it, with data intact. See Sleep and wake.

Resize in place

Move to a bigger box or more storage from the Settings tab. The datastore restarts briefly; the data stays.

On Ownkube Compute a datastore runs in the region you picked, next to the apps that use it. If you run in your own AWS account, the same database and cache types run on your cluster: a Starter cluster runs a single instance, a Production (EKS) cluster can run standbys.