← Back to Technical Blog

🛡️ Configuration Drift Detector

💥 How I Stopped AWS Config Drift Before It Broke Prod

🧨 The Problem

One day, a change went live in our AWS environment that no one remembered making. Security groups had shifted. Auto-scaling thresholds were off. What we had in Terraform… didn’t match reality.

I built this while working at Apex Analytix, where even minor infrastructure changes could impact supplier portals and audit workflows. We needed early warnings — not postmortems.

Welcome to the world of configuration drift — where even small changes can cause cascading chaos.

🧪 The Challenge

AWS Config tells you what changed… eventually. But I needed instant visibility — not hours later, not after something broke. I wanted something that could:

🛠️ The Fix: Detect + Alert + Revert (Optional)

I built a system using:

It’s like a tripwire for your cloud — silent until something shifts.

📬 GitHub Link

Recreated version with safe sample configs: 👉 github.com/chinmaya-chhatre/configuration-drift-detector

📈 What Changed

⚖️ Tradeoffs I Made

🧠 What I'd Add Next

🧵 Why I’m Sharing This

Because “it worked in staging” isn’t helpful when prod breaks. Because config drift is invisible — until it isn’t. And because detecting drift is just as critical as preventing it.

📎 Bonus Links