asish.com
Databases

AlloyDB Express brings PostgreSQL provisioning down to seconds

Asish Punnose ·

Google Cloud says AlloyDB Express can provision PostgreSQL in under two seconds. The interesting part is what that makes possible for CI, coding agents and prototypes.

AlloyDB Express preview hero showing a blue PostgreSQL database cylinder and the words PostgreSQL in under two seconds.

When I try an idea for a new app, I want to get to the first working screen quickly. If it needs PostgreSQL, there’s usually a decision to make first. Do I run it locally, give the prototype a database on a shared server, or provision a separate environment that I’ll have to remember to clean up?

Google Cloud’s AlloyDB Express preview makes that third option more interesting. Google says it can create a ready-to-use PostgreSQL database in under two seconds and pause compute when the database is idle. That timing is Google’s provisioning claim. An app still needs to connect, run migrations and load any data it needs. Google Cloud announcement

Where I’d use it first

I’d start with integration tests on pull requests. Give each run a fresh PostgreSQL database, apply the same migrations the application uses, seed a small dataset and run the tests. Two pull requests can exercise different schema changes at the same time without fighting over the same test database. When the run ends, the pipeline can clean up the environment.

A coding agent could work the same way. If I ask it to add an invoice table and test the migration, I could give it a disposable database with credentials scoped to that environment. It can run the migration, check what it created and report the result. If the change fails halfway through, I can reproduce it from a clean starting point.

What I’d measure beyond the two seconds

For CI, I’d measure the time from requesting a database to completing the first test. That includes getting credentials, opening a connection, applying migrations and loading fixtures. For a low-traffic prototype, I’d also measure the first request after the database has been idle. That’s the delay a person opening the app will actually feel.

I’d also check what still incurs charges while compute is paused and how the service behaves when several builds start at once. Those details matter more to a team’s monthly bill and developer experience than a fast provisioning demo.

Where it could fit in Zapiu

For Zapiu, I could see this as an optional database for a prototype that already needs PostgreSQL. A CRM is a good example. It might use PostgreSQL migrations to create contacts, organisations and deals, then seed sample records so someone can try the workflow immediately. Giving that prototype its own database would let a developer demonstrate a proposed schema change without touching the live system.

I’d keep the first experiment small: take one PostgreSQL-backed app, time a fresh build from an empty database and compare that with today’s workflow. If a clean database becomes cheap and quick enough to create on every run, I’d stop sharing a test database between builds. That’s the change I’d look for in the preview.