That Time I Accidentally DDoS'd My Company
summary
Built a small serverless stack (200 lines of Python in Lambda behind API Gateway) that adds remote IPs to a proxy security group; shipped a Chrome extension that polls the proxy every three minutes and also starts a persistent loop per new tab. When offices go remote (≈500 users) those loops generate thousands of requests, the autoscaling proxy instances crash under load and backend 500s spike. Fixes: uninstall the Chrome extension, deploy an AWS web application firewall, and patch the extension; outage resolves.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 1:05Building the proxy and Bouncer
- 3:09Creating the Chrome extension
- 5:15Scaling during COVID lockdown
- 6:41The proxy outage begins
- 8:05Diagnosing the root cause
- 11:55Realizing it's a DoS attack
- 13:41Finding the source of the attack
- 15:48Understanding the scale of impact
- 17:54Fixing the problem
- 18:35Reflecting on mistakes
- 19:58Lessons learned from failure
- 20:19Q&A session
