5 ms·
Just spin up regular VMs if you can't get spot instances when you need them.
by roca 5y ago
Just spin up regular VMs if you can't get spot instances when you need them.
- deleted 5y ago[deleted]
- xyzzyz 5y agoLack of spot VM means that all spare capacity has been taken up by the regular VMs, meaning that it spots are gone, so are regular ones.
- roca 5y agoMaybe that's true but we haven't seen this happen in practice. Maybe we're just incredibly lucky but we're able to get on-demand instances to recover after spot termination.
- apendleton 5y agoHaving worked on infrastructure deployed this way, I can say this oversimplifies a bit. There's virtually never no spot capacity at all, there's no capacity at a given bid price, for a given instance type, in a given region. You can start to scale up on-demand infrastructure using spot price as a signal, before there's literally none left, and you can also run on clusters of heterogeneous instances, and change your instance type mix when one instance type's price goes up. In the worst case you can fail out of a particular region whose spot prices have gotten too high. Lots of options.
- sitkack 5y agoNo shade, but this is a very AWS specific view of cloud. Every cloud has a different resource allocation philosophy, not all the assumptions are the same.
- remram 5y agoYeah, GCP spot instances don't vary in price like AWS ("The price adjustments will occur at most once a month").
- ianburrell 5y agoThere is no longer bidding for spot prices on AWS. They moved to model where pay the fixed spot price which isn't based on capacity. https://aws.amazon.com/blogs/compute/new-amazon-ec2-spot-pricing/ https://aws.amazon.com/blogs/compute/new-amazon-ec2-spot-pri...
- remram 5y agoInteresting! I think it still updates more than once a month, but that is a significant change that I wasn't aware of, thank you.