This template creates an AWS FIS (Fault Injection Simulator) experiment template. The experiment template is used to define and execute experiments in AWS FIS. In this example, the experiment template is created to stop an EC2 instance based on a specific tag. The experiment template includes an action to stop instances, with a parameter to start the instances after a duration of 2 minutes. The target for the action is set to select one random instance with the tag 'env=prod'. The experiment template also includes a stop condition of 'none', meaning the experiment will stop when there are no more actions to perform. The template also includes a role for AWS FIS to assume, which has permissions to perform EC2 actions like reboot, stop, start, and terminate instances.

ExperimentTemplate
AWS::FIS::ExperimentTemplate


StopConditions *

FISRole
AWS::IAM::Role


Policies

CloudFormation Template

Share Template