Skip to content

Commit 72a5ab0

Browse files
authored
Merge pull request #201789 from ju-shim/spot-614
Spot VM Size Recommendation
2 parents 0d9800b + c4dc788 commit 72a5ab0

File tree

7 files changed

+66
-1
lines changed

7 files changed

+66
-1
lines changed

articles/virtual-machine-scale-sets/TOC.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,11 @@
352352
- name: How-to
353353
href: ../virtual-machines/dedicated-hosts.md
354354
- name: Azure Spot Virtual Machines
355-
href: use-spot.md
355+
items:
356+
- name: Overview
357+
href: use-spot.md
358+
- name: VM size recommendation
359+
href: spot-vm-size-recommendation.md
356360
- name: Azure Hybrid Benefit for Linux
357361
href: azure-hybrid-benefit-linux.md
358362
- name: Manage
42.3 KB
Loading
14.4 KB
Loading
198 KB
Loading
148 KB
Loading
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: Spot Virtual Machine Size Recommendation for Virtual Machine Scale Sets
3+
description: Learn how to pick the right VM size when using Azure Spot for Virtual Machine Scale Sets.
4+
author: ju-shim
5+
ms.author: jushiman
6+
ms.service: virtual-machine-scale-sets
7+
ms.subservice: spot
8+
ms.workload: infrastructure-services
9+
ms.topic: how-to
10+
ms.date: 06/15/2022
11+
ms.reviewer: cynthn
12+
---
13+
14+
# Spot Virtual Machine size recommendation
15+
16+
**Applies to:** :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
17+
18+
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).
19+
20+
21+
## Azure portal
22+
23+
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.
24+
25+
1. Log in to the [Azure portal](https://portal.azure.com).
26+
1. In the search bar, search for and select **Virtual machine scale sets**.
27+
1. Select **Create** on the **Virtual machine scale sets** page.
28+
1. In the **Basics** tab, fill out the required fields.
29+
1. Under **Instance details**, select **Run with Azure Spot discount**.
30+
31+
:::image type="content" source="./media/spot-vm-size-recommendation/run-with-azure-spot-discount.png" alt-text="Screenshot of a selected checkbox next to the Run with Azure Spot discount option.":::
32+
33+
1. In the same section, under **Azure Spot configuration**, select **Configure**.
34+
1. On the **Azure Spot configuration** page, in the **Spot details** tab, go to the **Size** selector.
35+
1. Expand the **Size** drop-down and select **See all sizes** option at the bottom of the list.
36+
37+
:::image type="content" source="./media/spot-vm-size-recommendation/spot-details-see-all-sizes.png" alt-text="Screenshot of the See all sizes option in the Size selector":::
38+
39+
1. On the **Select a VM size** page, click **Add filter**.
40+
1. 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.
41+
42+
:::image type="content" source="./media/spot-vm-size-recommendation/size-filter-medium.png" alt-text="Screenshot of the Medium option selected for the Size filter.":::
43+
44+
1. Click **OK**.
45+
1. From the resulting list of VMs, select a preferred VM size.
46+
1. Click **Select** at the bottom to continue.
47+
1. Back on the **Spot details** tab, click **Next** to go to the next tab.
48+
1. 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.
49+
50+
:::image type="content" source="./media/spot-vm-size-recommendation/size-recommendations-tab.png" alt-text="Screenshot of the Size recommendations tab with a list of alternative VM sizes.":::
51+
52+
1. Make your selection and click **Save**.
53+
1. Continue through the virtual machine scale set creation process.
54+
55+
56+
## Next steps
57+
58+
> [!div class="nextstepaction"]
59+
> [Learn more about Spot virtual machines](../virtual-machines/spot-vms.md)

articles/virtual-machines/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,8 @@
669669
- name: ARM template
670670
displayName: pre-empt, preempt, spot, low priority, low-priority, ARM, template
671671
href: ./linux/spot-template.md
672+
- name: VM size recommendation
673+
href: ../virtual-machine-scale-sets/spot-vm-size-recommendation.md?toc=/azure/virtual-machines/toc.json
672674
- name: Error codes
673675
displayName: pre-empt, preempt, spot, low priority, low-priority
674676
href: error-codes-spot.md

0 commit comments

Comments
 (0)