DEV Community

Cover image for What I run on my own servers, and why
Mario Fang
Mario Fang

Posted on Edited on Originally published at mariosfong.hashnode.dev

What I run on my own servers, and why

The last time I rebuilt one of my own servers from scratch, it took an evening, and when I was done I had put back three services and quietly left six in the bin. That gap is the most honest inventory I have ever taken of my self-hosting: what I bothered to reinstall when nobody was watching, and what I had been keeping alive purely because deleting it felt like giving up.

Self-hosting gets sold as a hobby of accumulation. You start with one thing you actually need, then every tutorial ends with "and now you have another service," and none of them mention the bill that comes due later. The bill isn't money. It's attention.

The real cost of a service is that it becomes yours

Every thing you run comes with a config file, an update cadence, a database that needs backing up, a port, a certificate, and a failure mode you have not met yet. None of that is expensive on the day you install it. All of it is expensive on the day it breaks while you are doing something else.

So I stopped asking "is this useful?" — everything is useful in the abstract — and started asking one question: if this stopped working tonight, would I find out before a person did? If the answer is no, it isn't a service. It's a liability I am maintaining for free.

Everything that survived is either a watcher, a record, or a way back in

  • A reverse proxy holding the certificates. Not interesting, but everything else sits behind it and it has almost no moving parts.
  • Monitoring that tells me a disk is filling or a backup didn't run. The one I would keep if I could only keep one, because it is the only thing watching the others.
  • A small internal wiki. Runbooks, mostly. Written for the version of me at two in the morning who has forgotten how any of this works.
  • A backup target that the protected machines cannot reach. Backups are the one area where "it's working" is not evidence of anything.
  • Plain SSH. So I can still get in when everything in front of it is broken.

Five things, and note the shape of the list: each one either watches the others, documents them, or gets me back in. Nothing on it is there because it's interesting.

A server setup with cables and equipment

Cutting things was the actual skill

The cuts were harder than the installs, because each one had a story attached.

The media server went first. I had spent a weekend organising a library I then watched twice. The organising was the hobby, not the watching.

The note-taking app went next, after I admitted I had been copying its contents into plain files anyway. If the data wants to leave, the tool isn't doing its job.

Then the dashboard. Beautiful graphs, built from metrics I never acted on. A graph you don't act on is decoration.

The pattern in all three: I was maintaining software so that it would be available if I ever needed it. Keeping that option open cost more than the option was worth.

If you can't rebuild it in an evening, you don't own it

Self-hosting has a failure mode that renting does not: the snowflake. The box that has been patched in place for three years, with two hand-edited files nobody remembers editing, and one dependency that only exists because of an install order. It works perfectly, right up until the disk dies.

So everything I keep has to be reproducible from a written list — config somewhere I can find it, data backed up, and a rebuild path I have actually walked at least once. Anything I can't rebuild gets fixed or removed. There is no third option where it stays and I hope.

If you want to prune your own pile, this is the whole test, in order:

  1. When did I last use it? If you can't name the occasion, delete it.
  2. If it died tonight, would monitoring tell me, or would a person?
  3. Does it hold data? Then it has a backup, or it go

Top comments (0)