Injecting Chaos in AWS EC2

More Tutorials
Injecting Chaos in AWS EC2

ChaosIQ experiments are run through Chaos Toolkit. When targeting AWS systems for your experiments, the Chaos Toolkit AWS extension offers a large set of activities for AWS services. This page lists all activities specific to Amazon Elastic Cloud Compute (EC2).

EC2 is a web service by Amazon that provides resizable compute capacity for web-scale cloud computing.

Actions

  • Start or restart instances,
  • Stop a single or multiple instances,
  • Terminate a single or multiple instances,
  • Attach a previously detached EBS volume to its associated EC2 instance,
  • Detach a random EBS volume.

Probes

  • Count instances,
  • Describe instances,
  • Get an instance state.

More information and examples

The Open Chaos Experiment Catalog offers examples of experiments using the AWS extension to inject turbulent conditions to EC2:

Read the extension's documentation for complete usage and syntax examples.

Other AWS Services

The AWS extension currently offers actions and probes to target EC2, ECS, IAM, AWS Lambda, CloudWatch, EKS, RDS, and elbv2.