Shut down EC2 instances after prolonged disconnection from master
|Reported by:||dustin||Owned by:||tardyp|
Right now, there are a number of ways for an EC2 instance to become "stranded", where it's not connected to the master, but still running and thus costing the user perfectly good beer money.
The buildslave should optionally have a way to halt the host it is running on when it is disconnected for a while. Config knobs:
- haltWhenDisconnectedFor - # of seconds of continuous disconnection
- haltWhenDisconnectedCommand - command line to use for halting (e.g., sudo halt)