Build log
How this site got from offline to where it is now, and where it goes next. Today 5 of 6 units in the rack are live.
Done
What has happened, with dates.
Sep 2026
The old site is lost
The Azure VM that ran bvrinfra.in is deleted with no backup. The site goes offline.
8 Oct 2026
Audit and a written plan
Every infrastructure repository reviewed for leaked secrets, dead config and risky exposure. The findings became ADR 0001, the decision record the rebuild follows.
8 Oct 2026
DNS cleaned up
22 stale records removed from the zone, including 17 pointing at a deleted tunnel and one exposing a private home-network address.
8 Oct 2026
Site back online
Rebuilt as a static Astro site on Cloudflare Pages, with a protected main branch and a build check on every pull request.
8 Oct 2026
DNS becomes code
The remaining records imported into Terraform, with state in HCP Terraform, a plan on every PR and a manual apply. Nothing changed in DNS during the import.
8 Oct 2026
Monitoring from outside
Upptime on GitHub Actions checks the site every five minutes and publishes a public status page.
8 Oct 2026
Why this site is static
Why the rebuild has no server, what that costs, and what I would revisit.
8 Oct 2026
Why DNS changes need a manual apply
How 22 stale records led to DNS as code, speculative plans on PRs, and a manual apply gate.
9 Oct 2026
Why the monitor runs off my hardware
How this site is monitored from the outside, why a monitor needs to survive the system it watches, and what happens when a check fails.
10 Oct 2026
First backup restore test
Homelab backups go to a second disk, keeping 7 daily and 4 weekly copies. The latest one was restored as a separate machine with its network cut, and it booted. The old services were then shut down for a rebuild. The backup unit moves to amber, not green: there is no off-site copy yet.
12 Oct 2026
Off-site backup copy
The latest homelab backup now also lives in Cloudflare R2, outside the house, with a checksum checked after upload. The unit stays amber until a restore brings the services back.
12 Oct 2026
How I split work between AI agents
How parallel AI agents with isolated file lanes and a human merge gate handle tasks in this repository.
15 Oct 2026
New cluster backed up
The rebuilt cluster's three machines were backed up to the second disk for the first time. They run no applications yet and are rebuilt from code, so the off-site copy waits for the first service that stores data.
26 Oct 2026
Routine checks move to a free workflow
Stale-ticket checks, handing articles to the writing agent and the daily status table now run as a scheduled GitHub Actions workflow with no AI. PR reviews and briefs still go through Claude.
27 Oct 2026
Tunnel connector updated, and a hidden DNS fault fixed
The connector that links the homelab to Cloudflare was 22 months old, outside Cloudflare's one-year support window. The update exposed a fault that had been there unnoticed: the cluster could not resolve outside names, because its DNS server ignored the cluster's queries. The homelab origin was down for 7 minutes while the Pages copy served the site. The cluster now uses a different DNS server, set in code, and two connectors run so an update no longer takes the origin down.
27 Oct 2026
Version checks on a schedule
A monthly workflow opens a ticket when the connector is three months behind, and every workflow moved to Node 24 actions before the old runtime caused trouble.
Next
Committed, and in this order.
A full restore
Restore the new cluster from backup with the services running, to prove they come back. The backup unit turns green only after that.
Harden the homelab
Put every admin interface behind Cloudflare Access and keep cluster APIs off the public internet. Fix these before any homelab service is exposed again.
Rotate launch-day credentials
Roll the API tokens created during the rebuild and retire the old container-registry token.
Later
Planned, not started.
Homelab as code
Describe the Proxmox homelab in Terraform and Ansible, so losing the host costs an evening, not the setup.
Internal monitoring
Uptime Kuma inside the homelab for internal services, alongside the external checks that already watch the public site.
More write-ups
Short pieces on decisions that shaped this site: why DNS changes need a manual apply, and why the monitor runs off my hardware.