Generated banner for AWS Fault Injection Service
Generated logo for AWS Fault Injection Service

AWS Fault Injection Service

AWSOfficialPublished by AWS

  • Skill
  • Tool integration
  • Cloud and DevOps
  • Apache-2.0
  • No issues found

From the author

Plans, builds, runs, and analyzes fault injection experiments with AWS Fault Injection Service (AWS FIS) to validate application resilience through chaos engineering. Covers experiment templates (actions, targets, stop conditions), the FIS actions catalog and action selection, the scenario library (AZ power interruption, cross-Region connectivity, EC2/EKS/EBS stress), experiment lifecycle and monitoring, logging and reports, multi-account experiments, the experiment IAM role, and blast-radius safety. Applies when a user mentions AWS FIS or fault injection, asks what experiment to run for a failure mode (AZ, Region, API errors/throttling, instance/pod/DB/cache failure, latency, packet loss), wants to author an experiment template or CLI/CloudFormation, or needs to safely run chaos experiments in pre-production or production. For the broader resilience program across Resilience Hub and ARC, see aws-resilience-lifecycle; for ARC routing controls and zonal shift, see recovery-controller-setup.
— the description by AWS

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides domain expertise for AWS Fault Injection Service (AWS FIS), a managed service for running controlled fault injection experiments on AWS resources. It helps users design experiment templates, select appropriate fault actions, manage the experiment lifecycle, and ensure safety through stop conditions and IAM role configuration. The skill covers the full workflow from mapping failure scenarios to specific FIS actions to monitoring and reporting on experiment outcomes.

What it does

  • Maps failure scenarios to specific AWS FIS actions and scenarios.
  • Assists in authoring experiment templates including targets, actions, and stop conditions.
  • Provides guidance on configuring IAM roles and permissions for FIS experiments.
  • Explains the experiment lifecycle from creation to execution and monitoring.
  • Offers troubleshooting for common experiment failures and target resolution issues.
  • Provides a canonical reference for AWS FIS API operations and parameter structures.

When to use it

  • When you need to validate application resilience through chaos engineering.
  • When you want to test how your infrastructure responds to specific failure modes like AZ outages or API throttling.
  • When you are authoring experiment templates using CLI, SDK, or CloudFormation.
  • When you need to safely configure blast-radius guardrails for fault injection experiments.

Advantages

  • Reduces risk by providing guidance on bounded blast-radius safety and stop conditions.
  • Prevents common API usage errors through a curated hallucination-rejection reference.
  • Streamlines the design of experiments by mapping failure modes to verified FIS actions.
  • Supports secure experiment execution through proper IAM role and trust policy configuration.

Usage examples

“What FIS action should I use to test how my application handles a single AZ power interruption?”
The agent identifies the AZ Availability: Power Interruption scenario and explains how to scope the target to the specific AZ.
“Help me create an experiment template to inject API throttling errors into my service.”
The agent provides the JSON structure for an experiment template using the aws:fis:inject-api-throttle-error action and includes a required CloudWatch alarm stop condition.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/aws/aws-fault-injection-service/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip aws-fault-injection-service.zip -d .agents/skills

Documentation by AWS

AWS Fault Injection Service (FIS) Experiments

Overview

Domain expertise for AWS Fault Injection Service (AWS FIS) — a managed chaos-engineering service that runs controlled fault injection experiments on real AWS resources so you can observe how an application responds to disruption and improve its resilience.

This skill lets an agent do three things:

  1. Suggest the right experiment — map a user's failure scenario or resilience question to the correct FIS action(s), scenario, or experiment design, and explain the trade-offs.

  2. Build and run experiments — author experiment templates (actions, targets, stop conditions, logging, reports), wire up the experiment IAM role, and drive the run/monitor/stop lifecycle via CLI, SDK, or CloudFormation.

  3. Inform the user — answer conceptual questions about FIS terminology, safety, pricing, supported services, and how FIS fits into a resilience program.

AWS FIS carries out real actions on real AWS resources. Before running any experiment in production, plan it, run it first in pre-production, and always bound the blast radius with a stop condition. Treat fault injection as a privileged, potentially disruptive operation.

The AWS MCP server is recommended for executing this skill's AWS API calls — it provides sandboxed execution and audit logging — but it is not required; all operations also work with the AWS CLI (aws fis ...) directly.

Guardrail — where this skill's own files live (MCP vs local install)

Before reading a reference file, determine how this skill was loaded:

  • Loaded via the AWS MCP retrieve_skill tool: the skill's reference files are not on the local filesystem. Fetch each one through retrieve_skill with the file parameter (e.g. file="references/fis-concepts.md") — do NOT file_read these paths locally or search the filesystem for them.

  • Installed locally (e.g. .kiro/skills/aws-fault-injection-service/ or ~/.claude/skills/aws-fault-injection-service/): read reference files from the local skill directory using the relative paths shown here.

This applies only to the skill's own reference files; always read and write user or session data in the working directory, never through retrieve_skill.

Start here — route the request

  • "What is FIS / when should I use it / what does X term mean / does it support Y?" → read references/fis-concepts.md.

  • "What experiment/action should I run to test a failure mode?" → read references/fis-actions-reference.md (action selection map + full catalog) and suggest an action or scenario.

  • "Build / create / run an experiment" (template, targets, stop conditions, logging, reports, scenarios, multi-account, monitoring) → follow references/fis-workflow.md exactly.

  • Any AWS CLI or API command for FIS → consult references/fis-api-reference.md FIRST — it is the canonical operation/parameter reference and includes a hallucination-rejection table.

  • IAM role, permissions, trust policy, confused-deputy, blast-radius safety → read references/fis-security.md.

API Reference (READ FIRST before producing any AWS CLI command)

The exact aws fis operation names and template parameters are documented in references/fis-api-reference.md, including a table mapping common wrong API/action names to correct ones. Always consult it before generating commands. Action IDs and resource types evolve — verify with aws fis list-actions and aws fis get-action --id <action-id> rather than trusting memory.

Suggesting experiments (behavioral contract)

When the user describes a failure they want to test rather than a command they want run:

  1. Identify the failure mode (AZ impairment, Region isolation, API errors/throttling, compute/DB/cache loss, latency, packet loss, resource exhaustion).

  2. Map it to a scenario (preferred when one fits — pre-built and AWS-owned) or a specific action using the selection map in references/fis-actions-reference.md.

  3. State the target (resource type + how to scope it) and a stop condition (CloudWatch alarm on your steady-state metric) so the blast radius is bounded.

  4. Recommend running in pre-production first, then production under change management.

  5. Offer to generate the experiment template — then follow references/fis-workflow.md.

Do not invent action IDs, resource types, or parameters. If unsure, say so and verify with aws fis list-actions / aws fis get-action or the FIS documentation.

Troubleshooting

"Experiment failed immediately / no targets found"

FIS resolves all targets at experiment start; if a target resolves to zero resources, the experiment fails (unless emptyTargetResolutionMode is skip). Check tags, filters, region, and account. Use a target preview before running (see workflow reference).

"Action failed with a permissions error"

The FIS experiment IAM role is missing permissions for the underlying service API (or SSM, or the confused-deputy trust conditions block the assume). See references/fis-security.md.

"Experiment stopped unexpectedly"

A stop condition (CloudWatch alarm) likely fired — this is the guardrail working. Check the experiment's state.reason and the alarm history. A stopped experiment cannot be resumed; start a new one from the template.

"Nitro / instance-type errors on EBS or network faults"

Some actions require Nitro-based instances or the SSM Agent. Verify prerequisites per action in references/fis-actions-reference.md.

Observability companion

For the CloudWatch alarms, dashboards, and metrics that back FIS stop conditions and experiment reports, recommend the AWS Observability skill for alarm/dashboard setup — keep this skill's guidance to how those signals feed experiment safety and post-experiment analysis.

Security Considerations

FIS runs real, potentially destructive actions. Key points (full guidance in references/fis-security.md):

  • Least privilege: scope the experiment role to only the actions and target ARNs each experiment needs — never *. Scope the human/CI principals allowed to call fis:StartExperiment.

  • Confused-deputy protection: the experiment role's trust policy MUST condition on aws:SourceAccount and aws:SourceArn (scoped to the experiment ARN pattern).

  • Bounded blast radius: always attach a CloudWatch-alarm stop condition; start with narrow targets (COUNT(1) / low PERCENT) and pre-production before production.

  • No sensitive data in string fields: experiment/template descriptions, tags, and logs surface in CloudTrail, CloudWatch Logs, S3 reports, and (multi-account) target-account Health dashboards — never embed PII, secrets, or sensitive architecture detail.

  • Encrypt logs/reports: experiment logs and PDF reports reveal resilience posture — use SSE-KMS on the S3 buckets, enforce TLS, and consider S3 Object Lock on report buckets.

  • Further reading: FIS Security and the AWS Well-Architected Reliability Pillar.

Files

references/fis-api-reference.md

AWS FIS API Quick Reference

Read this BEFORE producing any aws fis command. This is the canonical, deterministic source of truth for FIS operation names and template parameters. Without explicit guidance, models substitute plausible-sounding API names that don't exist. Action IDs and resource types still evolve — verify those with aws fis list-actions / aws fis get-action.


Contents

  • ⚠️ TOP HALLUCINATIONS — DO NOT WRITE THESE

  • Canonical aws fis operations

  • Template top-level fields (create/update)

  • Experiment & action states

  • Tooling prerequisite — the client must support FIS

  • Related service namespaces (do NOT confuse with aws fis)

⚠️ TOP HALLUCINATIONS — DO NOT WRITE THESE

❌ NEVER WRITE✅ ALWAYS WRITE
aws fis create-experimentaws fis create-experiment-template (you create a template, then start an experiment from it)
aws fis run-experimentaws fis start-experiment --experiment-template-id EXTxxxx
aws fis start-experiment --template-idaws fis start-experiment --experiment-template-id (full flag)
aws fis describe-experimentaws fis get-experiment --id EXPxxxx
aws fis describe-experiment-templateaws fis get-experiment-template --id EXTxxxx
aws fis list-experiment-templates --template-idaws fis list-experiment-templates (no id) / get-experiment-template --id for one
aws fis cancel-experimentaws fis stop-experiment --id EXPxxxx
aws fis get-action --action-idaws fis get-action --id <action-id>
aws fis list-experiment-targetsaws fis list-experiment-resolved-targets --id EXPxxxx
aws:fis:inject-api-unavailable (no suffix)aws:fis:inject-api-unavailable-error (real action ends in -error)
aws:ec2:stop-instance (singular)aws:ec2:stop-instances (plural)
aws:rds:failover-clusteraws:rds:failover-db-cluster
aws:eks:delete-podaws:eks:pod-delete
--stop-conditions omitted on createstopConditions is required. Always prefer a real aws:cloudwatch:alarm stop condition; use [{"source":"none"}] ONLY in a disposable sandbox — never in production
roleArn optionalroleArn is required — FIS assumes it to run actions

Memory aids:

  • Templates use get/create/update/delete-experiment-template; runs use start/stop/get-experiment + list-experiment-resolved-targets. There is no "create-experiment" or "run-experiment".

  • All three FIS API-fault actions end in -error: inject-api-internal-error, inject-api-throttle-error, inject-api-unavailable-error.


Canonical aws fis operations

Experiment templates
  • create-experiment-template --cli-input-json file://template.json (or explicit --description --role-arn --actions --targets --stop-conditions [--log-configuration] [--experiment-options] [--experiment-report-configuration] [--tags])

  • get-experiment-template --id EXTxxxx

  • list-experiment-templates

  • update-experiment-template --id EXTxxxx --cli-input-json file://template-v2.json

  • delete-experiment-template --id EXTxxxx

Experiments (runs)
  • start-experiment --experiment-template-id EXTxxxx [--tags K=V] [--experiment-options ...]

  • get-experiment --id EXPxxxx

  • list-experiments

  • stop-experiment --id EXPxxxx

  • list-experiment-resolved-targets --id EXPxxxx [--target-name NAME]

Actions (discovery — use to VERIFY action IDs)
  • list-actions — enumerate all available action IDs.

  • get-action --id <action-id> — parameters, targets, and description for one action.

Multi-account target account configurations
  • create-target-account-configuration --experiment-template-id EXTxxxx --account-id 222233334444 --role-arn ARN [--description "..."]

  • get-target-account-configuration --experiment-template-id EXTxxxx --account-id 222233334444

  • list-target-account-configurations --experiment-template-id EXTxxxx

  • update-target-account-configuration --experiment-template-id EXTxxxx --account-id 222233334444 ...

  • delete-target-account-configuration --experiment-template-id EXTxxxx --account-id 222233334444

Tagging

Tagging operations take a resource ARN (--resource-arn), not the --id used by the template/experiment operations. FIS resource ARN formats:

  • Experiment template: arn:aws:fis:<region>:<account-id>:experiment-template/<EXTxxxx>

  • Experiment (run): arn:aws:fis:<region>:<account-id>:experiment/<EXPxxxx>

  • list-tags-for-resource --resource-arn ARN

  • tag-resource --resource-arn ARN --tags K=V

  • untag-resource --resource-arn ARN --tag-keys K


Template top-level fields (create/update)

FieldRequiredNotes
descriptionyesFree text — no PII/secrets (surfaces in CloudTrail/console).
roleArnyesRole FIS assumes; trust fis.amazonaws.com + confused-deputy conditions.
actionsyesMap of action name → {actionId, parameters, targets, startAfter, description}.
targetsyes (may be {})Map of target name → {resourceType, resourceArns | resourceTags | filters | parameters, selectionMode}. Field is required even when no action needs a target — pass {} for target-less actions (e.g. aws:fis:wait); omitting it fails create with targets is required.
stopConditionsyesList of {source, value}; source = aws:cloudwatch:alarm (with alarm ARN in value) or none.
logConfigurationno{logSchemaVersion, cloudWatchLogsConfiguration and/or s3Configuration} — both destinations may be set together, unlike the mutually exclusive selectors in targets above. logSchemaVersion must be 2.
experimentReportConfigurationno{outputs.s3Configuration, dataSources.cloudWatchDashboards, preExperimentDuration, postExperimentDuration}.
experimentOptionsno{accountTargeting: single-account | multi-account, emptyTargetResolutionMode: fail | skip, actionsMode: run-all | skip-all}.
tagsnoMap.
Selection modes

Random pick from the identified set:

  • ALL — every identified resource.

  • COUNT(n) — exactly n resources. No rounding.

  • PERCENT(n) — resolves the percentage to a count and rounds down; if it resolves to fewer than 1 resource, nothing is selected and the experiment fails.

experimentOptions semantics
  • accountTargeting: multi-account requires ≥1 target account configuration.

  • emptyTargetResolutionMode: fail (default) fails the experiment if any target resolves to zero; skip continues.

  • actionsMode: skip-all = target preview (resolves targets, runs no actions, no report/ charge for actions).


Experiment & action states

  • Experiment: pending → initiating → running → completed | stopping → stopped | failed.

  • Action: adds cancelled.

  • stopped ≈ stop condition fired or manual stop; failed ≈ target resolution or action error.

  • Cannot resume stopped/failed or rerun completed — start a new experiment.


Tooling prerequisite — the client must support FIS

The fis subcommand requires AWS CLI v2. If aws fis ... fails with Invalid choice: fis, the client predates FIS support: upgrade to AWS CLI v2, use the AWS MCP server, or call FIS via an SDK that includes the FIS client (e.g. boto3) — the operation and parameter names above are identical across all of them.


  • CloudWatch alarms (stop conditions): aws cloudwatch put-metric-alarm / describe-alarms.

  • ARC zonal shift (FIS can trigger autoshift via the aws:arc:start-zonal-autoshift action; ARC setup is aws arc-zonal-shift ... — see the recovery-controller-setup skill).

  • Resilience Hub v2 (Define phase): aws resiliencehubv2 ... — see aws-resilience-lifecycle.

Verify the authoritative FIS command surface with aws fis help and each subcommand's help rather than treating this list as permanently fixed.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an MCP server

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
AWS
Publisher
AWS (Official)
Source
aws/agent-toolkit-for-aws · skills/specialized-skills/resilience-skills/aws-fault-injection-service · commit 0a218f8
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • NOTICE (added by AutoGineer from NOTICE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by AWS or AWS.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download aws-fault-injection-service.zip