spot instance Max price set to -1

xiaosin 1 Reputation point Microsoft Employee
2021-05-12T12:01:16.14+00:00

Hi! may i know if i set the max price to -1, what is the different compare to if i buy the regular PAYG VM? it seems spot instance with max price set to -1 is a better deal compare to regular on demand VM since the price is always the below or equal to standard price. am i correct? ![95985-image.png][1] [1]: /api/attachments/95985-image.png?platform=QnA

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karl Tremain 86 Reputation points Microsoft Employee
    2021-08-20T10:51:21.307+00:00

    relating to pricing, yes, its always better, but be aware that CAPACITY evictions can still take place so you would need to ensure your app is still ok with this. Also the VM will NOT be automatically restarted when capacity becomes available again, you would have to establish your own process to check and restart.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.