Infrastructure · Self-hosted · Ongoing
The homelab platform
A small production platform I run end to end: edge, identity, compute, storage and observability.
Problem
I wanted somewhere to build and break the same classes of system I am responsible for at work: identity, patching, monitoring, recovery. Somewhere with real consequences, but outside a change window.
Constraints
- No inbound ports at home for web services; public web traffic has to arrive another way.
- Default to single sign-on with MFA. Do not rely on being hard to find.
- Keep secrets out of git; keep stack definitions in it.
- One operator. Automation and alerting do the watching, or nobody does.
What I built
Two edge regions, active and standby, with automated failover between them. Home opens encrypted tunnels out to the edge, and public web traffic arrives through them.
An ingress proxy with single sign-on and MFA as the default gate, and a central secrets manager that keeps stack secrets out of git.
A three-node high-availability hypervisor cluster on replicated distributed storage, plus two storage servers for bulk data and backups, with an offsite copy.
Around 50 service stacks, defined as code, with scheduled patch orchestration and metrics, uptime probes and alerting across the layers.
Result
- It is the environment I trust to rehearse changes before I make them at work, and it has taught me more about failure modes than any lab exercise.
- Trust forwarded headers only from proxies you know. I once proved an internal client could forge its source address into downstream logs. Fixing trust once at the proxy corrected the backends behind it at the same time.
- Verify a reboot by a fact that can only change after it, not by whether SSH answers. See the field note on reboot gates.
- “Healthy” is not “working”. A running process, an open port or a green container check proves nothing. Real requests and counters over time do.