cd ..
Featuredinfrastructure

NGINX Load Balancer Lab

Active-passive HA lab with nginx, keepalived (VRRP), a Go backend, and a full observability stack (Prometheus, Grafana, Loki, Alertmanager) — single-command Docker Compose deploy with an automated failover test suite.

August 2026 – Present
GitHub

A hands-on high-availability lab pairing two nginx + keepalived nodes behind a VRRP-managed virtual IP, each fronting a Go HTTP backend with a documented middleware stack. The full observability stack — Prometheus, Grafana, Loki, Promtail, Alertmanager, and blackbox-exporter — ships alongside 7 alert rules and an 11-panel Grafana dashboard, all deployed as 11 hardened containers via a single Docker Compose command. An automated failover test suite exercises real failure scenarios (master kill, network partition, recovery) end-to-end, and runbooks document incident response, failover, and recovery procedures.

Highlights

  • Built active-passive HA architecture with nginx + keepalived (VRRP) failover across two nodes behind a shared virtual IP
  • Shipped a full observability stack — Prometheus, Grafana, Loki, Promtail, Alertmanager, and blackbox-exporter — with 7 alert rules and an 11-panel dashboard
  • Wrote an automated HA failover test suite covering 4 real failure scenarios
  • Hardened the stack with TLS termination, rate limiting, and security headers across 11 containers deployed via a single Docker Compose command

Tech Stack

GoNginxKeepalivedDockerDocker ComposePrometheusGrafanaLokiAlertmanager