Skip to content

Managed ApplicationsComing soon

Serverless Postgres

Postgres that sleeps when idle

PostgreSQL run for you on Cube, its data on volumes. It sleeps when nothing asks anything of it and wakes on the next connection.

What is decided

What it will run, and what runs today.

  • Planned

    PostgreSQL 16, 17 and 18, with pgvector, PostGIS and more.

  • Planned

    Asleep until the next connection, on Cube’s microVMs with its data on volumes.

  • Until then, any database image as a Cube, with a volume of its own.

Illustrative previews

Postgres today

A volume for its data, a secret for its password, and the image as a Cube that only the project’s own network reaches.

glac drives create --name pg-data \
  --size-bytes 20GiB --region eu

# asked for, and not shown
glac secrets put pg-pass

PG=/var/lib/postgresql/data
glac deploy postgres:17 --name db \
  --port 5432 --public false \
  --region eu --drive pg-data:$PG \
  -e PGDATA=$PG/pgdata \
  --secret POSTGRES_PASSWORD=pg-pass

Prices and limits

Billed by the Cube resources it uses; asleep, only what it stores. All prices and plans

What is countedHowPrice
CPUBusy CPU time, by the millisecond$0.01 / million CPU-ms$0.00001 / CPU-second$0.036 / CPU-hour$26.28 / CPU-month
MemoryHeld, by the millisecond, in 128 MiB steps$0.00222 / million GiB-ms$0.00000222 / GiB-second$0.008 / GiB-hour$5.84 / GiB-month
Kept asleepWhat sleeping instances keep, and snapshots$0.00000761 / million GB-ms$0.00000000761 / GB-second$0.0000274 / GB-hour$0.02 / GB-month
DataAll a volume holds, kept in tiered storage$0.00000761 / million GB-ms$0.00000000761 / GB-second$0.0000274 / GB-hour$0.02 / GB-month
NVMe cacheThe part on the machine’s NVMe, the size you set; no write or read fees$0.0000228 / million GB-ms$0.0000000228 / GB-second$0.0000822 / GB-hour$0.06 / GB-month

Estimate a month

A real workload, and what its month comes to on Paid and on Free.

One for each developer, used through the working week.

Each: one volume of 2 GB, 1 GB of it cached.

A 30-day month, this workload alone on the account. Sources

A month on Paid

$30.16

$1.47 a database

  • CPU1.3B CPU-ms$12.96
  • Memory1,800 GiB-h$14.40
  • Data stored40 GB-months$0.80
  • NVMe cache20 GB-months$1.20
Usage at the list prices
$29.36
Included in Paid
−$4.20
Paid’s fee
$5.00

Past what Free allows: CPU, memory, data stored and NVMe cache.

Every vCPU billed, awake all month19.7× more

Glac$29.36

By size$578.00

Read on

The platform