Posted On: Jul 25, 2022

AWS Fault Injection Simulator (FIS) now supports ChaosMesh and Litmus experiments for containerized applications running on Amazon Elastic Kubernetes Service (EKS). Using the new Kubernetes custom resource action for AWS FIS, you can control ChaosMesh and Litmus chaos experiments from within an AWS FIS experiment, enabling you to coordinate fault injection workflows among multiple tools. For example, you can run a stress test on a pod’s CPU using ChaosMesh or Litmus faults while terminating a randomly selected percentage of cluster nodes using AWS FIS fault actions.

To get started running ChaosMesh and Litmus chaos experiments from AWS FIS, simply log in to AWS FIS in the AWS Management Console and start creating a new experiment template. Next, select the aws:eks:inject-kubernetes-custom-resource action type and provide the Kubernetes parameters such as API version, namespace, and custom resource details. Then, specify the EKS cluster you want to target. Because AWS FIS is a fully managed service for running fault injection experiments on AWS, you can also apply IAM permissions to manage which users and roles can start experiments, set Amazon CloudWatch alarms to stop an experiment automatically if a predefined threshold is met, and write experiment outputs to Amazon CloudWatch Logs or S3 buckets.

To learn more, visit Amazon EKS actions in the AWS FIS User Guide and check out the example template for running a pod CPU stress test.