Postgres on a VPS
PostgreSQL on Hetzner · databases · reviewed by Stan K. · Source: data snapshot · data as of 2026-11-12
Postgres on a Hetzner CX23 (2 vCPU / 4GB / 40GB, 20TB traffic) at €5.99/mo ex. VAT — the box that beats managed $25–60+ prices if your 2–4 admin hours a month are free.
#4 of 9 in Databases
ToolScore breakdown — why 80/100
10 criteria × 10 points. Low pillars are visible on purpose — that's the point of a score you can audit. Methodology →
What it does well
- ▸€5.99/mo ex. VAT + 20TB traffic vs managed $25–60+ for 1–4GB RAM
- ▸At 50GB+ of storage or egress this wins outright — at $0.09/GB, egress becomes the product you’re buying
- ▸Predictable load: provisioned once, ignored for months
- ▸The full feature set: RLS, PostGIS, pgvector — the features that decide before load does
- ▸It is the portability destination: Supabase exits to it via pg_dump, zero schema change
Where it costs you
- ▸Requires a sysadmin on call — 2–4 h/mo of admin is $150–300 of opportunity cost at $75–150/h
- ▸True cost stacks: backups to R2/B2 $1–3/mo, monitoring $0–5, plus the box
- ▸An idle VPS bills anyway — scale-to-zero (Neon, Turso) bills $0 for idle
- ▸At our 11.2026 check all CX plans showed “not available” — the class moved to CAX11/CPX12/CX33
Hidden traps — the stuff the pricing page doesn't say
€5.99/mo is the headline; the honest month adds pgBackRest/WAL-G backups to R2/B2 at $1–3/mo, monitoring at $0–5, and 2–4 h/mo of admin — $150–300 of your time at $75–150/h. A €5.99 VPS “beats” $25/mo managed only if your hours are free.
Checked 11.2026: all CX plans showed “not available” on the page; the same class of hardware sits at ARM CAX11 (2 vCPU/4GB, €6.49) and CPX12 (1 vCPU/2GB, €9.99), CX33 at €8.99 — EU prices ex. VAT, 20TB traffic. Quote the current line, not the blog post.
The always-on box is the flip side of scale-to-zero: Neon and Turso bill $0 for idle while an idle VPS bills anyway. Spikey serverless traffic is the workload this loses on.
Know the limits before you pay: read the traps above, then decide with eyes open.
Visit official siteAffiliate link where available — never affects the score.
- official Hetzner Cloud cost-optimized (CX) pricing — the CX23 hardware class, checked 11.2026 verified
Data as of 2026-11-12. Prices and limits change monthly — report anything stale. How we verify: methodology.
Closest alternatives
Compute billed in CU-hours with scale-to-zero after 5 min — $0 for idle, ≈$19.35/mo always-on (0.25
The BaaS whose exit is pg_dump — Supabase → any Postgres in 1–5 days, zero schema change — $25/mo Pr
Row-based pricing with the largest free cap in the table — 500M reads + 10M writes/mo covers our her
Postgres on a VPS review
In-depth analysis · last updated 2026-11-12
The math that embarrasses managed pricing
A Hetzner CX23 — 2 vCPU, 4GB RAM, 40GB — costs €5.99/mo ex. VAT and carries 20TB of traffic. Managed database vendors charge $25–60+ for 1–4GB of RAM. On the raw spec, self-hosted Postgres wins by an order of magnitude, and at 50GB+ of storage or egress it wins outright: at $0.09/GB, egress becomes the product you’re buying. The license is permissive (PostgreSQL License); the exit mathematics are the best in this comparison by definition — Supabase’s celebrated pg_dump exit (1–5 days, $500–3K, zero schema change) lands on exactly this box.
The honest month
The hub’s line is the one to internalize: a €5.99 VPS “beats” $25/mo managed only if your hours are free. The true cost is three lines — pgBackRest/WAL-G backups to R2/B2 at $1–3/mo, monitoring at $0–5, and admin at 2–4 h/mo, which is $150–300 of opportunity cost at $75–150/h. Add the availability footnote from our 11.2026 check: all CX plans showed “not available”; the same hardware class sits at ARM CAX11 (2 vCPU/4GB, €6.49), CPX12 (€9.99), CX33 at €8.99 — EU prices ex. VAT, 20TB traffic.
When it wins, when it doesn’t
Two conditions select this row: 50GB+ of storage or egress, and predictable load — provisioned once, ignored for months. Two conditions deselect it: spikey serverless traffic (scale-to-zero bills $0 for idle; an idle VPS bills anyway) and nobody on call. And features decide before load does: RLS, PostGIS, pgvector → Postgres, at any traffic level — the strongest feature fact in the whole comparison.
How the pillars land
Price/Value 9: €5.99 + 20TB against managed $25–60+ — the discount is real, the admin tax is priced in. Real limits 9: 4GB/40GB/20TB, expandable by plan, no per-operation meter. Latency & cold starts 7: always-on — no scale-to-zero cold starts to design around (the idle VPS “bills anyway” is the same fact seen from the other side); no latency benchmarks in this snapshot. Data handling 9: your own box, your own data files, your own backup destination — nothing routes through a provider’s meter. Portability & export 9.5: pg_dump and permissive licensing; it is the destination other products exit to. Feature set 9: RLS, PostGIS, pgvector — the features that decide before load does. Track record 8.5: PostgreSQL License (permissive), and a database whose only limits are the box’s — provisioned once, ignored for months. Ease of use 4.5: the sysadmin is the product — 2–4 h/mo is the entry fee, and the hub’s win condition says so out loud. Pricing transparency 9.5: every cost line is public, including the ones against the product (the admin hours). Support & docs sits at the neutral 5 — you are the support; nothing vendor-side was verifiable in this snapshot.
Verdict — OWN THE BOX, 80/100
Take Postgres on a VPS when the workload is big, flat and yours: 50GB+, predictable load, someone on call. Skip it when traffic is spikey (scale-to-zero exists for a reason) or when the 2–4 admin hours a month would come out of feature work. Price the exit before you enter — and note that entering here means never needing one.