Azure Vmss CustomData Extesnions

Stubbs Tristan 20 Reputation points
2024-03-29T15:54:27.7966667+00:00

we have vmss instance up and running which required custom data to be used and we need to upgrade through CLI since we haven't access to Azure portal to do same, looking for a support on CLI commands to perform this activity

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
347 questions
{count} votes

1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 3,735 Reputation points Microsoft Vendor
    2024-03-29T16:16:38.4433333+00:00

    Hi @Stubbs Tristan ,

    Thanks for contacting Microsoft Q&A platform.

    If you previously deployed the scale set with the az vmss create command, you can run the az vmss create command again to update the scale set. Make sure that all properties in the az vmss create command are the same as before, except for the properties that you wish to modify.

    Once the scale set model is updated, the new configuration applies to any new VMs created in the scale set. However, the models for the existing VMs in the scale set must still be brought up-to-date with the latest overall scale set model. In the model for each VM is a boolean property called latestModelApplied that indicates whether or not the VM is up-to-date with the latest overall scale set model (true means the VM is up-to-date with the latest model).

    You can find this in the Modify a Scale Set documentation mentioned below. https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set#how-to-update-global-scale-set-properties

    Hope this helps you.

    0 comments No comments