GCP VMs instances

Compute instances

job "gcp" "vm" {
    project = "my-awesome-company-project"
    region = "us-central1-a"
    config {
        tag = "env:prod"
        chaos = "terminate"
        count = 8
    }
}

chaos config:

  • terminate: Finds compute VM instances with specified tag and destroys them.
  • reset: Finds compute VM instances with specified tag and resets the instances.
  • stop: Stops compute VM instances.