What actually fits on a €5 VPS (and what will fall over)
A practical sizing guide: how much RAM each kind of self-hosted app really needs, how to stack them, and the four limits that cause outages before CPU ever does.
The most common self-hosting mistake is not choosing the wrong app. It is buying the wrong size of server, then blaming the software when it falls over. Here is what actually consumes resources, and how far a small box stretches.
The four limits, in the order they bite
- RAM. The first wall. A container killed by the OOM killer looks exactly like a random crash.
- Disk. The second. Log files and database growth fill a 40 GB disk in months, and a full disk takes the database down with it.
- Disk I/O. The third. Cheap VPS providers oversubscribe storage; a database doing real writes will crawl at 200 IOPS.
- CPU. Almost never the limit for small teams. It matters for transcoding, image processing and builds.
RAM per app, realistically
| App type | Typical RAM | Notes |
|---|---|---|
| Static site / proxy (Caddy) | 30–80 MB | Effectively free |
| Small Go/Rust app (Uptime Kuma, Vaultwarden) | 50–150 MB | Excellent density |
| Node app (n8n, Ghost, Chatwoot) | 250–600 MB | Spikes during jobs; set a memory limit |
| Postgres / MySQL | 200–500 MB | Shared by several apps if they tolerate it |
| Elasticsearch / OpenSearch | 1–2 GB | Wants its own box, or a smaller alternative |
| Nextcloud + database | 500 MB–1 GB | PHP workers add up under load |
| Matomo | 500 MB–1 GB | Heavier than Plausible or Umami |
| Jellyfin (direct play) | 300 MB | Transcoding needs CPU, not RAM |
What a 2 GB box really holds
Comfortably: a reverse proxy, one database, and three to five small-to-medium apps. In practice that looks like Caddy + Postgres + Uptime Kuma + Vaultwarden + a Node app. That is a realistic small-business stack, and it replaces several subscriptions.
What it does not hold: Elasticsearch, a video transcoder, or five Node apps each with their own database. Those need 4 GB and a plan.
What a 4 GB box holds
Most of the directory. Ten to fifteen containers is normal if you stack databases, and this is where the economics get embarrassing for SaaS: €15 a month replacing a few hundred in subscriptions.
Stacking rules that prevent 3am pages
- One reverse proxy for everything. Caddy or Traefik, one place for certificates.
- Separate databases per app, shared server. Cheap and isolated enough for small teams.
- Set memory limits on each container, so one runaway job cannot take the host down.
- Swap on, but not as a strategy. 2 GB of swap stops a crash; it does not fix sizing.
- Log rotation from day one. Docker's default logs will eat a disk.
- Backups off the box. A snapshot on the same provider is not a backup.
The cheap-VPS traps
Burstable CPU. A "2 vCPU" plan that gives you 20% of a core will be fine until a backup job runs during business hours.
Network-attached storage. Cheap providers put disks on the network. Latency shows up as a slow database, not as an error.
No snapshot option. If the provider cannot snapshot, your recovery plan is a rebuild from scratch.
IPv6-only. A handful of providers now ship IPv6-only instances with IPv4 as an add-on. Check before you buy, or half your users cannot reach the app.
When to skip the server entirely
If the goal is the app and not the administration, a managed container host removes the sizing question: you pay a little more and inherit none of the four limits above. RepoCloud is the one we point people at for that (affiliate link, same price to you). The honest rule: a VPS is cheaper if you enjoy this; a managed host is cheaper if you do not.
The sizing checklist
- Add up the RAM column for what you plan to run, then add 25%.
- Double the disk you think you need — databases grow quietly.
- Pick a provider that can snapshot.
- Set memory limits, log rotation and a disk alert before the second app.
- Write down what you will drop first if RAM runs out. You will need that list.
Related guides
How to self-host an app without losing a weekend
A step-by-step walkthrough of putting one open-source app on the internet properly — server, DNS, reverse proxy, backups and updates — including the parts the tutorials skip.
Self-hosted analytics: what you actually get for the effort
Plausible, Umami and Matomo compared on footprint, data ownership and report quality — plus why a single server-side pageview is often worth more than a cookie-banner funnel you never read.
The per-seat pricing trap: the exact point where replacing a tool pays
Per-seat software is cheap at three people and punishing at fifteen. Here is the arithmetic for when to replace it, worked at three team sizes.