AWS Fault Injection Service
AWSOfficialPublished by AWS
- Skill
- Tool integration
- Cloud and DevOps
- Apache-2.0
- No issues found
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
Download the skill as a ZIP:
https://autogineer.com/agent-skills/aws/aws-fault-injection-service/downloadUnzip 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:
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.
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.
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_skilltool: the skill's reference files are not on the local filesystem. Fetch each one throughretrieve_skillwith thefileparameter (e.g.file="references/fis-concepts.md") — do NOTfile_readthese 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:
Identify the failure mode (AZ impairment, Region isolation, API errors/throttling, compute/DB/cache loss, latency, packet loss, resource exhaustion).
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.
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.
Recommend running in pre-production first, then production under change management.
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 callfis:StartExperiment.Confused-deputy protection: the experiment role's trust policy MUST condition on
aws:SourceAccountandaws:SourceArn(scoped to the experiment ARN pattern).Bounded blast radius: always attach a CloudWatch-alarm stop condition; start with narrow targets (
COUNT(1)/ lowPERCENT) 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
- ATTRIBUTION.mdAdded by AutoGineer944 B
- LICENSELicence file added by AutoGineer9.9 KiB
- NOTICELicence file added by AutoGineer67 B
- SKILL.md8.5 KiB
- references/fis-actions-reference.md10.3 KiB
- references/fis-api-reference.md7.9 KiB
- references/fis-concepts.md7.5 KiB
- references/fis-security.md8.8 KiB
- references/fis-workflow.md10.3 KiB
references/fis-actions-reference.md
AWS FIS Actions, Action Selection & Scenario Library
Use this to suggest the right fault for a scenario and to build the actions block of a
template. Action IDs and parameters change over time — verify with aws fis list-actions and
aws fis get-action --id <action-id> (or the FIS Actions reference)
before committing to a command. The tables below are illustrative, not a frozen source of truth.
Contents
Action structure
Action selection map — match failure scenario → action
Action catalog by namespace (illustrative)
Targets — how to scope the blast radius
Scenario library (console-only, AWS-owned)
Prerequisites & gotchas by action
Action structure
Each action in actions has:
| Field | Meaning |
|---|---|
actionId | The pre-defined FIS action to run (e.g. aws:ec2:stop-instances). Required. |
parameters | Key-value pairs for the action (durations use ISO 8601, e.g. PT10M). Required/optional per action. |
targets | Maps the action's target role name → a target defined in the template's targets block. |
startAfter | Names of actions that must finish before this one starts. Omit → runs in parallel. |
"actions": {
"StopInstances": {
"actionId": "aws:ec2:stop-instances",
"description": "Stop EC2 instances then restart after 10 minutes",
"parameters": { "startInstancesAfterDuration": "PT10M" },
"targets": { "Instances": "myInstanceTarget" },
"startAfter": []
}
}Action ID naming convention
aws:<service-name>:<action-type> — e.g. aws:rds:failover-db-cluster. Service-level fault
namespaces (aws:ec2:*, aws:rds:*, …) act on infrastructure; the aws:fis:* namespace injects
API-level faults and provides control actions (wait).
Action selection map — match failure scenario → action
Models often pick a real but wrong action. Use this map, then verify the ID.
| If the scenario is… | Illustrative action ID (verify with list-actions) |
|---|---|
| Full AZ power interruption / "AZ goes dark" | Use the AZ Availability: Power Interruption scenario (multi-fault); it combines instance/subnet/EBS/RDS/ElastiCache faults |
| Single-AZ instance loss | aws:ec2:stop-instances or aws:ec2:terminate-instances (scope target to the AZ via filter) |
| Spot capacity reclaim | aws:ec2:send-spot-instance-interruptions |
| ECS task loss / capacity drain | aws:ecs:stop-task, aws:ecs:drain-container-instances |
| EKS pod failure | aws:eks:pod-delete |
| EKS node loss | aws:eks:terminate-nodegroup-instances |
| EKS pod latency / packet loss | aws:eks:pod-network-latency, aws:eks:pod-network-packet-loss |
| DB / Aurora / RDS failover | aws:rds:failover-db-cluster (cluster) or aws:rds:reboot-db-instances (instance) |
| ElastiCache node/AZ disruption | aws:elasticache:replicationgroup-interrupt-az-power |
| Region-level API unavailability | aws:fis:inject-api-unavailable-error |
| Service returns 5xx but is reachable | aws:fis:inject-api-internal-error |
| Throttling / 429 responses | aws:fis:inject-api-throttle-error |
| Lambda slow responses (latency) | aws:lambda:invocation-add-delay |
| Lambda forced errors | aws:lambda:invocation-error |
| Lambda altered HTTP integration response | aws:lambda:invocation-http-integration-response |
| Network partition / subnet isolation | aws:network:disrupt-connectivity |
| Route-table-level connectivity loss | aws:network:route-table-disrupt-connectivity |
| Cross-Region (transit gateway) isolation | aws:network:transit-gateway-disrupt-cross-region-connectivity |
| EBS volume I/O latency | aws:ebs:pause-volume-io (Nitro only) — or the EBS latency scenarios |
| Run a custom fault on a host | aws:ssm:send-command, aws:ssm:start-automation-execution |
| Assert a CloudWatch alarm's state mid-experiment | aws:cloudwatch:assert-alarm-state |
| Trigger ARC zonal autoshift | aws:arc:start-zonal-autoshift |
| Insert a pause between actions | aws:fis:wait |
Rule of thumb: a service/API symptom (unavailable, 5xx, throttle) → aws:fis:inject-api-*
(all three end in -error). An infrastructure symptom (instance, task, pod, DB, cache,
volume, network) → the resource-specific namespace.
Action catalog by namespace (illustrative)
EC2 —
aws:ec2:stop-instances,aws:ec2:reboot-instances,aws:ec2:terminate-instances,aws:ec2:send-spot-instance-interruptions,aws:ec2:api-insufficient-instance-capacity-error.ECS —
aws:ecs:stop-task,aws:ecs:drain-container-instances, plus SSM-agent-based CPU/ memory/IO/network stress task actions.EKS —
aws:eks:pod-delete,aws:eks:terminate-nodegroup-instances,aws:eks:pod-cpu-stress,aws:eks:pod-memory-stress,aws:eks:pod-io-stress,aws:eks:pod-network-latency,aws:eks:pod-network-packet-loss,aws:eks:pod-network-blackhole-port.RDS —
aws:rds:reboot-db-instances,aws:rds:failover-db-cluster.ElastiCache —
aws:elasticache:replicationgroup-interrupt-az-power.EBS —
aws:ebs:pause-volume-io(Nitro-based instances only).Lambda —
aws:lambda:invocation-add-delay,aws:lambda:invocation-error,aws:lambda:invocation-http-integration-response(require the FIS Lambda extension layer).Network —
aws:network:disrupt-connectivity,aws:network:route-table-disrupt-connectivity,aws:network:transit-gateway-disrupt-cross-region-connectivity.FIS API faults / control —
aws:fis:inject-api-internal-error,aws:fis:inject-api-throttle-error,aws:fis:inject-api-unavailable-error,aws:fis:wait.SSM (custom faults on hosts) —
aws:ssm:send-command(runs an SSM document, e.g. FIS public stress documents likeAWSFIS-Run-CPU-Stress),aws:ssm:start-automation-execution. Requires the SSM Agent installed/running on targets.CloudWatch —
aws:cloudwatch:assert-alarm-state.ARC —
aws:arc:start-zonal-autoshift.
Targets — how to scope the blast radius
A target defines resourceType (exactly one) plus one selector:
resourceArns— specific resource ARNs (cannot combine with tags or filters).resourceTags— map of tag key→value; all listed tags must match (AND).filters—path(PascalCase, from the resource's Describe API output) +values(OR within a filter; AND across filters). Cannot combine withresourceArns.parameters— attribute-based selectors for certain resource types (see below).selectionMode—ALL,COUNT(n), orPERCENT(n); picks from the identified set at random.COUNT(n)selects exactlynresources — 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.
FIS resolves all targets at experiment start. If a target resolves to zero resources, the
experiment fails (unless emptyTargetResolutionMode is skip).
Resource parameters (attribute selectors) — examples
aws:ec2:ebs-volume→availabilityZoneIdentifier.aws:ec2:subnet→availabilityZoneIdentifier,vpc(one VPC per account).aws:ecs:task→cluster,service.aws:eks:pod→clusterIdentifier(req),namespace(req),selectorType(labelSelector|deploymentName|podName, req),selectorValue(req),availabilityZoneIdentifier(opt),targetContainerName(opt).aws:lambda:function→functionQualifier.aws:rds:cluster→writerAvailabilityZoneIdentifiers;aws:rds:db→availabilityZoneIdentifiers.aws:elasticache:replicationgroup→availabilityZoneIdentifier(req).
Multi-account / cross-AZ tip: when targeting by AZ, use the AZ ID (e.g. use1-az1), not
the AZ name (us-east-1a) — AZ IDs are consistent across accounts.
Example target
"targets": {
"randomInstance": {
"resourceType": "aws:ec2:instance",
"resourceTags": { "env": "prod" },
"filters": [
{ "path": "Placement.AvailabilityZone", "values": ["us-east-1a"] },
{ "path": "State.Name", "values": ["running"] }
],
"selectionMode": "COUNT(1)"
}
}Scenario library (console-only, AWS-owned)
Scenarios are pre-built target+action patterns for common impairments. They are a console-only experience: select one in the FIS console → Create template with scenario → fill in parameters, role, stop conditions, logging → save as an experiment template. To automate, either export the created template, or copy the scenario's Content tab and complete missing parameters manually. Prefer a scenario over a hand-built template when one fits — less undifferentiated heavy lifting and AWS-maintained.
Common scenarios (verify current library in the console):
EC2 (target by tag):
EC2 stress: instance failure — stop instances, restart after the action duration (default 5 min).
EC2 stress: CPU / Memory / Disk / Network Latency — inject increasing resource pressure.
EKS (target pods by Kubernetes app label):
EKS stress: Pod Delete — delete matched pods (recovery per k8s config).
EKS stress: CPU / Memory / Disk / Network latency.
Single-AZ / multi-AZ / multi-Region (multiple resource types):
AZ Availability: Power Interruption — simulate a complete power interruption in one AZ.
AZ: Application Slowdown — add latency between resources within one AZ.
Cross-AZ: Traffic Slowdown — inject packet loss between AZs.
Cross-Region: Connectivity — block traffic from the experiment Region to a destination Region and pause cross-Region data replication.
EBS (target volumes by tag; volumes must be in the same AZ):
EBS: Sustained / Increasing / Intermittent / Decreasing Latency — I/O latency patterns.
Prerequisites & gotchas by action
SSM-based actions (host stress, custom faults): SSM Agent must be installed and running on targets; the experiment role needs SSM permissions.
Lambda actions: require the FIS Lambda extension layer configured on the function.
EBS
pause-volume-io: target volumes must be attached to Nitro-based instances.EKS pod actions: require the target EKS cluster to be prepared for FIS (see EKS Pod actions docs).
Network faults: verify VPC/subnet/route-table prerequisites; connectivity disruption acts at the network layer, not the API layer.
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