secdevops-cuse / CyberRange

The Open-Source AWS Cyber Range
https://medium.com/aws-cyber-range
459 stars 89 forks source link

AMI LifeCycle bot #84

Open cappetta opened 3 years ago

cappetta commented 3 years ago

the kali box had an major lag issue in us-east-1. Performance testing is a new challenge requiring research. This requires more research, possible low hanging fruit consider: https://help.k2.com/kb001279

The initial thought is to simply rebuild the ami, I can copy one from another region. however if the copy is creating the issue then a complete rebuild is necessary.

Building the AMIs is a repetitive process - there are many automated solutions including packer. let's create a lambda function that allows a slackbot to handle some of the heavy lifting.

cappetta commented 3 years ago

As we are in here, I think I should create some functionality that allows us to start, stop, destroy ec2 instances and ami's - This definitely evolves into an epic of features