Self-Hosting on a VPS: The Practical Setup Guide
2026-10-13
A $6 VPS can replace a surprising amount of SaaS — automation (n8n), media (Plex/Jellyfin), files (Nextcloud), dashboards, bots, personal sites. The catch is that you’re the ops team now. This is the minimum setup that keeps a self-hosted box alive without becoming a hobby in itself.
The stack that covers 90% of cases
- Docker + Compose — every mainstream self-hosted app ships a compose file. No native packages, no dependency fights.
- Caddy or Traefik as reverse proxy — automatic TLS via Let’s Encrypt, clean routing per subdomain (
n8n.example.com,cloud.example.com). - A firewall that blocks everything except 22/80/443 —
ufwdefault-deny inbound. - Off-box backups — restic to object storage nightly; the VPS disk is not a backup.
- Unattended security updates —
unattended-upgradesfor the OS;watchtower(or a weekly cron pull) for containers.
Sizing honestly
- n8n / dashboards / bots: 1 vCPU + 1–2 GB is fine.
- Nextcloud: runs on 2 GB, wants 4 GB once you add Talk/Office.
- Plex/Jellyfin: CPU is fine for direct-play; transcoding wants Quick Sync or a beefier CPU — check the Plex comparison for which providers allow it.
- Postgres for anything serious: dedicated volume, snapshots on, and don’t share it with ten other apps.
Provider pick
Any provider with NVMe + snapshots + a real region near you works. See the ranked picks in best VPS overall (balanced), cheap VPS (price-first), or free tier (if your workload fits ARM/1 GB class limits).
The maintenance contract you’re signing
Self-hosting trades money for ~30 minutes a month of updates and an occasional restore drill. If that trade excites you, great — it compounds. If it sounds like a chore, hosted tiers exist for most of these tools and they’re often worth it.