Expensive Mistakes
Recently I made an expensive mistake. I left an Amazon AWS EC2 instance on over the weekend, not being used. That cost me about $75 for two days. What happened was that I simply was distracted when it was time to shutdown this instance, and I forgot to stop it. Not going to let that happen again.
So I’m attacking the problem two fold.
- Let the system shutdown on its own when its idle after awhile.
- Make it easier for me to startup/shutdown
The instance happens to be a Windows Server 2012 system where I do my .NET C# development, so I bought a simple/small tool to shutdown the system after its been idle for 1 hour. I also created a small java app that startup and shutdown Amazon AWS EC2 Instance IDs.
https://github.com/ilopez/EC2Launcher
I’ll eventually build this to do more things like launch SSH terminals, and RDP windows sessions so I can speed up my own remote-worker process.