Databases You Control

Production SQL databases — high availability, point-in-time recovery, and automated backups — running in your own cloud at roughly a third the cost of managed RDS.

Operator-driven databases on Kubernetes — PostgreSQL on CloudNativePG, MySQL on Percona — with streaming-replication HA, continuous archiving to your own object storage, recovery to any second, and backups cheap enough to test every night. All declarative, all in Git, and portable to any cloud or bare metal.

See the Numbers

The Problem

A managed database is convenient right up until it's load-bearing — then it gets expensive in three different ways at once.

1. You rent peak capacity, forever, with a premium on top

A managed instance is sized for the workload's ceiling and billed at that size every hour, whether or not you're near it — doubled again the moment you turn on high availability, and marked up over the raw infrastructure underneath for the convenience of not running it yourself. That's a fair trade for one small database. Across a fleet of large ones it becomes the single biggest line on the cloud bill, and it only ever grows.

2. The extension list is whatever the vendor blesses

A managed service supports the extensions it chooses to. The sharpest example: managed RDS and Aurora do not support the TimescaleDB extension. If your workload depends on it, the managed service isn't a pricier equivalent — it isn't an equivalent at all. You find this out after you've built on it.

3. Backups you can't afford to test

Everyone takes backups. Almost nobody tests them, because on a managed service testing a restore provisions a brand-new, full-price instance plus a full second copy of the storage — real, billed infrastructure that someone has to stand up and remember to tear down. So the restore drill becomes a project, the project gets deferred, and teams discover whether their backups actually work during the incident — the worst possible time to find out.

The Platform

We run the database as a first-class, declarative object in Kubernetes, in the customer's own cloud account — PostgreSQL on CloudNativePG, MySQL on the Percona operator, same operational model either way. High availability is streaming replication with automatic failover: a primary and its replicas, each on its own volume, the operator promoting a replica the instant the primary goes. Backups are continuous transaction-log archiving plus scheduled base backups (WAL for PostgreSQL, binlog for MySQL), compressed and encrypted, to the customer's own object storage — and point-in-time recovery to any second inside the retention window.

Declarative, reproducible, and yours

The entire database — version, replica count, failover policy, backup schedule, roles, tuning — is configuration in a Git control repository, continuously reconciled. There's no console ritual and no drift: what's in Git is what's running. Because it's self-hosted, you also get back the control a managed service takes away — separate transaction-log storage, full engine-parameter tuning, superuser, and any extension or plugin you can install.

It isn't free — it's cheaper

Self-hosting trades a metered, per-instance premium for a fixed platform cost and the people to run it: the operator, version upgrades, patching, and restore drills are real work. The economics flip the moment that platform is amortized across more than a couple of databases — and most teams running Kubernetes already have it. Past that point, each new database is a few gigabytes of storage and some compute on nodes you already run, not another rented instance with a floor and a markup.

Backups You Can Actually Test

This is the part that doesn't show up in a per-hour price comparison, and it's the one operators feel most. Because an operator-driven restore is just another manifest — a new cluster that bootstraps from the backup and replays the transaction log to a timestamp you name — testing a restore is a kubectl apply into a throwaway namespace on nodes you already run. It's cheap enough to run every night in CI and assert the recovered data is correct, which is the only thing that turns a backup from a hope into a guarantee.

Proving a restore worksManaged RDSSelf-hosted (operator-driven)
How you test itProvision a new instance from a snapshot / PITRApply a recovery manifest to a scratch namespace
What it stands upA full, paid instance + a second copy of the storagePods on existing nodes + transient disk
Marginal cost of one testInstance-hours + full storage for the test windowPennies on compute you already have
Run it nightly in CI?Not realistically — it's a budget lineYes — it's a cron job

On a managed service, "we test our point-in-time recovery every night and verify the result" is a project nobody funds. On a self-hosted operator it's a scheduled manifest. That difference — not the monthly bill — is usually what people mean when they say the self-hosted platform made backup and recovery feel like a non-event.

Visibility a Managed Service Won't Give You

Because the database runs as pods you own, it exposes its full internal state as Prometheus metrics — scraped by a PodMonitor straight into the same observability stack where the rest of your telemetry already lives. Not a walled-off vendor console with a seven-day retention window: your metrics, your dashboards, your retention, cross-linked with the application traces and logs around them.

And the depth is the point. These are the open-source dashboards that ship with the operators — no custom instrumentation required: per-instance replication and WAL-archive lag, recovery points, connection saturation, transaction-ID wraparound, buffer and cache behavior, longest-running transaction, deadlocks, and blocked queries — live, per cluster.

CloudNativePG Grafana dashboard: per-instance health, replication and write/flush/replay lag, WAL-archive status, last base backup and first recoverable point, connection counts, and transaction-ID wraparound across a three-node PostgreSQL cluster.
The open-source CloudNativePG dashboard — replication and write/flush/replay lag, WAL-archive and backup status, recovery point, connections, and per-instance health across a three-node cluster, out of the box.
Percona MySQL Overview Grafana dashboard: uptime, queries per second, InnoDB buffer pool size and share of RAM, and metric sections for connections, table locks, temporary objects, sorts, network, memory, command handlers, query cache, and files and tables.
The same depth for MySQL — Percona's MySQL Overview dashboard: QPS, InnoDB buffer pool, connections, handlers, memory, locks, and more, all as Prometheus metrics in your own Grafana.

Managed RDS gives you Performance Insights and a fixed menu of CloudWatch metrics — in AWS's console, on AWS's retention. Here you get the engine's own internals, in your own observability stack, kept as long as you like and correlated with everything else you run. We've never seen this level of detail out of RDS.

Proven in Production

This isn't a paper design. At Terrace, a crypto trading platform, we ran CloudNativePG and managed RDS side by side in production and then standardized on CloudNativePG:

Cheaper and Faster Than RDS

~3× lower cost · better performance · trivial backups

Running both in production, CloudNativePG came out both more economical and more performant — dedicated, right-sized nodes, a separate WAL volume, and full engine tuning, with none of the managed-service abstraction between Postgres and the disk. The Barman backup integration made maintenance, backup, and recovery a non-event.

Workloads RDS Can't Run at Any Price

Multi-terabyte TimescaleDB · unavailable on RDS

Terrace's market-data stores were multi-terabyte TimescaleDB clusters. Managed RDS doesn't offer the TimescaleDB extension at all — so for the core workload it was never a cost comparison. Self-hosting was the only option that ran the database the business actually needed.

That proof is PostgreSQL, but the architecture isn't engine-specific. The same declarative, operator-driven model runs MySQL on Percona with the same HA, the same object-storage backups and point-in-time recovery, and the same economics — one operational pattern across both engines, rather than a different managed product and a different bill for each.

The Numbers

Matched configurations — same CPU and memory, same copies of the data, same high-availability posture, same point-in-time recovery — priced against current public list prices. CloudNativePG is the baseline row.

One large production database (HA, ~1.3 TB)

Option~$/monthvs. CNPG
CloudNativePG — self-hosted (on-demand nodes)~$1,945—
CloudNativePG — with committed-use compute~$1,5000.8×
Managed RDS (Multi-AZ + read replica)~$5,280~2.7–3.5×

A full production fleet (an enterprise SaaS platform)

WorkloadManaged RDS ~$/moCloudNativePG ~$/mo
Large transactional DB (32 vCPU, 1.3 TB, HA)~$7,200~$2,300
Mid-size application DB (16 vCPU, 1.2 TB, HA)~$2,900~$1,150
Reporting DB (8 vCPU, single-AZ)~$700~$400
~8 small service databases~$250~$40
Total~$11,050~$3,900

The provisioned-IOPS trap. On that fleet, a large share of the managed bill was provisioned IOPS (io1) and a network-optimized instance class chosen to feed it. In production we repeatedly find that general-purpose gp3 storage carries the same workloads without it — and when it does, that line, often the single largest, simply disappears.

We're honest about where the saving comes from: it's a "gp3 is enough" finding, not a free lunch. If a workload genuinely needs provisioned IOPS, CloudNativePG mounts the same EBS and pays the same for it — so the win there narrows to the instance premium and storage price. The way to know is to measure the actual I/O the current fleet drives before committing to either number.

Figures are order-of-magnitude estimates against public list prices as of October 2026; actuals vary with region, instance pricing (Graviton and committed-use discounts lower the CNPG column further), storage class, and HA level. Self-hosted compute is attributed at on-demand EC2 for a fair comparison; in practice it rides discounted, bin-packed nodes, so the real marginal cost is lower. The platform itself — Kubernetes, the operator, and the people who run them — is a real fixed cost not shown per-database; the economics assume it's amortized across a fleet, which is where self-hosting wins. The figures here are measured on PostgreSQL; the same instance-versus-managed structure drives equivalent savings for MySQL on Percona.

Same Database, Any Substrate

Because the whole platform is Kubernetes-native and declarative, the database runs the same way everywhere — AWS, GCP, Azure, Alibaba Cloud, or bare metal in your own datacenter — provisioned, configured, backed up, and recovered from one source of truth. That's where the economics get genuinely lopsided: on owned hardware the per-instance meter disappears entirely, and the same manifests that ran your cloud databases run the metal ones. No rewrite, no second operational model, no lock-in to the one cloud that happens to host your data today.

Run your own databases.

High-availability PostgreSQL or MySQL with tested, point-in-time recovery — architected, built, documented, and handed off to your team, with full control of the engine and the bill.

Get in Touch