All projects

s3ntry

Deploys and monitoring for my homelab

status
Running on alexandria
year
2026
area
Infrastructure

The deployment pipeline and monitoring for alexandria. A push to main is tested and deployed with no manual steps, and a Go health daemon watches every service and alerts Slack and Discord when one goes down or recovers.

The s3ntry status page: three services, all up with their latency and last check time, and host checks showing it online, no reboot required, and 20 updates available.
The status page: each service’s state and latency, and the host’s connectivity, reboot and update checks.

Details

  • Self-hosted GitHub Actions runner on alexandria with a CI gate (go vet and unit tests) and a rollback path. Push to main deploys with no manual intervention.
  • Deploys run as a dedicated non-root user with SSH deploy keys, and that user deliberately has no sudo anywhere in the pipeline.
  • Go health daemon (one static binary, one goroutine per service) polls services concurrently and tracks up/down state and latency, shown on a live status page.
  • It also checks the host itself: connectivity, whether a reboot is required, and pending apt updates.
  • The daemon runs as a systemd user service rather than in Docker, because a container would report its own reboot and update state, not the host’s.
  • Slack and Discord webhook alerts on down and recovery, so “is it up?” never needs an SSH session.
  • Proved end to end by deploying 1337 to production on alexandria, then deliberately breaking it to time the alerts.

keys

`
open or close the terminal
j k
next or previous section
0-9
jump to a numbered section (0 is the top)
gg G
top or bottom of the page
/
search everything (a grep in the terminal)
?
this list
esc
close whatever's open

(single-letter keys can clash with screen readers and your own shortcuts)

In the terminal, help lists the commands. Not all of them: try what you'd try on a real one, and eggs keeps score.