Git Product home page Git Product logo

robo-chaos's Introduction

Robo Chaos

As of June 7th, I gave a talk at AWS Community Day Midwest and slide

Idea is I have RoboChaos machines to help me automate the chaos scenario!

From Simian Army to Lambda serverless

This is an attempt to port SimianArmy to serverless model with AWS Lambda inspired from Chaos Lambda

I modified some of the code and use Terraform to script out all related infrastructure.

How to

overview

First you need to setup Master account where most of codes located, you can follow sample script under /sample to get start or just goto /infra to run the terraform script.

Once you have master account, it's time to create Target accounts, with one Master account it can work with multiple target accounts and it can be the same for simple case like in /sample project.

Lastly, depend on your current scenario, if you're already have ASG setup with EC2 and SSM policy arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM attached to EC2 profile. Again in the /sample has been prepared for Master and Target account to be the same plus sample nginx application behind ELB with 2 T2micro instances.

Code Structure

├── infra # this is for Master Account
│   ├── config
│   │   └── master.tfvar
│   ├── main.tf
│   ├── outputs.tf
│   └── variables.tf
├── infra_target # this is for Target Account
│   ├── main.tf
│   └── variables.tf
├── sample # sample app to get you start
│   ├── README.md
│   ├── apps
│   │   └── main.tf
│   ├── run.sh
│   └── teardown.sh
└── src
    └── *.py

Have Fun!

robo-chaos's People

Contributors

anonymint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ibanknatoprad

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.