Go-Chaos is a cli app to make chaos engineering simple with experiments as code.
Go-chaos support the experimentation on the following providers:
Start by creating a directory
mkdir chaosExperiment && cd chaosExperiment
Create a simple chaos config file and name it experiment.hcl
app = "ProdApp"
description = "this is a chaos engineering experiment"
job "aws" "ec2" {
region = "us-east-1"
config {
tag = "Name:prod-web-server"
chaos = "terminate"
count = 6
}
}
Execute the experiment:
go-chaos destroy experiment.hcl
This last experiment will terminate 6 EC2 instances with the tag Name:prod-web-server in region us-east-1
Go-Chaos is written in Go, more features (and bugfixes) are in development, if you want a feature or contribute with code, please make a Pull Request.
go-chaos experiments This documentation