Experiment templates for AWS FIS - AWS Fault Injection Simulator

Experiment templates for AWS FIS

An experiment template contains one or more actions to run on specified targets during an experiment. It also contains the stop conditions that prevent the experiment from going out of bounds. After you create an experiment template, you can use it to run an experiment.

Template components

You'll use the following are the components to construct experiment templates:

Action set

The AWS FIS actions that you want to run. Actions can be run in a set order that you specify, or they can be run simultaneously. For more information, see Action set.


The AWS resources on which a specific action is carried out. For more information, see Targets.

Stop conditions

The CloudWatch alarms that define a threshold at which your application performance is not acceptable. If a stop condition is triggered while an experiment is running, AWS FIS stops the experiment. For more information, see Stop conditions.

Experiment role

An IAM role that grants AWS FIS the permissions required so that it can run experiments on your behalf. For more information, see Experiment role.

Your account has quotas related to AWS FIS. For example, there is a quota on the number of actions per experiment template. For more information, see Quotas.

Template syntax

The following is the syntax for an experiment template.

{ "description": "string", "targets": {}, "actions": {}, "stopConditions": [], "roleArn": "arn:aws:iam::123456789012:role/AllowFISActions", "tags": {} }

For examples, see Example templates.

Get started

To create an experiment template using the AWS Management Console, see Create an experiment template.

To create an experiment template using the AWS CLI, see Example AWS FIS experiment templates.