Microsoft Azure Low-priority Virtual Machines – take advantage of surplus capacity in Azure.


Low-priority VMs make new types of Batch workloads possible by providing a large amount of compute power that is also economical.

imageSee example at https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/07/24/running-a-simulation-on-20-low-priority-azure-vms-for-a-cost-of-0-02/ 

Low-priority VMs

Take advantage of surplus capacity in Azure. When you specify low-priority VMs in your pools, Azure Batch can automatically use this surplus when available.

Low-priority VMs are offered at a significantly reduced price compared with dedicated VMs. For pricing details, see Batch Pricing.

Low-priority VMs are currently available only for workloads running in Batch.

Use cases for low-priority VMs

In general, batch processing workloads are a good fit, as jobs are broken into many parallel tasks or there are many jobs that are scaled out and distributed across many VMs.

Examples of Low Priority and Batch Usage

Batch  use cases well suited to use low-priority VMs are:

  • Development and testing: In particular, if large-scale solutions are being developed, significant savings can be realized. All types of testing can benefit, but large-scale load testing and regression testing are great uses.

  • Supplementing on-demand capacity: Low-priority VMs can be used to supplement regular dedicated VMs - when available, jobs can scale and therefore complete quicker for lower cost; when not available, the baseline of dedicated VMs remains available.

  • Flexible job execution time: If there is flexibility in the time jobs have to complete, then potential drops in capacity can be tolerated; however, with the addition of low-priority VMs jobs frequently run faster and for a lower cost.

Setup and Configuration

Batch pools can be configured to use low-priority VMs in a few ways, depending on the flexibility in job execution time:

  • Low-priority VMs can solely be used in a pool. In this case, Batch recovers any preempted capacity when available. This configuration is the cheapest way to execute jobs, as only low-priority VMs are used.

  • Low-priority VMs can be used in conjunction with a fixed baseline of dedicated VMs. The fixed number of dedicated VMs ensures there is always some capacity to keep a job progressing.

  • There can be dynamic mix of dedicated and low-priority VMs, so that the cheaper low-priority VMs are solely used when available, but the full-priced dedicated VMs are scaled up when required. This configuration keeps a minimum amount of capacity available to keep the jobs progressing.

Resources

Azure Batch Docs https://docs.microsoft.com/en-us/azure/batch/batch-technical-overview

Using low-priority VMs with Batch https://docs.microsoft.com/en-us/azure/batch/batch-low-pri-vms

Comments (2)

  1. Lee Stott says:

    B-Series VMs generally available

    Provide a low-cost option for workloads that typically run at a low-to-moderate baseline CPU performance, but sometimes need to burst to significantly higher CPU performance when the demand rises.

    Are best suited for apps such as dev and test servers, low traffic web servers, small databases, micro services, build servers, and code repositories that don’t require use of the full CPU all the time and burst as needed to finish tasks.

    B-Series virtual machines (VMs) are now generally available in the West US 2, East US, Southeast Asia, and West Europe regions. General availability (GA) pricing will begin on January 1, 2018. Usage prior to January 1, 2018, will be billed at preview rates. see https://azure.microsoft.com/en-us/pricing/details/virtual-machines/linux/

  2. Lee Stott says:

    Azure Reserved Virtual Machine Instances generally available

    Azure Reserved Virtual Machine Instances webpage https://azure.microsoft.com/en-us/pricing/reserved-vm-instances/

    Azure Reserved Virtual Machine Instances lets you reserve virtual machines (VMs) at up to a 72 percent cost savings over Pay-As-You-Go pricing on all VMs, or up to an 82 percent savings when combined with the Azure Hybrid Benefit. Using Reserved Virtual Machine Instances, you can prioritize your workload and exchange or cancel reservations as business needs evolve. In addition, you can:
    Easily purchase in a few steps—you only select three items: region, VM series, and term.
    Budget and forecast better with upfront payment for one-year or three-year terms.
    Gain peace of mind with prioritized compute capacity.

    We also offer the most cost effective Reserved Virtual Machine Instances for Windows Server workloads. Learn more on the overview webpage. https://azure.microsoft.com/en-us/pricing/calculator/

Skip to main content