An administrator is managing an Azure Virtual Machine Scale Set (VMSS) named `vmss-web` that uses Uniform orchestration and has its upgrade policy set to Manual. The administrator needs to deploy a custom configuration script to all existing and future VM instances in `vmss-web` using the Custom Script Extension. The script is stored locally.
Which sequence of actions should the administrator perform to achieve this goal?
- 1Upload the configuration script to a private container in an Azure Storage account.
- 2Generate a Shared Access Signature (SAS) token with read permissions for the script blob.
- 3Add the Custom Script Extension to the scale set model, referencing the script URI and the SAS token.
- 4Trigger a manual upgrade on the existing VM instances in the scale set.
Cevap
First, upload the configuration script to a private Azure Storage account. Second, generate a SAS token with read permissions for the script blob. Third, add the Custom Script Extension to the scale set model referencing the script URI and SAS token. Fourth, trigger a manual upgrade on the existing VM instances.
The correct order requires first securing the script in Azure Storage, generating a SAS token for secure access, updating the VMSS model definition, and finally triggering a manual upgrade of the existing VM instances since the upgrade policy is set to Manual.
Adım Adım Çözüm
Anahtar Kavram
Configuring Custom Script Extensions and applying model updates under a Manual upgrade policy in a Virtual Machine Scale Set.