Skip Navigation

Azure Spot Virtual Machines

Scalable compute capacity at deep discounts for your interruptible workloads

Access low-cost unused Azure compute capacity at scale

Use Spot Virtual Machines and take advantage of unused compute capacity at significant cost savings. Deploy interruptible workloads that don't need to be completed within a specific period. Run workloads for development, testing, quality assurance, advanced analytics, big data, machine learning and AI, batch jobs, rendering and transcoding of videos, graphics, and images at a very low cost.

Buy unused Azure compute capacity at deep discounts to run workloads that can handle interruptions

Pay up to a maximum price that you optionally agree to in advance

Look up the price history and the eviction rate for the spot virtual machines (VMs) you choose in the Azure portal

Run interruptible workloads at scale on a broad range of individual VMs and on Azure Virtual Machine Scale Sets

Get more cloud at a lower cost

With Azure Spot Virtual Machines, you can provision unused Azure compute capacity at deep discounts—up to 90 percent compared to pay-as-you-go prices.* You pay up to the maximum price that you optionally agree to in advance. Spot Virtual Machines are ideal for workloads that can be interrupted, providing scalability while reducing costs. You get unique Azure spot pricing and benefits when running Windows Server workloads on spot VMs.

*Actual discounts may vary based on region, VM type, and Azure compute capacity available when the workload is deployed.

Choose from a broad range of VMs

Spot Virtual Machines prices will change as necessary and will vary based on available capacity. Workloads will be evicted when:

  • The price is higher than the maximum price that you agree to pay.
  • Azure no longer has available compute capacity and needs to reallocate its resources.

Get Spot Virtual Machines pricing for a broad range of Azure VMs and Virtual Machine Scale Sets. View the price history and the eviction rate for the spot VMs you select.

Learn more

Run recommended workloads

On Spot Virtual Machines, run only applications that can handle interruptions and don't need to be completed within a specific timeframe.

Spot Virtual Machines are ideal for the following types of workloads:

  • Dev/test environments, including continuous integration and continuous delivery workloads.
  • Select high-performance computing scenarios, batch processing jobs, or visual rendering applications.
  • Big data, analytics, container-based, and large-scale stateless applications.

See how Spot Virtual Machines work

Microsoft Azure Spot Virtual Machines overview

Watch this video to learn when to use Spot Virtual Machines, how to set up the maximum price that you optionally agree to in advance, and how to access the price history and the eviction rate for the VMs you select.

Make the most of Azure to reduce your cloud spend

Azure reservations, Spot Virtual Machines, Azure Hybrid Benefit, prepaid Linux plans, and additional platform capabilities can help substantially reduce your cloud bill. Learn a comprehensive approach to help you maximize your return on your Azure investment.

Comprehensive security and compliance, built in

Optimize costs with Spot Virtual Machines

Purchase unused compute capacity at deep discounts—up to 90 percent compared to pay as you go prices.*

If your workload can tolerate interruptions, and its execution time is flexible, using Spot Virtual Machines can significantly reduce the cost of running your workload in Azure. Run your workloads on Azure Virtual Machines or Virtual Machine Scale Sets.

*Actual discounts may vary based on region, VM type, and Azure compute capacity available when the workload is deployed.

Spot Virtual Machines resources and documentation

Spot Virtual Machines documentation

Spot Virtual Machines overview

Create a spot VM in the Azure Portal

Create a spot VM using Azure PowerShell

Create a spot VM using Azure CLI

Create a spot VM using Azure Resource Manager templates

Spot Virtual Machines for Virtual Machine Scale Sets

Using spot VMs on scale sets overview

Create spot VMs on scale sets in the Azure Portal

Create spot VMs on scale sets using Azure CLI

Create VMs on scale sets using Azure PowerShell

Create VMs on scale sets using Azure Resource Manager templates

Spot Virtual Machines updates, blogs, and announcements

Frequently asked questions about Spot Virtual Machines

  • Spot Virtual Machines are available now to customers buying from the web or through a Microsoft representative. Spot Virtual Machines are also available on Virtual Machine Scale Sets.
  • Workloads are evicted when Azure no longer has available compute capacity and must reallocate its resources.

    Workloads will also be evicted when the current price exceeds the maximum price that you agreed to pay before the spot VMs were allocated.

    Additionally, when you subscribe to scheduled events, you get a notification 30 seconds before your workload is evicted. Refer to the documentation for more information.

  • The preview of Azure low-priority VMs on scale sets has been discontinued and was retired as of February 3, 2020. Spot Virtual Machines have replaced Azure low-priority VMs and include new capabilities, such as variable pricing. Spot pricing is also available on both single VMs and Virtual Machine Scale Sets.
  • For spot pricing transparency across all Azure regions and to ensure fairness when allocating available compute capacity, all our customers will enter maximum prices in US dollars. You may pay your Azure bill in one of the supported local currencies below.

    United States – Dollar ($) USD
    Euro Zone – Euro (€) EUR
    Switzerland – Franc (chf) CHF
    Australia – Dollar ($) AUD
    Denmark – Krone (kr) DKK
    Canada – Dollar ($) CAD
    Japan – Yen (¥) JPY
    Korea – Won (₩) KRW
    New Zealand – Dollar ($) NZD
    Norway – Krone (kr) NOK
    Russia – Ruble (руб) RUB
    Sweden – Krona (kr) SEK
    Taiwan – Dollar (NT$) TWD
    United Kingdom – Pound (£) GBP
    India – Rupee (₹) INR
    Brazil – Real (R$) BRL
  • The behavior of an evicted spot VM depends on the eviction policy that you select.

    If the eviction policy is set to Deallocate, only the VM is deallocated, and no VM-associated charges are incurred. However, other resources, such as disk or network, continue to run and accrue charges.

    Conversely, if the eviction policy is set to Delete, the VM and all associated resources are deleted.

    If your spot VM is evicted because of capacity and it's part of a scale set, Azure will try to restore the evicted VM to maintain a target instance count. Learn more.

  • If the eviction policy is set to Deallocate, any data stored on disk storage is not deleted. However, all the temporary data that is local to the VM is deleted.

    If the eviction policy is set to Delete, data that's stored on local disks and on any attached persistent disk storage is deleted.

  • There is no guaranteed minimum run time for a spot VM. Allocation is based on available unused capacity.
  • If the eviction policy is set to Deallocate, you manually restart the VM either in the Azure portal or by using a command-line interface, such as Azure PowerShell.

    Depending on the available Azure capacity, the VM may be reallocated. Single spot VMs are always deallocated by Azure.

    If your spot VM is evicted because of capacity and is part of a scale set, Azure will try to restore the evicted VM to maintain a target instance count. Learn more.

  • Spot pricing is available across most Azure VMs, except for suppressed core VMs, promo VMs, and burstable VMs (B-series).
  • Yes. However, there are two important differences. First, spot VMs can be evicted, but they give you access to unused Azure compute capacity (VMs) at deep discounts compared to pay-as-you-go prices. Also, unlike regular VMs, a service-level agreement (SLA) isn't available for spot VMs. See the product terms for more information.
  • Run workloads that can be interrupted and that don’t have to be completed within a specific amount of time.
  • No. You can only set the spot pricing flag when you create a scale set.
  • No. This option isn’t supported at this time.
  • Spot VMs have a separate quota pool, like pay-as-you-go VMs. Learn more.
  • Yes. Use the standard quota increase process—the same that you use for pay-as-you-go VMs—to submit a request to increase your quota for Spot VMs. Learn more.
  • To review Spot Virtual Machines availability across the various Azure channels—including cloud service providers (CSPs)—please refer to the documentation. Please visit Partner Center and contact your Microsoft partner account manager if you have any additional questions.
  • Batch currently supports low-priority VMs and will be updated to support spot VMs, including the ability to set the maximum price. Spot VMs will only be supported for ‘virtualMachineConfiguration’ pools and not ‘cloudServiceConfiguration’ pools. Learn more about spot VMs on Batch.
  • Yes, this capability is available to our customers in the Azure portal.

Ready when you are—let's set up your Azure free account