AWS Deprecation That Exposed Years of Inherited Infrastructure Debt

SSM

Reading Time: 4 minutesWhen AWS announced the retirement of the old ec2messages endpoint, it turned out the problem wasn’t just an outdated SSM Agent. This is a story about inherited infrastructure: a 2017 IAM policy that still showed green in the console, and a Terraform module that, if updated the “proper” way, threatened to destroy the storage volumes of a live production cluster. Sometimes the most honest choice is to deliberately leave technical debt in place — rather than force the correct fix and risk breaking everything.

How Our Nginx Watchdog Missed the Outage It Was Built to Catch

nginx

Reading Time: 6 minutesWe built a watchdog to automatically reload nginx whenever it started timing out against an AWS ALB — the classic “cached a stale IP” problem. It worked… until a different domain on the same box went down for hours while the script sat there happily reporting that everything was fine. This is the story of how a monitoring gap, a partial deploy, and a threshold tuned for the wrong failure shape turned a good idea into false confidence — and what it took to fix the class of problem instead of just the one instance that had already bitten us.

The New Server That Was Secretly the Old Server

goldenimage

Reading Time: 3 minutesA golden image saved us from reinstalling the security agent on every new server, until a handful of freshly launched machines started reporting under the identity of a server that no longer existed. One skipped step during image creation, and the console couldn’t tell the machines apart.

“It’s Already Working in Production” Is Not the Same as “It’s Complete”

irsa reused

Reading Time: 3 minutesReusing an IAM policy that had been running cleanly in production for months seemed like the safe move, until a newer version of the same controller called an API action the old policy had never heard of, and the failure only showed up after a step Terraform never even touched. Focus keyword: IAM policy version compatibility Title: “It’s Already Working in Production” Is Not the Same as “It’s Complete”.

The Log Group Nobody Configured, and Why the IAM Policy Missed It

log irsa

Reading Time: 3 minutesA least-privilege IAM policy was scoped exactly to what the configuration said the log shipper would write to, which turned out to be only half the story: the agent had a hardcoded fallback destination that no config file ever mentioned. Focus keyword: least privilege IAM policy gap Title: The Log Group Nobody Configured, and Why the IAM Policy Missed It