AWS Fault Injection Simulator is fully managed chaos engineering service used for improve application resiliency. It provides environment to safely performed controlled chaos engineering experiment on AWS. Today's Distributed system are to complex and it's hard to find if any fault occur and how to reduce the chances of the unwanted scenario happening in the first place.
Chaos engineering is the process of stressing an application by creating disruptive events. It's help to create the real-world conditions to uncover hidden issues,monitoring blind spots and performance bottlenecks.
How It Works?
- It starts with analyzing the steady-state behavior
- Building an experiment hypothesis
- Executing the experiment by injecting fault action and roll back condition.
Components:
-Action:
Actions are Fault injection actions executed during the experiment.
-Targets:
Define one or more AWS resources On which to carry out an action.
-Experiments Tempelates
Define complex experiments
-Experiments
Snapshot of experiments tempelates when firstly execute.
Experiments need to be configured into templates
- The IAM role needed to execute the experiment
- What action you are performing
- The services you are targeting with the experiment
- The stop condition, to halt the experiment at any point in time
Many action types do not require any agents to be installed in your resources. However, instance level faults including CPU utilization and memory utilization require SSM agent.
Example:
Web application hosted on ec2 instances with auto scaling group as seen into the architecture.We have AWS RDS database with the multi-AZ enabled as the backend of the application.
https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ktan4vuncanu355k2ipk.png
Following chaos experiment have been created using AWS FIS
- Check the resiliency of the RDS database
- Check to resiliency of EC2 instances
- Execute CPU stress using the AWS Systems Manager Send command.
Benefits Of FIS:
Fast and easy to use
Provides insights by generating real failure conditions
Provides visibility on application performance
Improve application Performance, Resiliency and Observability.
Reference:
https://aws.amazon.com/blogs/devops/tag/aws-fault-injection-simulator/
Top comments (0)