# KodeKloud: Courses Chaos Engineering ## Chaos Engineering ### Introduction - [Course: Chaos Engineering](https://notes.kodekloud.com/docs/Chaos-Engineering/index.md): This lesson introduces chaos engineering using AWS Fault Injection Simulator to design and analyze fault-injection experiments for system resilience. - [Course Introduction](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction/Course-Introduction/page.md): This lesson introduces chaos engineering using AWS Fault Injection Simulator to design and analyze fault-injection experiments for system resilience. ### Building a Basic FIS experiment - [FIS Permissions](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/FIS-Permissions/page.md): This article explains the IAM roles required for AWS Fault Injection Simulator and how to create them. - [Demo Create FIS Permissions](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-Create-FIS-Permissions/page.md): This guide explains how to set up an AWS Fault Injection Simulator service role for chaos engineering experiments and log monitoring. - [Experiment 1 Chaos Engineering on ASG](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Experiment-1-Chaos-Engineering-on-ASG/page.md): This article describes designing and executing a chaos engineering experiment using AWS Fault Injection Simulator on an Auto Scaling Group to test application resilience. - [Built ASG based Architecture](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Built-ASG-based-Architecture/page.md): This guide explains how to deploy an AWS architecture using the Management Console for the AWS Fault Injection Service experiment. - [Demo ASG based Architecture](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-ASG-based-Architecture/page.md): This guide explains how to build an Auto Scaling Group-based architecture on AWS in the Tokyo region for a Fault Injection Service experiment. - [Create FIS Experiment](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Create-FIS-Experiment/page.md): This guide explains how to define and launch an AWS FIS experiment using actions, targets, and stop conditions while applying guardrails. - [Demo Create FIS Experiment](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-Create-FIS-Experiment/page.md): Create a Fault Injection Simulator experiment template to terminate 50% of instances in an Auto Scaling group for resilience testing. - [Demo Run FIS Experiment](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-Run-FIS-Experiment/page.md): This tutorial explains how to run a Fault Injection Simulator experiment in AWS to terminate 50% of instances in an Auto Scaling group. - [Demo Learning and Improvements](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-Learning-and-Improvements/page.md): This article discusses validating application availability using AWS Auto Scaling and Fault Injection Service by terminating an EC2 instance. - [Demo FIS experiment CloudWatch Dashboard](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-FIS-experiment-CloudWatch-Dashboard/page.md): This lesson demonstrates using a CloudWatch dashboard to monitor an Auto Scaling Group during a Fault Injection Simulator experiment. - [Demo Create FIS Experiment using CF](https://notes.kodekloud.com/docs/Chaos-Engineering/Building-a-Basic-FIS-experiment/Demo-Create-FIS-Experiment-using-CF/page.md): This tutorial demonstrates deploying an AWS Fault Injection Simulator experiment using a CloudFormation template for chaos engineering. ### Introduction to Real life Application - [Introduction to Our Real Life Application](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Introduction-to-Our-Real-Life-Application/page.md): Deploy a microservices-based pet adoption website on AWS and run Fault Injection Simulator experiments to ensure high availability, scalability, and resilience. - [Pre requisite to Deploy Application Cloud 9 Deprecation](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Pre-requisite-to-Deploy-Application-Cloud-9-Deprecation/page.md): Provisioning an EC2-based development environment to deploy a pet adoption website using AWS CDK while addressing Cloud9 deprecation. - [Demo Pre requisite to Deploy Application](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Demo-Pre-requisite-to-Deploy-Application/page.md): This lesson covers manual steps to install and configure an EC2 environment without Cloud9 IDE, including IAM role creation and application deployment with AWS CDK. - [Demo Setup Architecture and Deploy Application](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Demo-Setup-Architecture-and-Deploy-Application/page.md): This article covers the deployment and testing of a pet adoption application using AWS services and load testing with k6. - [How to Plan Your Experiment Part 1](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/How-to-Plan-Your-Experiment-Part-1/page.md): This guide teaches how to design a Fault Injection Simulation experiment on AWS to uncover weaknesses and enhance system resilience. - [How to Plan Your Experiment Part 2](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/How-to-Plan-Your-Experiment-Part-2/page.md): This article guides you through hypothesis creation, experiment design, execution, and analysis for running game day or Fault Injection Simulation experiments. - [Establishing Steady State Metrics Using Cloudwatch RUMX Ray](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Establishing-Steady-State-Metrics-Using-Cloudwatch-RUMX-Ray/page.md): This article discusses using AWS tools to establish performance baselines for web applications before introducing faults. - [Demo Cloud Formation Deployment](https://notes.kodekloud.com/docs/Chaos-Engineering/Introduction-to-Real-life-Application/Demo-Cloud-Formation-Deployment/page.md): This tutorial automates the deployment of an application build environment on EC2 using AWS CloudFormation. ### Chaos Engineering on Compute - EC2 - [Disk Fill Scenario on EC2](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Compute-EC2/Disk-Fill-Scenario-on-EC2/page.md): This article guides you through simulating a disk-fill failure on an EC2 instance using AWS Fault Injection Simulator to test application resilience. - [Demo FIS Experiment Disk Fill Scenario on EC2 and before metrics in X Ray](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Compute-EC2/Demo-FIS-Experiment-Disk-Fill-Scenario-on-EC2-and-before-metrics-in-X-Ray/page.md): This tutorial guides running a disk fill Fault Injection Simulation on an EC2 instance, covering metrics recording, configuration, execution, and analysis. - [Demo FIS Experiment After Metrics in X Ray and EC2 instances](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Compute-EC2/Demo-FIS-Experiment-After-Metrics-in-X-Ray-and-EC2-instances/page.md): This article demonstrates using AWS FIS to test system resilience under disk saturation while monitoring metrics in AWS X-Ray and EC2 instances. ### Chaos Engineering on Database - Aurora - [Reboot Reader Node Scenario on Aurora](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Database-Aurora/Reboot-Reader-Node-Scenario-on-Aurora/page.md): This guide demonstrates safely rebooting a reader node in an Amazon Aurora PostgreSQL cluster using AWS Fault Injection Simulator. - [Demo Pre requisite for FIS experiment Create IAM role and Current State](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Database-Aurora/Demo-Pre-requisite-for-FIS-experiment-Create-IAM-role-and-Current-State/page.md): This guide verifies the Aurora PostgreSQL cluster configuration and sets up the IAM role for AWS Fault Injection Simulator. - [Demo Create and Run FIS experiment and After Metrics and DB state](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Database-Aurora/Demo-Create-and-Run-FIS-experiment-and-After-Metrics-and-DB-state/page.md): This tutorial teaches how to create an AWS FIS experiment to reboot an Aurora RDS reader instance and verify application impact. ### Chaos Engineering on Serverless - Fargate - [ECS Fargate Experiment Idea and Hypothesis](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Serverless-Fargate/ECS-Fargate-Experiment-Idea-and-Hypothesis/page.md): Learn to use AWS Fault Injection Service to test the resilience of an ECS Fargate microservice under high I/O stress. - [Demo Fargate Steady State](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Serverless-Fargate/Demo-Fargate-Steady-State/page.md): Capturing baseline metrics for ECS Fargate tasks to quantify the impact of an I/O stress fault test. - [Demo Fargate IAM role creation](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Serverless-Fargate/Demo-Fargate-IAM-role-creation/page.md): Learn to create an IAM role for chaos experiments on Amazon ECS Fargate using AWS Fault Injection Simulator. - [Demo Run experiment Task IO stress](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Serverless-Fargate/Demo-Run-experiment-Task-IO-stress/page.md): This article provides a walkthrough for creating an AWS Fault Injection Simulator experiment to inject I/O stress on ECS Fargate tasks. - [Demo Fargate After State and Learning and Improvements](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Serverless-Fargate/Demo-Fargate-After-State-and-Learning-and-Improvements/page.md): This article discusses simulating user traffic on an AWS Fargate application to analyze performance and resilience under load using monitoring tools. ### Chaos Engineering on Kubernetes- EKS - [EKS Explanation](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/EKS-Explanation/page.md): This guide demonstrates using AWS Fault Injection Simulator to simulate high memory utilization on an Amazon EKS cluster and test system resilience. - [Demo Memory Stress on EKS Part 1](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Memory-Stress-on-EKS-Part-1/page.md): This guide prepares your environment for running AWS Fault Injection Simulator experiments on Amazon EKS. - [Demo Memory Stress on EKS Part 2](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Memory-Stress-on-EKS-Part-2/page.md): This lesson establishes a steady-state baseline for an Amazon EKS application by collecting metrics from AWS observability tools before a memory-stress experiment. - [Demo Memory Stress on EKS Part 3](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Memory-Stress-on-EKS-Part-3/page.md): This tutorial guides creating an AWS FIS experiment to inject memory stress into a pod on Amazon EKS for resilience testing. - [Demo Memory Stress on EKS Part 4](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Memory-Stress-on-EKS-Part-4/page.md): This article analyzes the effects of memory stress on a Kubernetes pod in Amazon EKS using AWS Fault Injection Simulator. - [Pod Delete on EKS](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Pod-Delete-on-EKS/page.md): This tutorial teaches how to use AWS FIS to simulate pod deletion on Amazon EKS for validating application resilience. - [Demo Steady State Pod Delete on EKS](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Steady-State-Pod-Delete-on-EKS/page.md): This article explains how to establish a steady state for an application on Amazon EKS before conducting a pod deletion experiment. - [Demo Run Experiment Pod Delete on EKS](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Run-Experiment-Pod-Delete-on-EKS/page.md): Learn to execute a pod-deletion experiment on Amazon EKS using AWS FIS to validate Kubernetes pod replacement without user disruption. - [Demo Recheck After Pod Delete on EKS](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Kubernetes-EKS/Demo-Recheck-After-Pod-Delete-on-EKS/page.md): This article demonstrates how Amazon EKS and Kubernetes self-heal after a Pod deletion without impacting end-users. ### Chaos Engineering on Availability Zone - [What is an Availability Zone AZ](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Availability-Zone/What-is-an-Availability-Zone-AZ/page.md): This article explores AWS Availability Zones, their differences from Regions, and their importance in designing resilient cloud architectures. - [Experiment Overview](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Availability-Zone/Experiment-Overview/page.md): This article describes an experiment using AWS Fault Injection Simulator to test the resilience of a multi-AZ architecture during a power interruption. - [Demo General Experiment Setup AZ](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Availability-Zone/Demo-General-Experiment-Setup-AZ/page.md): Create and configure an IAM role and task policy to enable an AWS Fault Injection Simulator Availability Zone power interruption experiment, with supporting files, scripts, and constrained permissions. - [Demo Prepare Experiment AZ](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Availability-Zone/Demo-Prepare-Experiment-AZ/page.md): Learn to create an AWS Fault Injection Simulator experiment template simulating an Availability Zone power interruption for an Amazon Aurora database. - [Running the Experiment](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-on-Availability-Zone/Running-the-Experiment/page.md): Guide to running an AWS Fault Injection Service experiment triggering RDS failover while monitoring CloudWatch and X‑Ray to validate multi‑AZ resilience and recovery ### Conclusion - [Cleanup Process](https://notes.kodekloud.com/docs/Chaos-Engineering/Conclusion/Cleanup-Process/page.md): Guide to cleaning up AWS workshop resources by emptying S3, deleting RDS snapshots, destroying CDK CloudFormation stacks, and manually removing leftover EC2, ECR, IAM, ASG, and log resources - [Conclusion](https://notes.kodekloud.com/docs/Chaos-Engineering/Conclusion/Conclusion/page.md): This article covers Chaos Engineering with AWS Fault Injection Simulator, focusing on injecting failures, observing behavior, and enhancing resilience in distributed applications. ### Chaos Engineering Fundamentals - [Why Chaos Engineering](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-Fundamentals/Why-Chaos-Engineering/page.md): Chaos Engineering empowers teams to improve system resilience by identifying weaknesses before they surface in production through controlled fault injection and continuous validation. - [What is Chaos Engineering](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-Fundamentals/What-is-Chaos-Engineering/page.md): Chaos engineering involves running controlled experiments to understand system behavior under failure conditions, uncovering weaknesses and improving resilience through intentional fault injection. - [What is AWS FIS](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-Fundamentals/What-is-AWS-FIS/page.md): AWS Fault Injection Simulator is a managed service for running fault-injection experiments on AWS workloads to validate system resilience under failure scenarios. - [FIS Experiments in this Course](https://notes.kodekloud.com/docs/Chaos-Engineering/Chaos-Engineering-Fundamentals/FIS-Experiments-in-this-Course/page.md): Run fault injection simulations using AWS Fault Injection Simulator to validate and enhance application resilience under various stress scenarios.