A managed database costs more per unit of compute than the same engine on a virtual machine. That comparison is incomplete, because it prices the server and ignores the operational responsibility.
What managed actually removes
- Automated backups with tested point-in-time recovery.
- Minor version patching on a schedule you choose.
- Replication and failover configured and monitored.
- Baseline metrics without assembling an exporter stack.
- Storage growth handled without a maintenance window.
Each is achievable yourself. The question is whether your team wants to own them, and whether they will still be owned well in eighteen months when the person who set them up has moved on.
When self-hosting is the right call
| Reason | Notes |
|---|---|
| Unsupported engine or extension | The managed catalogue does not include it. |
| Deep configuration control | You need parameters the service does not expose. |
| Cost at scale | Large, steady workloads where the premium is material. |
| Existing operational expertise | The team already runs databases competently. |
| Co-location requirement | The database must sit on the same host as something else. |
If you self-host, do these five things
- Automate backups off the instance, and restore one on a schedule to prove it works.
- Monitor replication lag, disk space and connection counts with alerts.
- Document and rehearse the failover procedure.
- Patch on a schedule, not on discovery of a vulnerability.
- Keep configuration in code so the instance can be rebuilt.
A pragmatic default
For most teams below a dedicated platform function, start managed. The premium buys back attention that is better spent on the product, and migrating to self-hosted later is a known, bounded exercise. Reverse migrations – from a struggling self-hosted database to a managed one during an incident – are considerably less pleasant.
Summary
Compare total responsibility rather than instance price. Self-host when you have a specific reason and the operational capacity; otherwise let the platform hold the pager and spend the time elsewhere.