3 ms·
Some sort of warning system sounds nice, but since your program should be saving as often as it can anyway, a 5 minute warning wouldn't actually be useful becau
by fragmede 17y ago
Some sort of warning system sounds nice, but since your program should be saving as often as it can anyway, a 5 minute warning wouldn't actually be useful because if there was a save point, you've saved, and if there wasn't, well, there wasn't and you couldn't have saved given a 5 minute warning anyway. Amazon also, of course, pushes all their other products to help deal w/ this problem.
They do also mention that it is 'by the hour', which I'd double check that it doesn't include fractional hours, but after the instance has been up for ~55 minutes, you have your 5 minute warning.
You do, however have a really good point with the up-sell off the 5-minute warning. I wonder if that could be too easily gamed. When that 5 minute warning comes the spot instances tell the normal-instance key node, which then requests a bunch of spot instances at 2x the current spot-instance price to be able to finish the current 'set'. (But then also request a bunch more spot instances at below the current spot price, in an attempt to drive down spot instance pricing.)
The other thing is that it is region specific; which means that you could target the EU region from the US west coast to get work done on spot-instances during the day.
- wmf 17y agoafter the instance has been up for ~55 minutes, you have your 5 minute warning. Nope; Amazon can terminate spot instances at any time. Thought experiment: Assume EC2 is full (which it will be from now on) and someone requests a regular instance. To create the instance promptly, EC2 will have to shut down a spot instance. (But then also request a bunch more spot instances at below the current spot price, in an attempt to drive down spot instance pricing.) That's not how auctions work. The number of bids below the winning price is irrelevant.
- dotBen 17y ago<i>a 5 minute warning wouldn't actually be useful because if there was a save point, you've saved,</i> Not with cloud storage where disk I/O costs money. You really only want to save at the end of a task rather than during it. Or you save the results off-cloud in a back store hosted elsewhere. (all of which assumes you are working at scale, where the cumulative costs become prohibitive)