AWS EC2 time is not cheap, we should make it possible to "fire and forget" a computation without monitoring the progress to just shut it down to not incur charges when it is already idling.
Ideally reproman run -r mylarge-ec2 would start mylarge-ec2 first, do all the run needs, fetch the results and stop the resource upon completion. So may be it could be as simple as a predefined list of actions to do on the resource, e.g. --resource-actions={start,stop-after,delete-after,email-after}?
AWS EC2 time is not cheap, we should make it possible to "fire and forget" a computation without monitoring the progress to just shut it down to not incur charges when it is already idling.
Ideally
reproman run -r mylarge-ec2
would startmylarge-ec2
first, do all the run needs, fetch the results and stop the resource upon completion. So may be it could be as simple as a predefined list of actions to do on the resource, e.g.--resource-actions={start,stop-after,delete-after,email-after}
?