Spot Virtual Machine size recommendation

The Spot VM size recommendations tool is an easy way to view and select alternative VM sizes that are better suited for your stateless, flexible, and fault tolerant workload needs during the Virtual Machine Scale Set deployment process in the Azure portal. This tool allows Azure to recommend appropriate VM sizes to you after you filter by region, price, and eviction rate. You can further filter the recommended VMs list by size, type, generation, and disk (premium or ephemeral OS disk).

Azure portal

You can access Azure's size recommendations through the Virtual Machine Scale Sets creation process in the Azure portal. The following steps will instruct you on how to access this tool during that process.

  1. Log in to the Azure portal.

  2. In the search bar, search for and select Virtual Machine Scale Sets.

  3. Select Create on the Virtual Machine Scale Sets page.

  4. In the Basics tab, fill out the required fields.

  5. Under Instance details, select Run with Azure Spot discount.

    Screenshot of a selected checkbox next to the Run with Azure Spot discount option.

  6. In the same section, under Azure Spot configuration, select Configure.

  7. On the Azure Spot configuration page, in the Spot details tab, go to the Size selector.

  8. Expand the Size drop-down and select See all sizes option at the bottom of the list.

    Screenshot of the See all sizes option in the Size selector

  9. On the Select a VM size page, click Add filter.

  10. You can choose which filters to apply. For this example, we will only apply Size and set it to Medium (7-16) for the number of vCPU.

    Screenshot of the Medium option selected for the Size filter.

  11. Click OK.

  12. From the resulting list of VMs, select a preferred VM size.

  13. Click Select at the bottom to continue.

  14. Back on the Spot details tab, click Next to go to the next tab.

  15. The Size recommendations tab allows you to view and select alternative VM sizes that are better suited for your stateless, flexible, and fault tolerant workload needs with regard to region, pricing, and eviction rates.

    Screenshot of the Size recommendations tab with a list of alternative VM sizes.

  16. Make your selection and click Save.

  17. Continue through the Virtual Machine Scale Set creation process.

Next steps