System updates

Jagadeesh J 50 Reputation points
2023-03-15T10:49:10.5033333+00:00

How to upgrade multiple Azure VM's without update management ? Is it possible with kernel upgrade or any other manual to follow? Suggestions please

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,098 questions
{count} votes

Accepted answer
  1. deherman-MSFT 33,216 Reputation points Microsoft Employee
    2023-03-16T17:01:05.4333333+00:00

    @Jagadeesh J

    Yes, there is a way to update your VMs in Azure without using Update Management, but it can be a time-consuming and error-prone process. If any of your VMs are in a scale set you can use Automatic OS image upgrade, which helps ease update management by safely and automatically upgrading the OS disk for all instances in a scale set.

    Another option is to use Automatic VM guest patching, which helps ease update management by safely and automatically patching virtual machines to maintain security compliance. However, this option only applies patches classified as Critical or Security and may not cover all update scenarios.

    You could also consider Automatic Extension Upgrade, which helps ease update management by safely and automatically upgrading the extensions for your VMs or scale sets. However, this option only works for extensions and may not address all software components.

    Another option would be to update each VM individually. You might simplify this process by using Run Command which is an option for both Windows and Linux. This would allow you to execute scripts on the VMs which could include your update and reboot commands.

    However, keep in mind that manually upgrading VMs can be challenging and risky, especially when dealing with a large number of VMs. It’s important to thoroughly test any changes in a non-production environment before rolling them out to production systems. Additionally, it’s a good idea to have a rollback plan in place in case of issues during or after the upgrade process.

    It’s generally recommended to use Azure’s Update Management feature to centrally manage updates across multiple VMs. This way, you can benefit from features such as update compliance assessment, scope configuration, scheduled events notifications, and platform maintenance awareness.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful