Deploy a scale set using Instance Mix

The article walks through how to deploy a scale set using Instance Mix.

Important

Instance Mix for Virtual Machine Scale Sets with Flexible Orchestration Mode is currently in preview. Previews are made available to you on the condition that you agree to the supplemental terms of use. Some aspects of this feature may change prior to general availability (GA).

Prerequisites

Before using Instance Mix, complete feature registration for the FlexVMScaleSetSkuProfileEnabled feature flag using the az feature register command:

az feature register --namespace "Microsoft.Compute" --name "FlexVMScaleSetSkuProfileEnabled"

It takes a few moments for the feature to register. Verify the registration status by using the az feature show command:

az feature show --namespace "Microsoft.Compute" --name "FlexVMScaleSetSkuProfileEnabled"

Create a scale set using Instance Mix

  1. Go to Virtual machine scale sets.
  2. Select the Create button to go to the Create a virtual machine scale set view.
  3. In the Basics tab, fill out the required fields. If the field isn't called out in the next sections, you can set the fields to what works best for your scale set.
  4. Ensure that you select a region that Instance Mix is supported in.
  5. Be sure Orchestration mode is set to Flexible.
  6. In the Size section, click Select up to 5 sizes (preview) and the Select a VM size page appears.
  7. Use the size picker to select up to five VM sizes. Once you've selected your VM sizes, click the Select button at the bottom of the page to return to the scale set Basics tab.
  8. In the Allocation strategy (preview) field, select your allocation strategy.
  9. When using the Prioritized 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.
  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.

Next steps

Learn how to troubleshoot your Instance Mix enabled scale set.