Notes
Small write-ups, mostly learned the hard way.
Infrastructure, networking, and the operational details that are easy to skip until they matter.
Keeping certificates boring
December 2026 · TLS
Certificate automation is one of those problems that is either completely boring or suddenly urgent. The goal is boring.
Use ACME with a DNS challenge for anything that is not publicly reachable. Keep the renewal hook idempotent, reload the service only after the new certificate is on disk, and alert on expiry rather than on renewal failure. A renewal that failed silently three weeks ago is still a renewal that failed.
Test the staging endpoint first, then the production endpoint. Keep the account key backed up. And write down which hostnames are covered by which certificate, because the answer is always less obvious six months later.
A home lab that survives reboots
November 2026 · Linux
A lab becomes infrastructure the moment it has to come back by itself. The usual culprits are ordering, mounts, and secrets.
Make units explicit about what they need: After=, Requires=, and a restart policy that matches the service. Avoid depending on a mount that may not be ready. If a service needs a network path, test the path, not just the interface.
Back up the small things: unit files, firewall rules, and the notes that explain why a rule exists. A backup you cannot restore is a backup you do not have.
Observability without the noise
November 2026 · Observability
Dashboards are useful when they answer a question. They are expensive when they answer every question at once.
Start with the four signals you would check during an incident: latency, error rate, saturation, and traffic. Add logs only where they change a decision. Keep retention short for high-volume data and long for the events you actually need to reconstruct.
Write alerts that point to a runbook. If nobody knows what to do when an alert fires, the alert is just a notification with extra steps.
The path MTU will find you
October 2026 · Networking
Tunnels are where MTU problems go to hide. A link that works for small requests can fail on the first large response, and the error often looks like an application problem.
Check the path MTU end to end, not just the interface MTU. If ICMP is filtered, path MTU discovery cannot do its job, so clamp the MSS at the tunnel boundary or reduce the tunnel MTU deliberately.
Keep a note of the working values. The next person to touch the tunnel will thank you.
← Back to home