Virtual machine scale sets with instance mix frequently asked questions and troubleshooting
Frequently Asked Questions
Can I use Spot and Standard VMs with Instance Mix?
Yes, you can use both Spot and Standard VMs in your scale set deployments using Instance Mix. To do so, use Spot Priority Mix to define a percentage split of Spot and Standard VMs.
My region doesn't support Instance Mix today. Will it support Instance Mix in the future?
Instance Mix is rolling out to all Azure regions during Public Preview. Instance Mix is currently available in the following regions: West US, West US2, East US, and East US2.
Troubleshooting
Error Code | Error Message | Troubleshooting options |
---|---|---|
SkuProfileAllocationStrategyInvalid |
Sku Profile’s Allocation Strategy is invalid. |
Ensure that you're using either CapacityOptimized or LowestPrice as the allocationStrategy |
SkuProfileVMSizesCannotBeNullOrEmpty |
Sku Profile VM Sizes cannot be null or empty. Please provide a valid list of VM Sizes and retry. |
Provide at least one VM size in the skuProfile . |
SkuProfileHasTooManyVMSizesInRequest |
Too many VM Sizes were specified in the request. Please provide no more than 5 VM Sizes. |
At this time, you can specify up to five VM sizes with Instance Mix. |
SkuProfileVMSizesCannotHaveDuplicates |
Sku Profile contains duplicate VM Size: {duplicateVmSize}. Please remove any duplicates and retry. |
Check the VM SKUs listed in the skuProfile and remove the duplicate VM size. |
SkuProfileUpdateNotAllowed |
Virtual Machine Scale Sets with Sku Profile property cannot be updated. |
At this time, you can't update the skuProfile of a scale set using Instance Mix. |
SkuProfileScenarioNotSupported |
{propertyName} is not supported on Virtual Machine Scale Sets with Sku Profile. |
Instance Mix doesn’t support certain scenarios today, like Azure Dedicated Host (properties.hostGroup ), Capacity Reservations (properties.virtualMachineProfile.capacityReservation ), and StandbyPools (properties.standbyPoolProfile ). Adjust the template to ensure you’re not using unsupported properties. |
SkuNameMustBeMixIfSkuProfileIsSpecified |
Sku name is {skuNameValue}. Virtual Machine Scale Sets with Sku Profile must have the Sku name property set to "Mix". |
Ensure that the sku.name property is set to "Mix" . |
SkuTierMustNotBeSetIfSkuProfileIsSpecified |
Sku tier is {skuTierValue}. Virtual Machine Scale Sets with Sku Profile must not have the Sku tier property set. |
sku.tier is an optional property for scale sets. With Instance Mix, sku.tier must be set to null or not specified. |
InvalidParameter |
The value of parameter skuProfile is invalid. |
Your subscription isn't registered for the Instance Mix feature. Follow the enrollment instructions to register for the Preview. |