Self-Hosted PostgreSQL vs Managed: Real Cost
DigitalOcean and Render managed Postgres pricing next to the same database on a $4 VPS. Real monthly costs, sourced, and what the managed premium buys you.
Part of our study: Self-hosting vs SaaS: the real monthly cost (October 2026), which sets these figures beside every other self-hosting cost page.
A hosted PostgreSQL service sells a database and runs it for you: provisioning, backups, upgrades and failover options are part of the price. PostgreSQL on your own server sells you the server, and the rest is your work. This page puts the two side by side at the same CPU and memory, using DigitalOcean's and Render's database plans, with their prices as of 2026-10-19. VeloxaHost does not sell a managed database; the VeloxaHost column is a server you run PostgreSQL on yourself.
The monthly cost
PostgreSQL here is the one-click PostgreSQL app, which installs PostgreSQL 16 on Ubuntu 24.04. Its recommended size is Veloxa 2 ($15 a month, $0.03 an hour). The smaller rows use Veloxa Nano ($4 a month, $0.01 an hour) and Veloxa 1 ($8 a month, $0.02 an hour), the larger one Veloxa 4 ($30 a month, $0.05 an hour).
| CPU and memory | DigitalOcean, one node | Render instance | PostgreSQL on VeloxaHost |
|---|---|---|---|
| 1 vCPU, 1 GB | $15.15 (storage range 10-30 GiB) | $19 (less than 1 CPU, 1 GB) | Veloxa Nano: $4, 25 GB disk |
| 1 vCPU, 2 GB | $30.45 (storage range 30-60 GiB) | $40 | Veloxa 1: $8, 50 GB disk |
| 2 vCPU, 4 GB | $60.90 (storage range 60-120 GiB) | $75 | Veloxa 2: $15, 80 GB disk |
| 4 vCPU, 8 GB | $122.10 (storage range 140-280 GiB) | Not listed; 2 CPU and 8 GB is $100 | Veloxa 4: $30, 160 GB disk |
DigitalOcean's figures are its Standard edition, Basic nodes with regular CPUs, a single node and no standby. Its pricing page bills storage at $0.215 per GiB a month in 10 GiB steps within each plan's range, and lets you add standby nodes, which are not in the prices above. Render's figures are the instance price on its Hobby workspace plan, which is $0 a month plus compute; storage is extra at $0.30 per GB, so 80 GB adds about $24 a month.
At the same CPU and memory, the server costs about a quarter to a fifth of the hosted plan, and its disk is included.
What the VeloxaHost column leaves out
- Failover. One server is one server. DigitalOcean offers standby nodes and Render lists high availability and read-only replicas. On VeloxaHost, a second server with replication is something you build, at a second server's price.
- Point-in-time recovery. Render's pricing page lists a point-in-time recovery window of 3 days on Hobby and 7 days on its paid plans. VeloxaHost snapshots and scheduled backups restore the whole server to the moment they were taken; recovery to any second needs WAL archiving that you set up.
- Upgrades and tuning. Minor releases come from
apt upgrade, and a major upgrade, for example 16 to 18, is a job for you. PostgreSQL does not retune itself when you resize the server. - Reaching it from elsewhere. There is no private network between servers in US East yet, so an app on another server connects through a forwarded port of the shared IPv4 block, over SSL, with
pg_hba.confand the firewall limited to that app's address. A dedicated IPv4 address is a paid add-on with limited availability; the console shows its current price.
Where DigitalOcean or Render is the better pick
- Production data with nobody on call. If a failed upgrade or a full disk at 3 a.m. would be nobody's job, the hosted plan's price includes that job.
- Failover and recovery options on the price list. Standby nodes on DigitalOcean and point-in-time recovery on Render are options you select there; here they are projects.
- Your app already runs there. A database next to the app, on the same provider's network, is simpler than a connection over the public internet.
- Tiny or idle databases. Render lists a free Postgres instance with limitations, which costs less than any server for a hobby project.
Where self-hosted PostgreSQL is the better pick
- Price for the size. 2 vCPU and 4 GB of RAM cost $15 here against $60.90 and $75, with 80 GB of disk included.
- Control. Any extension, any
postgresql.confsetting and superuser access, because the server is yours. - Database and app on one server. For a small product, running both on one Veloxa 2 removes the network hop and the second bill.
- Development and staging databases. Billed by the hour and capped at the monthly price, a database you stop at night costs less.
FAQ
Is PostgreSQL free?
PostgreSQL is released under the PostgreSQL License, a short permissive license, with no fee. You pay for the server: $15 a month on Veloxa 2, the recommended size.
How do I back up PostgreSQL on VeloxaHost?
Schedule snapshots (hourly up to weekly, kept for 1 to 30 days) and full backups (every 6 hours up to weekly, keeping 1 to 10) from the server page, and keep pg_dump exports too. A dump restores a single database or table and moves between major versions; a snapshot restores the whole server.
Can my app on another server connect to it?
Yes, over the shared IPv4 address and a forwarded port, with SSL required and only your app's address allowed in pg_hba.conf and the firewall. There is no private network between servers in US East yet.
Can I move from DigitalOcean or Render?
Dump the database with pg_dump, restore it with pg_restore on the new server, then point your app at it. For a large database, plan a short write freeze while you switch.
What does a month cost if I only run it for part of it?
Its hours: $0.03 for each hour a Veloxa 2 runs, up to $15. A server you stop is not charged.
Facts about DigitalOcean or Render were checked on 2026-10-19 against their own published pages: www.digitalocean.com, render.com. Prices and plans change; check theirs before you decide.
Ready to deploy?
Start a free trial, or compare plans to match your team's scale.