Maintenance control for OS image upgrades on Azure Virtual Machine Scale Sets using Azure portal

Maintenance control lets you decide when to apply automatic guest OS image upgrades to your Virtual Machine Scale Sets. This topic covers the Azure portal options for Maintenance control. For more information on using Maintenance control, see Maintenance control for Azure Virtual Machine Scale Sets.

Create a maintenance configuration

  1. Sign in to the Azure portal.

  2. Search for Maintenance Configurations.

    Screenshot showing how to open Maintenance Configurations

  3. Select Create.

    Screenshot showing how to add a maintenance configuration

  4. In the Basics tab, choose a subscription and resource group, provide a name for the configuration, choose a region, and select OS image upgrade for the scope. Select Next.

    Screenshot showing Maintenance Configuration basics

  5. In the Basics tab, select Add a schedule, declare a scheduled window when Azure will apply the updates on your resources. Set a start date, maintenance window, and recurrence. Once you create a scheduled window, you no longer have to apply the updates manually. Select Save.

    Important

    Maintenance window duration must be 5 hours or longer. Maintenance recurrence must be set to repeat at least once a day.

    Screenshot showing Maintenance Configuration schedule

  6. In the Machinse tab, assign resources now or skip this step and assign resources after the maintenance configuration deployment. Select Next.

  7. Add tags and values. Select Next.

    Screenshot showing how to add tags to a maintenance configuration

  8. Review the summary. Select Create.

  9. After the deployment is complete, select Go to resource.

Assign the configuration

On the details page of the maintenance configuration, select Assignments and then select Assign resource.

Screenshot showing how to assign a resource

Select the Virtual Machine Scale Set resources that you want the maintenance configuration assigned to and select Ok.

Next steps