Spot VMs

Spot VMs


Spot Virtual Machines (VMs) or spot instances can be used to buy unused Azure compute capacity at a great discount compared to the usual set of VMs. Spot VMs are usually used for workloads that can handle interruptions and do not have to be completed in a specific time period. 

However, Spot VMs are evicted when:
  1. You have reached the maximum price you have set.
  2. Azure no longer has available compute capacity and needs to reallocate its resources.
Microsoft Azure has two eviction policies when one of the above criteria are met:
  1. Spot VM deletion: the VM is deleted permanently. Data that was stored on the VM storage is permanently deleted. 
  2. Spot VM deallocation: the VM is set to deallocated and won't start up again unless the maximum price is changed or there is capacity available again. Data stored on the VM storage will be available again once you're able to start the VM again.
anDREa offers Spot VMs with the following configuration:
  1. The price is set to a pay-as-you-go rate similar to your regular VMs, however the price is significantly lower for Spot VMs. This means Spot VM eviction policy will be triggered based on capacity and not on the set maximum price.
  2. The eviction policy is Spot VM deallocation. The Spot VM will not be deleted if Azure needs the capacity, but deallocated instead.

Why use a spot VM?

Please be aware that Spot VMs do not have an SLA (either from Microsoft or anDREa) and can be deleted or deallocated by Microsoft Azure at any given time without recovery.

Spot VMs can be of great use for workloads that can handle interruptions as the Spot VMs can be deleted at any time due to the reasons mentioned above. Please visit for an overview of Spot VMs and help in which Spot VM would be a good fit for your workload.

How to create a spot VM?

Existing VMs cannot be converted into Spot VMs, this can only be set upon VM creation. As with any VM creation, you need to have Accountable or Privileged Member rights in a Workspace.
A range of sizes are available for spot instances, however there are some (Microsoft Azure) exceptions:
  1. B-series.
  2. Promo-series of any size.
  1. Enter the Workspace by clicking anywhere on the Workspace tile.

  1. Click on + Add Virtual Machines. This will open the VM creation wizard.

  1. Select one of the templates such as your organisation-specific template or an empty template such as Windows-Base/1.0.5.

  1. Select your VM series.

  1. Under Hardware configuration you will be presented with the VM sizes. Some of them will display the SPOT tag. These are Spot VMs. Once you select a Spot VM, you will be presented with extra information on the right hand side. Please be sure to read the Spot VM documentation before proceeding.

  1. Click on Add configuration
  2. In the checkout menu, click on Create virtual machines to start the deployment of the Spot VM.

  1. After deployment, the Spot VM will be visible. Note the Spot tag.

    • Related Articles

    • Spot Virtual Machines are now available

      Spot Virtual Machines or spot instances are virtual machines that draw from the unused capacity of Microsoft Azure. These can be used at a great discount, however these can also be evicted at any given time. anDREa has now made Spot VMs available! ...
    • Adding VMs

      Introduction This feature is available to Workspace Accountables and Privileged Members. In a Workspace, you will most likely work with one or more Virtual Machines (VMs): either Windows- or Linux-based. When requesting a Workspace, VMs can be added ...
    • Planned downtime today December 21st after office hours

      Today (Tuesday December 21st) there is some planned downtime after office hours (17:00 CET Amsterdam time) to push a new feature (Spot VMs) to production. The expected downtime will be around 5-10 minutes. Ongoing connections to VMs will not be ...
    • Release notes week 51

      This week we will push the following items to production: Bug fixes & Updates Item Description Create spot VMs The users are now able to create spot VMs in Create a VM menu. Please read documentation on Spot VMs before creating one!  [bug] Resize ...
    • Windows VMs

      Introduction Read below how you can connect to the VM from different Operating Systems (OS, e.g. Windows, MacOS, Linux). An Azure virtual machine (VM) gives you the flexibility of virtualization without having to buy and maintain the physical ...