You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/instance-mix-create.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ ms.reviewer: jushiman
11
11
---
12
12
13
13
# Create a scale set using instance mix
14
-
This article shows how to create a Virtual Machine Scale Set (VMSS) that uses instance mix, a way to specify multiple virtual machine (VM) sizes for a single scale set and control how Azure chooses sizes at provisioning time via an allocation strategy.
14
+
This article shows how to create a Virtual Machine Scale Set (VMSS) with instance mix. Instance mix lets you specify multiple virtual machine (VM) sizes for a single scale set and control how Azure chooses sizes at provisioning time using an allocation strategy.
15
15
16
16
## Before you begin
17
17
18
18
Confirm these prerequisites before you create an instance mix enabled scale set:
19
19
20
20
- You intend to deploy a scale set that uses Flexible orchestration mode.
21
-
- Consistent VM characteristics across selected sizes: same CPU architecture (x64 or Arm64), compatible disk interface (SCSI vs. NVMe), and compatible security profile.
21
+
- Consistent VM characteristics across selected sizes: same CPU architecture (x64 or Arm64), compatible disk interface (SCSI or NVMe), and compatible security profile.
22
22
- Sufficient quota for each VM size in the target subscription and region.
23
23
- Choose a region that supports the VM sizes you want to include.
24
24
- (CLI users) Azure CLI 2.66.0 or later is recommended. For PowerShell, use the latest `Az.Compute` module.
@@ -34,7 +34,7 @@ Confirm these prerequisites before you create an instance mix enabled scale set:
34
34
6. In the **Size** section, click **Select up to 5 sizes** and the **Select a VM size** page appears.
35
35
7. Use the size picker to select up to five VM sizes. Once you select your VM sizes, click the **Select** button at the bottom of the page to return to the scale set Basics tab.
36
36
8. In the **Allocation strategy** field, select your allocation strategy.
37
-
9.Using the `Prioritized (preview)` allocation strategy, the **Rank size** section appears below the Allocation strategy section. Clicking on the bottom **Rank priority**brings up the prioritization blade, where you can adjust the priority of your VM sizes.
37
+
9.If you use the `Prioritized (preview)` allocation strategy, the **Rank size** section appears below the Allocation strategy section. Select **Rank priority**to open the prioritization blade, where you can adjust the priority of your VM sizes.
38
38
10. You can specify other properties in subsequent tabs, or you can go to **Review + create** and select the **Create** button at the bottom of the page to start your instance mix scale set deployment.
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/instance-mix-update.md
+36-5Lines changed: 36 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ This article explains how to update the instance mix settings on a scale set, in
17
17
The instance mix settings can be updated on your scale set via CLI, PowerShell, and REST API. You can change either the virtual machine (VM) sizes or the allocation strategy, or both, in a single call.
18
18
19
19
> [!NOTE]
20
-
> When you change the allocation strategy, the new strategy takes effect only after the scale set scales in or out. Existing VMs are not affected until a scaling action occurs.
20
+
> When you change the allocation strategy, the new strategy takes effect only after the scale set scales in or out. Existing VMs aren't affected until a scaling action occurs.
21
21
22
-
When changing from `Prioritized (preview)` to another allocation strategy, you must first nullify the priority ranks associated with the VM sizes. This will be covered in more detail in the supporting code snippets.
22
+
When changing from `Prioritized (preview)` to another allocation strategy, you must first nullify the priority ranks associated with the VM sizes.
23
23
24
24
### [Azure CLI](#tab/cli-1)
25
-
Ensure you are using Azure CLI version `2.66.0` or later.
25
+
Ensure you're using Azure CLI version `2.66.0` or later.
26
26
27
27
#### Change the allocation strategy
28
28
To update the allocation strategy, for example, to `CapacityOptimized`:
@@ -37,6 +37,9 @@ az vmss update \
37
37
#### Change the VM sizes
38
38
To update the VM sizes in the `skuProfile`, for example, to Standard_D2as_v4, Standard_D2as_v5, and Standard_D2s_v5:
39
39
40
+
> [!NOTE]
41
+
> When you update VM sizes, you must specify the complete list of sizes you want in the scale set. This operation replaces the entire list, not just adds or removes individual sizes.
42
+
40
43
```azurecli-interactive
41
44
az vmss update \
42
45
--resource-group {resourceGroupName} \
@@ -138,7 +141,7 @@ To update only the VM sizes:
138
141
---
139
142
140
143
## Enable instance mix on an existing scale set
141
-
To enable instance mix on a scale set that does not already use it, specify the `skuProfile` properties. You must set:
144
+
To enable instance mix on a scale set that doesn't already use it, specify the `skuProfile` properties. You must set:
142
145
-`sku.name` to `"Mix"`
143
146
-`sku.tier` to `null`
144
147
- At least one value in `vmSizes` under `skuProfile`
@@ -188,5 +191,33 @@ In the request body, set `sku.name` to `"Mix"` and include the `skuProfile` with
188
191
189
192
---
190
193
194
+
## Common update scenarios
195
+
196
+
### Remove a specific VM size
197
+
198
+
To remove a specific VM size from the instance mix configuration, specify the complete list of VM sizes you want to keep, excluding the size you want to remove.
199
+
200
+
**Example**: Remove `Standard_D2as_v4` from a scale set that has `Standard_D2as_v4`, `Standard_D2s_v4`, `Standard_D2as_v5`, and `Standard_D2s_v5`:
Copy file name to clipboardExpand all lines: articles/virtual-machines/constrained-vcpu.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattmcinnes
5
5
ms.service: azure-virtual-machines
6
6
ms.subservice: sizes
7
7
ms.topic: concept-article
8
-
ms.date: 03/18/2025
8
+
ms.date: 10/16/2025
9
9
ms.author: mattmcinnes
10
10
ms.reviewer: mimckitt, archatc
11
11
# Customer intent: "As a database administrator, I want to select virtual machine sizes with constrained vCPU counts, so that I can optimize licensing costs while maintaining necessary performance for my database workloads."
@@ -298,6 +298,43 @@ At this time, the VM pricing, remains the same as the original size. For more in
0 commit comments