Chaos Engineering with BOSH and Chaos Lemur
CloudFoundry's BOSH unifies CI/CD practices for virtualized, distributed systems like VMware vSphere and the open-source Chaos Lemur tool makes it relatively easy to inject failure into Pivotal Cloud Foundry systems. Chaos Lemur is a self-contained Java application that will randomly destroy virtual machines in any BOSH-managed environment. Similar to the original Chaos Monkey, Chaos Lemur can be configured to execute on a daily schedule and target one or more VMs for destruction based on pseudo-random probabilities. It can also be integrated with Datadog to log destruction events.
Chaos Lemur is a standalone Java 8 application that requires Maven for building and deployment, but otherwise, it can be hosted anywhere. Configuration is handled using local environment variables.
Chaos Lemur also requires an infrastructure on which to perform attacks. This requires specifying credential environment variables for your application infrastructure. The full list of supported infrastructures and their respective variables can be found here, but below you'll find the necessary settings for vSphere.
The final (optional) component for using Chaos Lemur is Redis. If configured, Chaos Lemur will use Redis to store persistence state information.
Chaos Engineering on VMware with Gremlin
Gremlin finds and helps you fix weaknesses in your VMware architecture before they cause problems. Gremlin makes Chaos Engineering simple, safe, and secure, improving your system's stability and resilience against unexpected failures. You can start running Chaos Experiments on your VMware application in just a few minutes by installing Gremlin as a Cloud Foundry add-on. Gremlin enables you to test your resilience to the unexpected.