Chaos Engineering
Building a Basic FIS experiment
Built ASG based Architecture
In this guide, you’ll deploy a simple AWS architecture using the Management Console to kick off an introduction to the AWS Fault Injection Service (FIS). We’ll create three components:
- EC2 Launch Template tagged for our experiment
- Auto Scaling Group (ASG) spanning two Availability Zones
- CloudWatch Log Group for FIS experiment logs
Note
This demo uses only the AWS Management Console—no IaC templates or GitHub repositories required.
1. Create an EC2 Launch Template
An EC2 Launch Template defines the configuration (AMI, instance type, security groups, tags) that the ASG will use to provision EC2 instances.
- Open the EC2 console and navigate to Launch Templates.
- Click Create launch template.
- Enter the following details:
- Launch template name:
FIS-Experiment-Template
- Template version description: Initial version for FIS experiment
- Tags:
- Key:
experiment
- Value:
fault-injection
- Key:
- Choose your AMI, Instance Type, Key Pair, Security Groups, etc.
- Launch template name:
- Review and click Create launch template.
For more information, see the AWS documentation on EC2 Launch Templates.
2. Configure the Auto Scaling Group
Your Auto Scaling Group will maintain a desired capacity of 1 instance (minimum 1, maximum 4) across two Availability Zones. If an instance terminates, the ASG will automatically launch a replacement to maintain the desired capacity.
Setting | Value |
---|---|
Launch template | FIS-Experiment-Template |
Availability Zones | 2 (e.g., us-east-1a , us-east-1b ) |
Desired capacity | 1 |
Minimum capacity | 1 |
Maximum capacity | 4 |
Steps
- In the EC2 console, go to Auto Scaling Groups → Create Auto Scaling group.
- Select Launch template and choose
FIS-Experiment-Template
. - Select two subnets in different Availability Zones.
- Under Configure group size and scaling policies, set the capacity values as shown above.
- (Optional) Add scaling policies if you want the group to scale based on metrics.
- Review and click Create Auto Scaling group.
Warning
Ensure your selected subnets have sufficient IP addresses to support up to 4 instances simultaneously.
3. Create a CloudWatch Log Group
AWS FIS will publish all experiment activity to CloudWatch Logs. Create a dedicated log group named FIS-Experiment
.
- Open the CloudWatch console and select Logs → Log groups.
- Click Create log group.
- Enter Log group name:
FIS-Experiment
- (Optional) Configure a retention policy (e.g., 30 days).
- Click Create.
Resource | Purpose |
---|---|
Log group: FIS-Experiment | Captures AWS FIS experiment logs from your Auto Scaling Group |
For more details, refer to the Amazon CloudWatch Logs documentation.
With these three components in place—EC2 Launch Template, Auto Scaling Group, and CloudWatch Log Group—you’re ready to begin your AWS Fault Injection Service experiment. In the next section, we’ll configure and execute an FIS experiment against this architecture.
Watch Video
Watch video content