A small tool for wake up my development instances and stop them. Works on Linux.
$ ./startstopinstances (start|stop|status)
- Start: reads the instances IDs from ~/.aws/instances and starts them.
- Stop: reads the instances IDs from ~/.aws/instances and stops them.
- Status: shows the state and assigned public IPs.
~/.aws/instances holds the IDs you want to control. One ID per line. If you want to control a different region, configure ~/.aws/config properly.