Serverless PostgreSQL

A real Postgres in seconds. Free tier, no credit card, the same drivers, ORMs, and migration tools you already use. Cloud, desktop, or self-host with SpinDB.

Free tier, no credit card
SQL Console
PostgreSQL

Tables

  • users
  • events
  • orders
  • sessions
SELECT id, name, created_at
FROM events
WHERE created_at > NOW() - INTERVAL '7 days'
ORDER BY id DESC LIMIT 5;
idnamecreated_at
1247signup2026-03-12 14:21
1246purchase2026-03-12 14:08
1245login2026-03-12 13:55
1244signup2026-03-12 13:44
1243purchase2026-03-12 13:30
5 rows · 12ms

Production features, free tier included

Every PostgreSQL database ships with the same primitives: TLS, web console, hibernation, and a real dashboard. No tiered features hidden behind a sales call.

Web IDE

Query console in the dashboard, no extra client to install.

Included

TLS by default

All connections encrypted. No setup required.

Included

Always-on connections

Optional keep-alive add-on prevents hibernation.

Included

Scale to zero

Hibernates when idle. Wakes on the next connection.

Included

Connection pooling

Pooled endpoint for serverless and edge workloads.

Included

Direct connections

Bypass the pooler for migrations and replication.

Included

HTTPS access

HTTP-native engines reachable over port 443.

Not available

Serverless driver

Upstash REST or PlanetScale serverless drivers supported.

Not available

IP whitelisting

Restrict access to specific IPs or CIDR ranges.

Included

Automatic backups

Scheduled point-in-time backups with one-click restore.

Included

Connect with any PostgreSQL client

Primary application databases, SaaS backends, transactional workloads, and frameworks that expect a normal Postgres URL.

  • Drop a managed Postgres behind a side project without paying for a dedicated instance
  • Per-tenant or per-developer databases that scale to zero between bursts
  • Run logical replication or migration tooling against the direct connection string
  • Serve a serverless app with the pooled connection string from edge runtimes
  • Self-host on your own hardware with SpinDB when compliance requires it
bashPostgreSQL
psql "postgresql://layerbase:password@your-host.cloud.layerbase.dev:5432/app?sslmode=require"

Common PostgreSQL questions

Which PostgreSQL version do you run?+

Layerbase Cloud tracks the latest stable PostgreSQL major version. The dashboard shows the exact version, and the supported versions list is visible in the create flow so you can pin a specific one.

Do you support extensions like pg_vector or PostGIS?+

Most popular extensions are available out of the box. The dashboard exposes the extension list per database; if something you need is missing, open an issue and we will look at adding it.

Pooled vs direct connection strings?+

Pooled is the right default for serverless and connection-heavy web apps; it multiplexes requests so you do not exhaust the server connection limit. Direct bypasses the pooler and is required for migrations, logical replication, and tools that hold a session.

What about backups?+

Free databases hibernate but persist their data; paid plans add scheduled snapshots with 7 or 30 day retention and one-click restore. Manual snapshots are available on demand.

Can I run PostgreSQL locally too?+

Yes. SpinDB is our open-source CLI for managing local Postgres versions, schemas, and seed data; Layerbase Desktop wraps SpinDB with a GUI for the same workflows.