How to schedule updates for VMSS on azure

Krishnan, Madan 20 Reputation points
2023-08-07T13:22:41.2633333+00:00

Hi All,

I am planning to schedule patching for VMSS that will update all the instances within it. Please could you provide links that can help me setup the options.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,384 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,873 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
304 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 24,546 Reputation points
    2023-08-09T13:17:05.55+00:00

    Hello @Krishnan, Madan

    You can use Maintenance control to schedule OS patches for VMSS. Maintenance control lets you decide when to apply updates to OS disks in your Virtual Machine Scale Sets through an easier and more predictable experience. The entire workflow comes down to these steps:

    1. Create a maintenance configuration.
    2. Associate a Virtual Machine Scale Set with a maintenance configuration.
    3. Enable automatic OS upgrades.

    You can create and manage maintenance configurations using any of the following options:

    • Azure PowerShell
    • Azure CLI
    • Azure portal

    Once you have created a maintenance configuration, you can associate your Virtual Machine Scale Set to the maintenance configuration. New OS image updates for the scale set will be automatically scheduled on the next available maintenance window.

    For more information on using Maintenance control, see Maintenance control for Azure Virtual Machine Scale Sets.

    You can enable automatic OS upgrades for each Virtual Machine Scale Set that is going to use maintenance control. For more information about enabling automatic OS upgrades on your Virtual Machine Scale Set, see Azure Virtual Machine Scale Set automatic OS image upgrades

    If this does answer your question, please accept it as the answer as a token of appreciation.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.