AWS FIS Run Experiment to Completion
A 3-step recipe with Amazon Fault Injection Simulator. We can help you get access.
Recipe · 3 steps
AWS FIS Run Experiment to Completion
Create a template, start an experiment, and poll until it reaches a terminal state.
- Create an experiment template defining the targets, actions, and stop conditions for the fault injection experiment.
- Start a fault injection experiment from the newly created experiment template.
- Read the current state of the running experiment. Branches back to itself while the experiment is still pending, initiating, or running, and ends when the experiment reaches a terminal state (completed, stopped, or failed).
What you'll need to have ready
- clientToken: Idempotency token for the create and start requests.
- description: Human readable description for the experiment template.
- stopConditions: Stop conditions that halt the experiment (e.g. a CloudWatch alarm).
- targets: Map of named targets defining resource type, tags, and selection mode.
- actions: Map of named actions referencing an actionId and the targets it applies to.
- roleArn: IAM role ARN that FIS assumes to run the experiment.
- tags: Tags to apply to the experiment template and started experiment.
For your developer
Arazzo workflow amazon-fault-injection-simulator:run-experiment-to-completion, 3 operations: CreateExperimentTemplate → StartExperiment → GetExperiment. Specs on APIs.io.