AWS Fault Injection Service
Cloud service · AWS · Updated

AWS Fault Injection Service

In short

AWS Fault Injection Service (AWS FIS) is a managed service designed to help developers intentionally introduce faults into their applications on Amazon Web Services to test resilience and fault-tolerance.

Cloud Services Hub →

6 key features of AWS Fault Injection Service

AWS Fault Injection Simulator (AWS FIS) offers pre-built templates, seamless integration with AWS services, controlled chaos experiments, automated recovery and rollback, and advanced observability, streamlining the process of conducting chaos engineering experiments in a secure and controlled manner.

01
Pre-Built Templates for Common Failure Scenarios

AWS FIS offers a set of pre-built templates for common failure scenarios such as server outages, database failures, and network disruptions, allowing for easy and quick setup of chaos experiments.

02
Integration with AWS Services

Seamlessly integrated with various AWS services, AWS FIS enables you to inject faults into EC2 instances, EKS clusters, RDS databases, and more, ensuring a broad coverage for testing your application's resilience.

03
Controlled Chaos Experiments

AWS FIS provides fine-grained controls to manage the scale and impact of your fault injection experiments, ensuring they are conducted in a safe, secure, and controlled environment.

04
Action-Dependent Recovery

Stopping an experiment does not necessarily restore resources to their original state. Recovery depends on the action: reversible faults can be removed, but terminated EC2 instances are not recreated automatically.

05
Observability and Monitoring

Integrates with AWS CloudWatch for real-time monitoring and observability, allowing you to track the impact of fault injection experiments on your applications and systems.

06
Amazon EBS Storage Fault Injection

AWS FIS supports EBS pause I/O and latency injection actions to test application responses to storage interruptions and degraded volume performance, including monitoring and recovery mechanisms.

Where AWS Fault Injection Service is used

AWS Fault Injection Simulator (AWS FIS) use cases include testing system resilience to EC2 instance failures, evaluating database failover processes, stress testing applications, enhancing disaster recovery planning, and simulating latency and timeouts.

  1. 01
    Testing System Resilience to EC2 Instance Failures

    AWS FIS can simulate the failure of Amazon EC2 instances within an application's environment. This allows teams to assess and improve the application's resilience and failover strategies, ensuring minimal disruption or downtime for end-users during unplanned outages.

  2. 02
    Evaluating Database Failover Processes

    By intentionally injecting faults such as a database outage or slowdown, teams can use AWS FIS to verify the effectiveness of their database failover mechanisms and replication strategies. This ensures data integrity and availability even in the face of unforeseen database issues.

  3. 03
    Stress Testing Applications

    AWS FIS facilitates load and stress testing by generating high levels of traffic or resource consumption. This helps identify bottlenecks and performance limitations within an application, providing insights into scalability and resource management needs.

  4. 04
    Disaster Recovery Planning

    Organizations can use AWS FIS to simulate various disaster scenarios, allowing them to evaluate and refine their disaster recovery (DR) plans. This proactive approach helps minimize downtime and data loss during actual disasters by ensuring all recovery procedures work as intended.

  5. 05
    Latency and Timeout Simulation

    AWS FIS can introduce network latency or API timeouts, enabling teams to verify how well their applications handle increased response times or temporary service unavailability. This is crucial for maintaining a seamless user experience under varied network conditions.

How AWS Fault Injection Service is priced

AWS Fault Injection Simulator uses a per-action pricing model, charging for each action executed in experiments, and offers a Free Tier including a number of free actions monthly.

Per-Action-Minute Pricing

AWS Fault Injection Service charges for active action-minutes and the number of accounts included in an experiment, rather than total experiment duration. The rate is $0.10 per action-minute plus $0.10 per action-minute for each additional account, except in AWS GovCloud (US-East and US-West), where both rates are $0.12.

Experiment Reports

Optional AWS FIS experiment reports cost $5 per report.

Services AWS Fault Injection Service works with

Amazon AuroraAmazon Aurora

AWS Fault Injection Service can force a failover of an Aurora DB cluster to test how applications handle a change in the writer instance. This helps validate connection recovery and retry behavior during database failover.

Amazon Aurora ServerlessAmazon Aurora Serverless

AWS Fault Injection Service can test failover of Aurora Serverless v2 clusters. Experiments help verify that applications reconnect and recover when a reader is promoted to replace the writer.

Amazon DynamoDBAmazon DynamoDB

AWS Fault Injection Service can pause replication for DynamoDB global tables to test application behavior when updates stop propagating between Regions. Its API fault-injection capabilities can also test how applications handle DynamoDB request failures.

Amazon EC2Amazon EC2

AWS Fault Injection Service can stop, reboot, or terminate EC2 instances and trigger Spot Instance interruptions. These experiments test instance replacement, workload recovery, and interruption-handling procedures.

Amazon EC2 Auto ScalingAmazon EC2 Auto Scaling

AWS Fault Injection Service can inject insufficient-capacity errors into EC2 Auto Scaling capacity requests. This tests how Auto Scaling groups and applications respond when replacement or scale-out capacity is unavailable.

Amazon Elastic Block Store (Amazon EBS)Amazon Elastic Block Store (Amazon EBS)

AWS Fault Injection Service can pause I/O and inject storage latency on EBS volumes. These experiments test application timeouts, storage monitoring, and recovery from degraded or unavailable storage.

Amazon Elastic Container Service (Amazon ECS)Amazon Elastic Container Service (Amazon ECS)

AWS Fault Injection Service can stop ECS tasks and inject faults such as CPU stress, memory stress, and network disruption into task workloads. Experiments help validate task replacement and application behavior under resource pressure.

Amazon Elastic Kubernetes Service (Amazon EKS)Amazon Elastic Kubernetes Service (Amazon EKS)

AWS Fault Injection Service can delete EKS pods and inject CPU, memory, I/O, and network faults into selected pods. This tests Kubernetes recovery behavior and application resilience without requiring an entire cluster outage.

Amazon ElastiCacheAmazon ElastiCache

AWS Fault Injection Service can simulate an Availability Zone power interruption for an ElastiCache replication group. This tests cache failover and how applications handle disrupted cache availability.

Amazon EventBridgeAmazon EventBridge

AWS Fault Injection Service sends experiment state-change events to EventBridge, where rules can trigger notifications or recovery workflows. EventBridge Scheduler can also start experiments on a recurring schedule.

What is AWS Fault Injection Service

2 min read

Introduced by Amazon Web Services, the AWS Fault Injection Service (AWS FIS) is a fully managed service designed to help businesses improve their application resilience. This proactive approach enables organizations to identify and rectify weaknesses, thereby enhancing system robustness and ensuring business continuity. 

AWS FIS provides a controlled environment for carrying out fault injection experiments that mimic various operational issues such as server failures, network latencies, and permission changes. By enabling the simulation of these scenarios, it aids in validating application responses and the effectiveness of monitoring and alerting systems. This, in turn, facilitates the refinement of automation to handle such events, improving the overall resilience and reliability of the cloud infrastructure. 

One of the key features of AWS FIS is its integration with AWS services and resources, ensuring a seamless and scalable way to conduct experiments across a wide variety of environments. This integration allows for the application of fault injection patterns to a broad set of AWS services such as Amazon EC2 instances, Amazon EKS clusters, and AWS Lambda functions, among others. Consequently, users can tailor their experiments to match their application's architecture closely, ensuring relevant and meaningful testing scenarios. 

AWS FIS also supports multi-account experiments that run from an orchestrator account and target resources in one or more target accounts.

AWS FIS employs a template-based approach to define and manage experiments, providing users with flexibility and control over the fault injection process. These templates specify the actions to be taken (e.g., injecting a specific fault), the targets for these actions, and any necessary safeguards or stop conditions to prevent unintended impact. This structured approach enhances the safety and efficacy of experiments, allowing teams to conduct rigorous testing with confidence. 

Per account and Region, AWS FIS permits up to 20 actions per experiment template and five simultaneously active experiments. Each action and each experiment can run for at most 12 hours; these quotas are not adjustable.

AWS FIS retains data about completed experiments for at most 120 days; this retention quota is not adjustable.

Moreover, AWS FIS focuses on ensuring that these fault injection experiments do not compromise security or compliance. It incorporates built-in safeguards that automatically halt experiments if predefined conditions are met, minimizing the risk of unintended consequences. Additionally, the service operates under the strict security standards of AWS, ensuring that all activities are conducted within a secure and compliant framework. 

In summary, AWS Fault Injection Service represents a sophisticated tool in the realm of cloud computing, offering organizations a powerful means to bolster application and infrastructure resilience. By leveraging AWS FIS to conduct deliberate and controlled fault injection experiments, businesses can uncover hidden vulnerabilities, enhance their response strategies, and build more robust systems capable of withstanding real-world challenges.

AWS Fault Injection Service exam questions

Real practice exam questions on AWS Fault Injection Service, with the correct answer and its explanation. Answer them with every option in the exam simulator.

SAP-C03

A financial services company processes payment instructions asynchronously. An API returns HTTP 202 after placing each instruction in a queue. Amazon EC2 workers then settle the payments with a downstream system. API availability does not indicate that payments have settled.

Under a controlled, constant load, the application normally settles 1,000 payments per minute. The business permits a temporary reduction of up to 5% in each 1-minute interval during a disruption, provided that the oldest unsettled payment is no more than 120 seconds old at each interval boundary.

A solutions architect is preparing a 15-minute AWS Fault Injection Service (AWS FIS) experiment that temporarily stops selected workers. The application publishes a CloudWatch count metric with a value of 1 for each confirmed settlement. An independent monitor publishes the age of the oldest unsettled payment at each minute boundary, including zero when no payments are pending. Both metrics are available before and throughout the experiment.

Which experiment hypothesis and measurement plan best validate the business requirements?

Show answerCORRECT ANSWER

Hypothesize that the remaining workers will preserve acceptable settlement performance. Require the CloudWatch Sum of confirmed settlements to be at least 950 in every 1-minute period and each oldest-unsettled-payment age observation to be at or below 120 seconds. Treat the experiment as successful only if both conditions hold throughout the experiment.

This hypothesis describes successful application behavior during the disruption using business outcomes. Summing the per-settlement count metric measures completed payments in each required interval, and the age metric independently validates the pending-work limit. A steady-state definition can allow bounded degradation: the permitted 5% throughput reduction does not itself represent failure.

SCS-C03

A company's incident response plan requires an evidence-export service to preserve every artifact listed in an incident manifest in a protected Amazon S3 bucket within 10 minutes, even if an export worker fails. The service runs on Amazon EC2 and uses a durable work queue. Each manifest includes the expected SHA-256 digest of every artifact.

In a representative nonproduction environment, an AWS Fault Injection Service (AWS FIS) experiment stopped an export worker during an active export. The experiment completed successfully, replacement capacity became healthy, and the queue eventually emptied. However, reviewers discovered that some manifest entries had no corresponding object in the destination bucket. Developers have changed the worker's retry logic.

Which procedure BEST validates whether the updated service meets the incident response requirement?

Show answerCORRECT ANSWER

Repeat the approved worker-stop experiment during an active export of synthetic artifacts. Measure from export initiation until every manifest entry has a destination object with the expected digest, enforce the exercise's safety limits, and compare the result with the 10-minute objective.

This tests a measurable hypothesis using a realistic fault and evaluates the required incident response outcome. Manifest reconciliation and digest verification establish completeness and integrity, while elapsed time establishes whether the preservation deadline was met. Repeating the fault after the retry change demonstrates whether the identified weakness was corrected.

DOP-C02

A company runs a stateless customer portal in two AWS Regions. Amazon Route 53 failover records direct users to the primary Region unless its HTTPS health check fails. Both Regions serve the same immutable dataset. The company requires new user sessions to recover within 120 seconds after the primary application becomes unavailable, and the on-call team must receive an alert within 60 seconds.

Previous exercises changed the DNS records manually and confirmed that the secondary application worked. However, an incident later revealed that the primary endpoint's health check could remain healthy while customer requests failed.

A DevOps engineer must design a repeatable experiment in a production-equivalent test environment with a separate DNS hostname. An approved AWS Fault Injection Service (AWS FIS) action can stop the test environment's primary application instances. The engineer must limit the experiment to those instances, preserve the normal failure-detection and recovery paths, and stop further fault injection if an independent safety alarm enters ALARM state. Stopping the experiment does not restart instances that have already stopped.

Which experiment design best meets these requirements?

Show answerCORRECT ANSWER

Target the tagged primary test instances with AWS FIS and configure the safety alarm as a stop condition. Send continuous requests through the test hostname using representative DNS caching behavior. Measure sustained application recovery and alert delivery from fault onset, retain failed health-check detection as an experiment failure, and run explicit cleanup to restart stopped instances.

This experiment introduces an actual application failure without bypassing the normal health-check, DNS failover, or alerting paths. Client-level measurements include detection and DNS caching delays, so they can validate the 120-second recovery requirement. Measuring alert delivery validates the operational response. Explicit targeting limits the blast radius, the alarm stops further injection, and cleanup handles resources that stopping the experiment does not restore.

Practice AWS Fault Injection Service in a full exam

Questions on AWS Fault Injection Service in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Fault Injection Service in lessons

5 short lessons on AWS Fault Injection Service in 3 certification courses.

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.