I am looking for a way to programmatically kill long running AWS EC2 Instances.
I did some googling around but I don't seem to find a way to find how long has an instance been running for, so that I then can write a script to delete the instances that have been running longer than a certain time period...
Anybody dealt with this before?