Inspiration

I was inspired to do this because I have anciently left an instance running all night on multiple occasions. I would like to not go bankrupt due to my sleepiness.

What it does

Automatically detects if an AWS instance has been running longer than a given threshold and stops it, emailing the user that those instances were stopped.

How I built it

I used boto3 to access and terminate the clusters and smtplib to send the emails from a throwaway account.

What's next for Stop Stealing My Money Bazos

Integrate it into existing infrastructure so that it preforms these checks periodically without the user prompting it. There should also be an option to disable this feature when running certain clusters.

Built With

Share this project:

Updates