Azure Spot VMSS deployment from portal

Kerry McCullagh 1 Reputation point Microsoft Employee
2020-07-22T16:14:04.667+00:00

Hi there,

I recently discovered that you cannot deploy a spot vmss from the portal with singleplacementgroup= true because once you select the spot instance button on the Basics tab, the single placement group section on the advanced tab grays out.

However, I did find that if you run this command in power shell with the latest version of az cli modules you are able to. I ran the following command and was able to create an azure spot vmss and confirmed this on resources.azure.comwith because I can see the scale set model has singleplacementgroup=true and the priority is spot:

az vmss create -n azclitestvmss123 -g MyResourceGroup --instance-count 2 --image Win2016Datacenter --data-disk-sizes-gb 2 --priority spot --single-placement-group true

Therefore, you can create an azure spot instance (with singleplacementgroup=true) with azure cli, however, this is not possible in the portal.

My questions for you:

  1. Why is the portal grey'ing out the "single placement group" option when attempting to deploy a spot vmss from the portal?
  2. Was this an intentional design decision?
  3. Will creating a spot vmss in the portal with singleplacementgroup=true be available soon? Thank you!
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,219 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 18,445 Reputation points
    2023-09-18T18:27:41.28+00:00

    To stay informed about changes and updates to Azure services, including the Azure Portal, you can regularly check the official Azure updates page (https://azure.microsoft.com/en-us/updates/).

    0 comments No comments