Behavior Driven Chaos with AWS Fault Injection Simulator
Architecture Blog
This article discusses how to use AWS Fault Injection Simulator (FIS) and a behavior-driven development (BDD) framework like Behave to create and automate chaos engineering experiments in a way that is more accessible to non-technical stakeholders.
Specifically, the article covers:
- The key attributes of a complete chaos experiment: defined steady state, hypothesis, defined variables and actions, and verification of hypothesis
- How FIS enables creating the experiment actions while Behave and Gherkin syntax allow codifying the other attributes like hypothesis and verification
- An example chaos experiment testing website resilience to EC2 instance failure, including the Gherkin scenario definition and Python step implementations
- How using Gherkin allows stakeholders to understand experiments, and codifying them enables integration into CI/CD pipelines
- Implementation details like prerequisites, deployment steps, and cleanup
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Mar 22
2024
2024
Automating chaos experiments with AWS Fault Injection Service and AWS Lambda
Oct 1
2024
2024
Bootstrap your chaos engineering journey with AWS Fault Injection Service Scenarios Library
Nov 5
2024
2024
Introducing AWS Fault Injection Service Actions to Inject Chaos in Lambda functions
Jun 23
2025
2025
Simulating partial failures with AWS Fault Injection Service
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.