Configuring AWS Fault Injection Simulator Experiments

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

The challenge for this lab is to configure and run three AWS Fault Injection Simulator (AWS FIS) experiments in the provided lab environment.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Successfully Run an Experiment to Stop an EC2 Instance

Successfully run an experiment to test the following hypothesis:

If an EC2 instance is stopped, the Elastic Load Balancer will mark the instance as unhealthy.

Use an action type of aws:ec2:stop-instances and resource type of aws:ec2:instance.

Run the experiment using the my-test-fis-role IAM role provided in the lab environment.

Successfully Run an Experiment to Reboot an EC2 Instance

Successfully run an experiment to test the following hypothesis:

If the httpd service fails to start after an instance is rebooted, the Elastic Load Balancer will mark the instance as unhealthy.

Use an action type of aws:ec2:reboot-instances and resource type of aws:ec2:instance.

Run the experiment using the my-test-fis-role IAM role provided in the lab environment.

Successfully Run an Experiment to Terminate an EC2 Instance

Successfully run an experiment to test the following hypothesis:

If an EC2 instance is terminated, the Auto Scaling group will launch a new instance and register it with the Elastic Load Balancer.

Use an action type of aws:ec2:terminate-instances and resource type of aws:ec2:instance.

Run the experiment using the my-test-fis-role IAM role provided in the lab environment.

Additional Resources

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?