Database / Postgres / Redis
Dedicated CPU, NVMe, plenty of RAM.
Databases live and die by IO + RAM (page cache). You want NVMe + dedicated CPU (shared vCPU has variable latency that kills your p99). For serious Postgres: 8GB RAM minimum, 16+ recommended.
RAM ≥ 16 GB CPU ≥ 4 cores Storage ≥ 100 GB
Recommended plans
Chosen for fitting the requirements and the price/performance for this workload.
Why: 8 dedicated AMD vCPU + 32 GB RAM + NVMe
Why: 128 GB DDR5 + 2× 1.92TB NVMe for serious databases
Operational tips
- NEVER use shared vCPU for a serious production database
- Snapshot backups + WAL archiving to cheap S3 storage
- Consider connection pooling (PgBouncer) so you don't burn RAM