Updates to the Custom Image in VMSS
- Generally for any application i.e. hosted, we would have new releases and important os updates to be patched.
- If we use Azure Compute Gallery, we can create a new version to the existing image definition and update the vmss
- Lets create a new vm based on existing version and update
echo "<h1> Version 1.0.2 </h1>" > version.html
sudo cp version.html /var/www/html/version.html
- Now you should be able to access
http://<publicip>/version.html
- Now capture the vm image and update the exising gallery and image definition.
- Refer Here for updating the os images
- Refer Here for the automatic upgrade process
- Refer Here for configuring custom image for automatic os upgrades