Azure Classroomnotes 29/Sep/2022

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.
    Preview
    Preview
  • Refer Here for updating the os images
  • Refer Here for the automatic upgrade process
  • Refer Here for configuring custom image for automatic os upgrades

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube