Lab · as of Nov 2026

The proving ground.

Most of what I deploy at work gets built and broken here first. It is a small production platform I run end to end, which means I meet the failure modes on my own time instead of during a change window.

edge regions
2
active and standby
cluster nodes
3
high availability
service stacks
~50
defined as code
storage servers
2
bulk and backup
Architecture

Five layers, top to bottom

Abstract by design: no addresses, versions or vendors.

Homelab architecture, by layerRequests from the internet reach one of two edge regions, travel through encrypted tunnels that home opens outward, pass an ingress proxy where single sign-on with MFA is the default gate, and reach about fifty service stacks on a three-node high-availability cluster backed by replicated storage, storage servers and an offsite copy. Observability spans the layers.Internet01EdgeTwo cloud regions, active andstandby. TLS terminates here.Region AactiveRegion Bstandbyautomated failoverencrypted tunnels, opened outward from home02IdentitySingle sign-on with MFA is thedefault gate in front of services.Ingress proxyroutes requestsSSO gateMFA by defaultrequests to services03ComputeHigh-availability cluster,patched one node at a time.Node1Node2Node3~50 stacksdefined as codereplicated volumes04StorageA backup counts once arestore has worked.DistributedreplicatedServersbulk + backupOffsitecopy05ObservabilityWatches the layers.MetricsProbes from outsidePatch stateAlertingHomelab architecture, by layerRequests from the internet reach one of two edge regions, travel through encrypted tunnels that home opens outward, pass an ingress proxy where single sign-on with MFA is the default gate, and reach about fifty service stacks on a three-node high-availability cluster backed by replicated storage, storage servers and an offsite copy. Observability spans the layers.Internet01EdgeTwo cloud regions, active andstandby. TLS terminates here.Region AactiveRegion Bstandby02IdentitySingle sign-on with MFA is thedefault gate in front of services.Ingress proxyroutes requestsSSO gateMFA by default03ComputeHigh-availability cluster,patched one node at a time.Node1Node2Node3~50 stacksdefined as code04StorageA backup counts once arestore has worked.DistributedreplicatedServersbulk + backupOffsitecopyencrypted tunnels, opened outwardrequests to servicesreplicated volumes05ObservabilityWatches the layers above: metrics,probes from outside, patch stateand alerting.
  1. 01

    Edge

    Public traffic lands on one of two cloud edge regions, active and standby, with automated failover. TLS terminates there. Home opens encrypted tunnels out to the edge, so no web service needs an inbound port at home.

  2. 02

    Identity

    An ingress proxy routes requests to services. Single sign-on with MFA is the default gate; services that cannot use it keep their own login. Stack secrets live in a central secrets manager rather than in git.

  3. 03

    Compute

    A three-node high-availability hypervisor cluster runs the container hosts and virtual machines. Service stacks are defined as code and patched on a schedule, one node at a time.

  4. 04

    Storage

    Replicated distributed storage under the cluster, two storage servers for bulk data and backups, and an offsite copy. A backup only counts once a restore has worked.

  5. 05

    Observability

    Metrics, uptime probes from outside the network, patch state and alerting across the layers, so drift and outages tend to surface before anyone notices them.

Lessons

What it taught me

  • Verify a reboot by boot ID, not by SSH

    A reachable host can still be the old boot. Gate on a fact that can only change after the reboot.

    Read the note →
  • Trust forwarded headers only from known proxies

    I proved an internal client could forge its source address into downstream logs. One fix at the proxy corrected it for the backends behind it.

  • “Healthy” is not “working”

    A green container check, an open port or exit code 0 proves nothing. Real requests and counters over time do.