Skip to content
Open source software sorted out: licenses, Linux, free replacements and self-hosting for small teams
  1. Home
  2. Self-Hosting & IT
  3. Self-Hosting Explained: When Running Your Own Services Pays Off

Self-Hosting Explained: When Running Your Own Services Pays Off

Written by Source Shelf EditorsPublished 13 min readSources: 17

Self hosting means running apps such as file sync, a password manager or a media server on hardware you control instead of paying a provider. It pays off when you value control over your data, someone can handle updates, backups and restores every month, and per-user fees keep rising.

The short version
  • A rented VPS still counts as self-hosted if you manage the system and apps on it; a managed plan does not.
  • Running your own service adds six recurring tasks: updates, backups, restore tests, certificates, access control and monitoring.
  • Let's Encrypt certificates last 90 days today and drop to 45 days by February 2028, so renewal must be automated.
  • Start with one low-risk app you can rebuild from scratch, and move real data only after a tested restore.
  • Small teams usually keep outgoing email and payroll on SaaS and bring file sync or a password vault in-house.
Hand plugging a cable into a mini server beside a storage box and router
On this page
  1. What self-hosting means in practice
  2. Self-hosted vs cloud: what actually changes hands
  3. The work you take on, task by task
  4. A realistic starter set of self-hosted apps
  5. How to run your first service without risking data
  6. Mistakes that turn a home server into a liability
  7. What a small team should keep on SaaS
  8. Frequently asked questions

Most people arrive at this question from a bill or a scare: a subscription price went up, a service shut down, or someone asked where the organization's files actually live. Running software on your own hardware answers all three, but it also hands you a job that a vendor used to do. This guide shows what that job contains, so you can decide service by service.

What self-hosting means in practice

Self-hosting is running a website or an application on a server you control, either a machine at home or in your office, or a rented server where you hold full administrator access. Wikipedia defines it as running a service "on either a home server or a server fully under the user's control, as opposed to using a service managed by someone else." The line that matters is who installs, updates and backs up the software. If that is you, you are the host.

So a rented virtual private server (VPS) counts, as long as you manage the operating system and the apps on it. A managed WordPress plan or a hosted Nextcloud account does not, because the provider runs the server side for you. The same split applies to a self-hosted website. A static site on your own box or VPS is self-hosted, while a site builder subscription is not.

Most modern self-hosted apps ship as containers, which package an application with everything it needs so it runs the same on any Linux server. Docker is the usual tool for running them. The software itself is usually free and open source, and if that term is new, our plain-English guide to open source software explains what the label does and does not promise.

Self-hosted vs cloud: what actually changes hands

Choosing between a self-hosted app and its cloud version moves three things to your side: control of the data, the operating work and the risk of downtime. A subscription bundles all of them into the fee; running it yourself unbundles them.

QuestionSelf-hostedCloud or SaaS
Where the data livesOn disks you own or a server you rent and administerIn the vendor's data centers, under its terms
Who applies updatesYou, on your scheduleThe vendor, often without asking
Who answers an outage at nightYou or whoever you nameThe vendor's on-call engineers
CustomizationFull access to config, plugins and sourceWhatever settings the vendor exposes
Leaving laterData and software stay with youDepends on the export tools the vendor offers
Cost shapeHardware, power and your timeA recurring fee, often per user

The last row is where comparisons are easiest to skew. Vendor blogs on both sides publish their own cost models, and those models depend heavily on what an hour of admin time is worth to you. A fair rule is narrower. A self-hosted app tends to make financial sense when per-user fees grow with your headcount and someone on staff already has Linux skills. If neither is true, the subscription is usually the cheaper option once time is counted.

To compare honestly, list every cost line on the self-hosted side before you decide, without assuming any of them is zero:

  • the server itself, or the monthly rent of a VPS;
  • extra disks or storage for the off-site backup copy;
  • a small UPS and the electricity to run the box all year;
  • a domain name and DNS, if anything must be reachable from outside;
  • the hours for updates, restore tests and the occasional fix.

Control is the more durable reason. When a vendor raises prices, changes its terms or retires a product, a team that runs its own copy keeps working, and its data never needed an export tool to begin with.

The work you take on, task by task

Running your own service adds six recurring tasks, and the decision is really about whether someone will do them every month. Guides tend to list them in one line; here is what each one involves in practice.

  • Updates. The operating system, the container images and the apps themselves each release fixes on their own schedule. Security patches need applying within days, and major versions need reading the release notes first, because database migrations sometimes break.
  • Backups. A copy on the same disk is not a backup. CISA, the US cybersecurity agency, recommends the 3-2-1 rule: three copies of important data, on two different types of storage, with one copy kept off site.
  • Restore tests. Bring one app back on a spare machine at least once a quarter and time how long it takes.
  • Anything reachable over HTTPS needs a TLS certificate. Let's Encrypt issues them free, currently valid for 90 days, and it has announced a move to 64 days in February 2027 and 45 days in February 2028, so renewal has to be automated.
  • Access and security. Each service needs strong admin passwords, two-factor login where offered, and as few ports exposed to the internet as possible.
  • For monitoring, something has to tell you that a disk is filling up or a service stopped before your users do. A small uptime checker and disk alerts cover most cases.
Hands placing a padded external backup drive case into a car glove box
One copy kept off site is part of the 3-2-1 rule, and someone has to carry it there regularly.

Hardware upkeep sits underneath all six. Disks fail, power cuts happen, and a small uninterruptible power supply (UPS) that lets the server shut down cleanly saves a lot of database repair. Plan where the box lives, too, because heat in a closet with no airflow shortens the life of disks and power supplies.

A realistic starter set of self-hosted apps

The best first app solves a problem you already have and holds data you can afford to lose while you learn. The community list awesome-selfhosted catalogs free software network services and web applications by category, which is more choice than help on day one, so start with this short set. Requirements below come from each project's documentation.

  • Pi-hole, a network-wide ad and tracker blocker that works as a DNS sinkhole. It needs about 512 MB of RAM and 2 GB of disk, plus a static IP address on your local network. The stakes are low but not zero. If Pi-hole is the only DNS server on your network and it stops, every device loses name lookups, so know how to switch your router's DHCP settings back to its own DNS.
  • WireGuard, a simple and fast VPN. Hosting your own VPN is the safer way to reach home services from outside, since you open one VPN port instead of exposing every app.
  • Home Assistant for smart-home devices. Its recommended install, Home Assistant Operating System, runs on a Raspberry Pi 4 or 5 with at least 2 GB of RAM.
  • Jellyfin, a media server for your own movies and music, licensed under the GNU GPL.
  • Nextcloud for file sync, calendars and contacts. Its manual recommends at least 512 MB of RAM per process, so plan a few gigabytes for a family or a small team.
  • Immich for photo backup from phones. It asks for at least 6 GB of RAM and 2 CPU cores, or 4 GB with machine learning features turned off.
  • A password manager. Bitwarden's self-hosted server needs 2 GB of RAM and 12 GB of storage at minimum. Vaultwarden is an unofficial, lighter server compatible with Bitwarden apps, released under the AGPL-3.0 license and not associated with Bitwarden, Inc.

Two more show up often when small offices consider hosting their own tools. n8n, a workflow automation tool, publishes a separate page to help you choose between its cloud and self-hosted versions. RustDesk, an open source remote desktop tool, lets you run your own ID server (hbbs) and relay server (hbbr), so support sessions between your machines go through infrastructure you manage.

Licenses matter if you modify one of these apps and offer it to others over a network, because AGPL software then obliges you to share your changes. When exactly that applies is covered in the guide to MIT, Apache, GPL and AGPL licenses on this site.

How to run your first service without risking data

Start with one low-stakes app on spare hardware, prove you can restore it, and only then move anything important onto it. Treat the order below as a short guide to hosting your first service. It keeps your real data safe while you learn.

  1. Pick the machine An old 64-bit laptop or a small mini PC is enough for a DNS blocker or a VPN. Install a long-term support Linux release so the base system gets security fixes for years.
  2. Install the container tools Set up Docker Engine with the Compose plugin and keep each app's configuration in its own folder, so one file describes how the app runs.
  3. Deploy one app Choose something you can rebuild from scratch, such as Pi-hole, and use it daily for two weeks.
  4. Back it up and restore it Copy the app's data folder off the machine, wipe the app, and bring it back from the copy. Write down every step.
  5. Add remote access last Reach the server through a VPN such as WireGuard rather than forwarding ports for each app on your router.
  6. Then move real data Only after a successful restore, migrate files or photos, and keep the original copies until the new setup has run for a month.

If you have not picked a Linux release yet, our comparison of beginner-friendly Linux distros and their support dates helps you choose one that stays patched for the life of the hardware.

Mistakes that turn a home server into a liability

Most home-server failures come from skipped routine work, not from the software itself. These are the patterns that cost people their data or their weekends:

  • Treating RAID or a mirrored disk as a backup. Mirroring protects against one failed drive, while a deleted folder or ransomware is copied to both disks instantly.
  • Exposing admin panels straight to the internet through port forwarding, often with the default password still set.
  • Letting a tool update every container automatically with no way back. Pin versions for apps that hold important data and update them deliberately.
  • Putting the only copy of family photos on a new server in its first week.
  • Running everything on one machine with no notes, so nobody else can fix it while you are away.
  • Setting up certificate renewal once and never checking it again after moving the server or changing DNS.

Fragile setup

  • One disk, mirrored, called "backup"
  • Admin pages open on public ports
  • Containers auto-updated blindly

Boring, reliable setup

  • Three copies, one off site, restore tested
  • Services reached through a VPN
  • Versions pinned, updates read and applied

What a small team should keep on SaaS

Keep a service with a vendor when downtime would stop the business and nobody can guarantee a fast fix. For a school, a nonprofit or a ten-person office, that usually means outgoing email, payroll and anything with a legal retention duty stay hosted, while file sync, internal wikis, password vaults and remote support are good candidates to bring in-house.

Email is the classic trap. Sending mail from your own server is easy; getting it accepted by large mailbox providers is not, because deliverability depends on your IP reputation and DNS records such as SPF and DKIM. A rented mail service keeps that reputation work off your desk, even if everything else runs in-house.

Hands passing a sealed envelope and a security key across a break-room counter
A second trained person means the service no longer depends on one admin.

If you are one person at home

Experiment freely, starting with Pi-hole or a VPN. The worst case is a weekend of rebuilding.

If you run IT for a small office

Bring in file sync or a password vault first, with a second person trained to restore it.

If nobody on staff knows Linux

Stay on SaaS, or pay a local provider to manage an open source app for you.

The real constraint in organizations is the bus factor, meaning how many people could keep the service running if the one admin left. If the answer is one, the service should be easy to move back to a hosted plan, which is another reason to favor apps with a cloud version on the same codebase.

Before you self-host a service at work

  • A named owner and a named backup person know how to restore it.
  • Backups follow the 3-2-1 rule and a restore has been tested.
  • Updates have a regular slot on the calendar.
  • TLS certificates renew automatically.
  • Admin access uses two-factor login and is not exposed to the internet.
  • The server sits on a UPS in a place with airflow.
  • You know how to export the data if you move back to a hosted plan.
  • The app's license fits how you plan to use and share it.

If every box is checked, running your own copy is a reasonable call for that service. If several are blank, the subscription is still buying you something real, and you can revisit the decision once a second person can share the work.

Frequently asked questions

Is self hosting cheaper than paying for SaaS?

It depends mostly on how many people use the service. For one or two users, a subscription tends to win, because the setup and monthly upkeep take the same hours whether one person logs in or forty. For a growing team on per-seat pricing, the fixed cost of a server spreads across more users, provided someone in-house can do the upkeep.

Can I run a home server on an old laptop?

Yes, for light services. An old 64-bit laptop handles Pi-hole, which needs about 512 MB of RAM, without trouble, and its built-in battery even rides out short power cuts. Heavier apps are another story: Immich asks for at least 6 GB of RAM, so photo backup for a family usually needs a newer mini PC.

Do I need to open ports on my router?

Usually not for every app. The safer pattern is to open a single VPN port, for example for WireGuard, and reach all your services through that tunnel. Each port you forward to an admin panel is something attackers can scan, so public exposure makes sense only for a service that strangers must reach, such as a website, and it should sit behind HTTPS.

What happens to my data if an app's project shuts down?

Your data stays on your server and the installed version keeps running. With open source software you also keep the code, so the community can fork it or you can export the data to another tool at your own pace. The risk shifts to security: without updates, the app should stop being reachable from the internet.

Is renting a VPS still considered self-hosted?

Yes, if you administer it yourself. The catch is that the provider can still lose the whole machine for you, through a suspended account or a data center outage, and snapshots kept in that same account vanish with it. Store at least one backup with a different company, so a rebuild never depends on the first provider.

References (17)
  1. Wikipedia: Self-hosting (network)
  2. awesome-selfhosted: list of Free Software network services and web applications
  3. CISA: Back Up Business Data
  4. Let's Encrypt: FAQ
  5. Let's Encrypt: Decreasing Certificate Lifetimes to 45 Days
  6. Docker Docs: Docker Engine security
  7. Pi-hole documentation: Overview
  8. Pi-hole documentation: Prerequisites
  9. WireGuard: fast, modern, secure VPN tunnel
  10. Home Assistant: Installation
  11. Jellyfin: The Free Software Media System
  12. Nextcloud Administration Manual: System requirements
  13. Immich: Requirements
  14. Bitwarden: Linux Standard Deployment
  15. Vaultwarden on GitHub
  16. n8n Docs: Host n8n
  17. RustDesk Documentation: Self-host
About this article

Source Shelf Editors. Each article is put together from open sources such as license texts, project documentation and published research, and revised when those sources change.

Reviewed by the editors November 2, 2026. How we write and fact-check articles. Spotted an error? Email us at [email protected].