Is there way to manually upgrade VMSS instances to a specific version of an OS?

Youssef Sabih 20 Reputation points

We have a VM Scale Set that currently uses Ubuntu 18.04, whose end of life is on May 20th 2023. We want to upgrade to Ubuntu 20.04. I checked the Azure Portal and VMSS CLI and didn't find a way to start an OS upgrade to a specific image version.

On Azure portal, there is only a button for OS upgrades with no options:

Azure portal OS upgrade

According to VMSS CLI docs, it seems to be possible to upgrade to the latest version of the OS only:

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.
363 questions
{count} votes

Accepted answer
  1. Jackson Martins 10,136 Reputation points MVP

    Hi @youssef sabih

    When you have the automatic operating system image update feature activated on your scale set, there is no requirement for you to initiate image enhancements on your scale set manually. The operating system update coordinator will autonomously implement the most recent image version to your scale set units, eliminating the need for any manual input.

    For specific cases where you do not want to wait for the orchestrator to apply the latest image, there 3 different ways in the official document below:


    You can provision a VM and do the step by step described in this article, and create a new image for your VMSS

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--

0 additional answers

Sort by: Most helpful