Chapter 6: Chaos Engineering with AWS Fault Injection Simulator
This chapter covers the concept of chaos engineering and when it is needed. It will walk you through the principle of chaos engineering and give insights in terms of where chaos engineering fits in concerning Continuous Integration (CI) / Continuous Delivery/Deployment (CD). We will implement chaos action on EC2 instances, the Relational Database Service (RDS), and the Elastic Container Service for Kubernetes (EKS) worker node group via the AWS Fault Injection Simulator, and verify whether the infrastructure is fault-tolerant and the application still responsive. Performing this experiment will give you sufficient confidence to place this as part of CI/CD in your organization.
In this chapter, we are going to cover the following main topics:
- The concept of, and need for, chaos engineering
- Chaos engineering in CI/CD
- Experimenting with AWS FIS on multiple EC2 instances with a terminate action
- Experimenting...