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.
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!