Friday, October 14, 2016

Saving Money with Shutdown


My Ubuntu instances were costing more money than I want, mainly because I would spin them up and forget about them. Now I add a root crontab entry to just "shutdown" which does stop the AWS instance:

$ sudo crontab -u root -e

Then add:

# Every day at 4:00am, shutdown the AWS instance to save money
0 4 * * * /sbin/shutdown -h now



My Amazon Web Service Notes

Just a quick place where I can share some of my AWS notes and how I did things.