Self Hosting

Why I self-host
I like knowing how the things I use actually work. Running my own server is the best way I have found to learn about networking, Linux, security and operations, things that are hard to really understand from a lecture alone. Every service I set up teaches me something new, and every mistake I make happens on my own hardware.
Self-hosting also gives me control over my data and my projects. This website, the backend of my app Gym 2.0 and several other services run on a homeserver in Switzerland instead of on someone else's cloud, without subscriptions and without depending on a provider's pricing or terms.
The setup
Virtualization
The server runs a hypervisor, and every service lives in its own small virtual machine. If one service breaks or gets compromised, the others are not affected, and a VM can be rebuilt from scratch at any time.
Containers & Configuration as Code
Inside the VMs, everything runs in containers. The whole configuration lives in a single Git repository: when I push a change, it is validated automatically and then deployed by a runner on the affected VM. Nothing is configured by hand except secrets.
Networking & Security
Traffic from the internet passes through several layers before it reaches an application: a separate edge machine, a reverse proxy that handles TLS, an intrusion detection system and a single sign-on in front of every protected service. Internal services are not reachable from the outside at all.
Services
The server hosts this website and a few other sites, the backend of my app Gym 2.0 together with a small local LLM, my own mail server, a media server, and Minecraft servers for friends.
Backups
Important data is backed up regularly and encrypted, so a failed disk or a broken update is an annoyance and not a disaster.
This page only gives a rough overview. For security reasons, I don't share technical details such as the exact network layout, versions or configuration.