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-passPrices and limits
Billed by the Cube resources it uses; asleep, only what it stores. All prices and plans
| What is counted | How | Price |
|---|---|---|
| CPU | Busy CPU time, by the millisecond | $0.01 / million CPU-ms$0.00001 / CPU-second$0.036 / CPU-hour$26.28 / CPU-month |
| Memory | Held, 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 asleep | What sleeping instances keep, and snapshots | $0.00000761 / million GB-ms$0.00000000761 / GB-second$0.0000274 / GB-hour$0.02 / GB-month |
| Data | All 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 cache | The 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.
The database behind a product people use all day.
Each customer’s data apart, most of them quiet most of the day.
A growing table, the old partitions moved to tiered storage.
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
$1.47 a database
- CPU1.3B CPU-ms$12.96
- Memory1,800 GiB-h$14.40
- Requests$0.00
- Data stored40 GB-months$0.80
- NVMe cache20 GB-months$1.20
- Traffic out$0.00
- 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
Cube
- CubeAny container image as an app that sleeps between requests
- VolumesCube’s disks, which outlive their instance
Managed Applications
- SandboxA computer of its own for every agent
- SoonBrowserReal browsers, driven from code
- SoonThird-party appsOpen-source projects run for you, then a marketplace