Difficulty: beginner
Estimated Time: 5 minutes

ChaosIQ offer a number of commercial tools and services to support successful chaos engineering.

In this tutorial you can explore the various features they offer that extend and are integrated with by the Chaos Toolkit including:

  • Using ChaosIQ to bootstrap useful experiments even faster using the toolkit's chaos discover command.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

ChaosIQ.io Integration

Step 1 of 4

Installing ChaosIQ

The Chaos Toolkit CLI, called chaos, has already beemn installed and you can make it available using the following command:

source ~/.venvs/chaostk/bin/activate

With the chaostk virtual environment activated you can now execute chaos --help and you should see the following:

(chaostk) 15:47:04 ~/tutorial$ chaos --help
Usage: chaos [OPTIONS] COMMAND [ARGS]...

Options:
  --version           Show the version and exit.
  --verbose           Display debug level traces.
  --no-version-check  Do not search for an updated version of the
                      chaostoolkit.
  --change-dir TEXT   Change directory before running experiment.
  --no-log-file       Disable logging to file entirely.
  --log-file TEXT     File path where to write the experiment log.  [default:
                      experiment.log]
  --help              Show this message and exit.

Commands:
  discover  Discover capabilities and experiments.
  init      Initialize a new experiment from discovered...
  run       Run the experiment given at PATH.
  validate  Validate the experiment at PATH.

Now you need to install the ChaosIQ extension into the Chaos Toolkit by executing:

pip install -U chaosiq

Once the command is executed you should see something like:

Installing collected packages: chaosiq
Successfully installed chaosiq-0.2.2

With ChaosIQ installed, it's now time to set it up it with a token so you can use it...

experiment.json
service.py