Cloud Infrastructure
From Alert to Action: Why Automated Failover Needs Confirmation Loops
Observability works as a control plane—not just showing what broke, but automating recovery while verifying it actually succeeded.
InfoQ
When your cloud service hits the 99.99% SLA tail, you discover that statistics aren't promises. A developer recounts debugging a critical outage in a Terraform registry that exposed a cascade of hidden assumptions about reliability, then pivots to the architecture lesson that changed everything: observability must drive automated action, not just inform humans.
The Outage That Looked Like One Problem (But Wasn't)#
A production Terraform registry backed by S3 began silently dropping requests. Dashboards lit up with failures, but the root cause lay hidden for hours. The team suspected configuration mistakes, permission errors, or misdeployment—classic blame-the-operator scenarios.
The breakthrough came from reproducing the exact client behavior in a lab environment. The team instrumented the HashiCorp go-getter library that Terraform uses to fetch modules and discovered that concurrent HEAD requests (used to check download resumability) were intermittently failing. Logging revealed the pattern where dashboards only showed the symptom: a registry that looked broken.
AWS support eventually confirmed a recent change to their S3 request handler was the culprit. Detection took hours; recovery took nearly 24 hours waiting for escalation and a rollback. The core lesson wasn't about S3 specifically, but about the hidden assumption baked into the design: that cloud infrastructure is reliable "by default." At sufficient scale, the tail of any distribution gets hit.
Observability as a System, Not a Dashboard#
Most organizations build dashboards early with care and attention, then neglect them as teams rotate and systems grow. Alerts drift out of calibration. Dashboards become cryptic to anyone who didn't author them. When an incident hits at 2 a.m., the on-call engineer spends twenty minutes just deciphering what they're looking at.
The underlying problem isn't tooling or expertise—it's architectural. Dashboards were designed as reporting layers, showing what happened. But nothing was wired to act on what they showed. The human remains the bottleneck between signal and response.
The fix doesn't require new technology. Prometheus has had alerting rules and webhooks for years. Terraform can reconfigure routing weights. The missing piece is wiring these components with automation as the explicit goal, following a simple loop:
- Observe: composite signals (elevated error rate and high latency for a window)

