Intel Library / Digital Sovereignty
Digital Sovereignty · Beginner · Free guide
Self-Hosting Basics: Run Your Own Services
Updated 2026-11-28
GuidesSelf-hosting means running the software you depend on (files, photos, passwords, media, a website) on hardware you control instead of renting it from a platform. You trade some convenience for control over your data, your costs and your uptime. It is a skill you build in steps, not a weekend project you finish.
Decide what is worth hosting
Start with services where owning the data matters and the failure cost is low:
- File sync and photos. Replace cloud drives and photo backups.
- Password manager. Self-hosting a vault server is possible, but only after you have a tested backup plan (see the password guide).
- Media and documents. Music, video, ebooks, scanned paperwork.
- Notes, RSS and bookmarks. Small, easy, and a good first project.
Do not self-host email as a first project. Delivery reputation is hard to build and easy to lose.
Hardware you actually need
- A small always-on machine. A used mini PC or a spare desktop is plenty for a handful of services. Low idle power draw matters, because it runs 24/7.
- Storage with redundancy. One disk is a single point of failure. Mirrored disks protect against a disk dying, not against deletion, ransomware or fire.
- RAM. 8 GB covers many small services. More helps once you run several containers or a database-heavy app.
- A UPS (battery backup) keeps the machine from corrupting data during short outages.
The software side
Most people run services in containers (Docker or Podman) described by a text file (a “compose file”). The benefits: each service is isolated, upgrades are repeatable, and the whole setup is a folder you can back up and move to new hardware.
Good habits from day one:
- Keep every service’s config and data in a predictable folder structure.
- Pin image versions, and update on purpose rather than automatically.
- Write down what you did. A short runbook per service saves you months later.
- Never expose an admin page to the internet “just to test”.
Reaching your services safely
- Inside your home: use a local DNS name or the machine’s IP.
- From outside: prefer a private mesh VPN (WireGuard-based tools are common) so nothing is open to the whole internet. Opening router ports directly exposes you to constant automated scanning.
- If you must publish something publicly, put it behind a reverse proxy with HTTPS and strong authentication, and keep it patched.
Backups are the point
A self-hosted setup without tested backups is a liability. Follow the 3-2-1 rule: three copies of your data, on two different kinds of media, with one copy off-site. Then test a restore. A backup you have never restored is a hope, not a backup.
Security checklist
- Unique, long passwords for every admin account, stored in a password manager.
- Two-factor authentication wherever it is offered.
- Automatic security updates for the host operating system.
- A firewall that denies inbound traffic by default.
- Logs you can actually read when something looks wrong.
A sensible order
- Pick one machine and install a stable Linux distribution.
- Set up backups before you add data.
- Install one small service (notes or RSS). Live with it for a month.
- Add private remote access.
- Add the next service only when the last one is boring.