Code Monkey home page Code Monkey logo

chaosmonkey's Introduction

.NET Chaos Monkey

The Chaos Monkey originated with Netflix, who built a Chaos Monkey in order to test that they can consistently handle failure. Partly because of its name and partly because the idea of randomly terminating production servers is an absurd check of fault tolerate architectures, the Chaos Monkey concept took a life of its own and has become part of AWS legend. Werner Vogels even kicked off a t-shirt design contest.

This is a .NET implementation of the Chaos Monkey that randomly chooses from tagged instances at an endpoint (eg. US, EU etc). The application is a simple console executable that uses the AWS .NET API and has various options available, as listed below:

-a, --awsaccesskey=VALUE		Access key of AWS IAM user that can list and terminate instances  
-d, --delay=VALUE				Delay (milliseconds) before chaos is unleashed again (if repeat option set)  
-D, --acceptdisclaimer          Chaos Monkey is designed to break stuff, setting this option means that you acknowledge this  
-e, --endpoint=VALUE       		AWS endpoint name (US-East, US-West, EU, Asia-Pacific-Singapore, Asia-Pacific-Japan)  
-h, -?, --help             		Show help (this screen)  
-i, --loadsettings=VALUE   		Load settings xml file  
-l, --log=VALUE            		Save log to file  
-o, --savesettings=VALUE   		Save settings to xml file  
-r, --repeat=VALUE         		Number of times chaos is unleashed (default 1)  
-s, --awssecretkey=VALUE   		Access key of AWS IAM user that can list and terminate instances  
-S, --serviceurl=VALUE     		URL of EC2 service endpoint (use e|endpoint to use defaults)  
-t, --tagkey=VALUE         		Key of Tag that will be search for in instances e.g. if EC2 tag is chaos=1, ChaosMonkey -t=chaos -v=1  
-v, --tagvalue=VALUE       		Value of Tag that will be search for in instances e.g. if EC2 tag is chaos=1, ChaosMonkey -v=1 -t=chaos  

The screenshot below illustrates how it runs.

ScreenShot

To install, you can download the binaries, extract the zip file and run ChaosMonkey.exe

DISCLAIMER

By design, the Chaos Monkey terminates servers randomly and without prejudice. Nobody can accept any responsibility if you use the Chaos Monkey to shoot yourself in the foot.

Simon Munro

chaosmonkey's People

Contributors

simonmunro avatar joymon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.