Self-hosting

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

  1. RAM. The first wall. A container killed by the OOM killer looks exactly like a random crash.
  2. 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.
  3. Disk I/O. The third. Cheap VPS providers oversubscribe storage; a database doing real writes will crawl at 200 IOPS.
  4. CPU. Almost never the limit for small teams. It matters for transcoding, image processing and builds.

RAM per app, realistically

App typeTypical RAMNotes
Static site / proxy (Caddy)30–80 MBEffectively free
Small Go/Rust app (Uptime Kuma, Vaultwarden)50–150 MBExcellent density
Node app (n8n, Ghost, Chatwoot)250–600 MBSpikes during jobs; set a memory limit
Postgres / MySQL200–500 MBShared by several apps if they tolerate it
Elasticsearch / OpenSearch1–2 GBWants its own box, or a smaller alternative
Nextcloud + database500 MB–1 GBPHP workers add up under load
Matomo500 MB–1 GBHeavier than Plausible or Umami
Jellyfin (direct play)300 MBTranscoding 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

  1. Add up the RAM column for what you plan to run, then add 25%.
  2. Double the disk you think you need — databases grow quietly.
  3. Pick a provider that can snapshot.
  4. Set memory limits, log rotation and a disk alert before the second app.
  5. Write down what you will drop first if RAM runs out. You will need that list.
tf
techifyFlow editorial

We research, test and document software for small teams. Guides are written from primary sources — project documentation, licence text and our own installs — and updated when the facts change. How we work.

This guide contains affiliate links. If you sign up through one we may earn a commission at no extra cost to you. Full disclosure.