A Python script that kills your ec2 instances. Do
ec2 killer is a script that uses your aws credentials to connect to the ec2 api. It might be useful if your AWS credentials were compromised it can delete instances that were created today.
- Install the required python modules:
pip install -r requirements.txt
- dry run the script
python instances.py
- run the script if you're sure that you want to terminate the instances
python instances.py commit
WARNING: This will terminate instances. Don't run this on your account if you don't understand what the script is doing!