Azure Spot

Yoshikawa 21 Reputation points
2022-11-21T07:08:25.417+00:00
  1. In the "Virtual Machines" creation, there is a section that says "Run with Azure Spot discount."
    Does this mean that the virtual machine will be automatically deleted if the capacity exceeds the amount of "Capacity Only" or "Price or Capacity"?
  2. If the answer to 1. is "Yes", then there is no automatic increase in capacity, right?
  3. Also, in 1., what would cause it to be deleted?
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,565 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Durkan 12,196 Reputation points MVP
    2022-11-21T08:05:20.923+00:00

    Hi

    explanation of how Spot Instances work is here:

    https://learn.microsoft.com/en-us/azure/virtual-machines/spot-vms

    They are best used for batch processing or Dev environments, and should not be used for Production workloads

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Timo Lindqvist 16 Reputation points
    2022-11-24T07:08:15.787+00:00
    1. The machine will not be deleted automatically. It will be stopped and deallocated without warning if "Azure needs the spot capacity for something else".
    2. The only way for you to find out if there is more capacity for spot is for you to try to start your spot VM. If start succeeds, there is capacity. Note that if you have set "Price of Capacity", Azure seems to check that the price you set is higher than the current VM spot price at VM startup.
    0 comments No comments