Injecting custom faults with AWS Fault Injection Simulator
Part 2— AWS Fault Injection Simulator series
TL;DR
You can use AWS Lambda and embedded scripts to inject custom faults with AWS Fault Injection Simulator (FIS) using the newly launched SSM Automation & FIS integration.
Many customers I have talked to since AWS Fault Injection Simulator (FIS) launched in early 2021 have some home-made scripts they use to inject fault into their applications. Rather than re-factoring all these scripts into native FIS experiments, they typically want to start their FIS journey by forklifting them, with minimal changes, to benefits from the safety mechanisms FIS provides and have one central place from which to control their chaos engineering experiments.
Back in 2019, I wrote a bunch of home-made fault injection scripts, so I thought I would use this opportunity to show you how I integrated them into FIS — in particular this one popular with customers, used to inject fault in the network access control list configuration of a particular…