Ensures that automatic operating system (OS) upgrades feature is enabled for all virtual machine scale sets.
Risk Level: Medium
Description
This plugin ensures that the Azure Virtual Machine (VM) scale sets have the automatic operating system (OS) upgrades feature enabled. The automatic upgrade feature helps in keeping all the scale sets in your Azure subscriptions up-to-date with the latest versions by safely and automatically upgrading the OS disk as and when required.
About the Service
Azure Virtual Machines:
Azure Virtual Machines (VM) are one of several forms of scalable, on-demand computing resources offered by Azure. VMs are typically used when you require more control over the computing environment than the other options provide. To know more, read here.
Impact
If the automatic OS upgrades feature is disabled then the user will have to manually apply the latest OS image to the scale set whenever it is published by the image publishers. This would require you to manually track all upgrades on a regular basis.
Steps to Reproduce
Using Azure Console-
- Log In to your Azure Console.
- Navigate to the Home portal of the Azure Console and click on All services.
- Select Virtual machine scale sets under Compute to access all the virtual machine scale sets present in the directory. You can use this link here to navigate directly if you’re already logged in.
- In the list of Virtual Machine (VM) scale sets displayed, select a scale set you wish to investigate.
- From the navigation panel on the left side of the console, go to Upgrade policy in the Settings section.
- If the Upgrade mode is not set to Automatic, then the Automatic OS Upgrades feature is not enabled for the selected Azure virtual machine scale set.
- Repeat steps 4 to 6 for all the scale sets you want to investigate in the selected directory.
- If you have multiple directories, repeat steps 2 to 7 for each directory in your Azure Console.
Steps for Remediation
Determine whether or not you truly require the automatic OS upgrades feature to be disabled. If not, make the necessary changes to enable it using the steps below.
Using GCP Console-
- Log In to your Azure Console.
- Navigate to the Home portal of the Azure Console and click on All services.
- Select Virtual machine scale sets under Compute to access all the virtual machine scale sets present in the directory. You can use this link here to navigate directly if you’re already logged in.
- From the list of scale sets, choose the VM scale set you want to reconfigure. (In case you aren’t sure which one needs to be configured, follow the steps to reproduce listed above to determine which scale set to choose.)
- From the navigation panel on the left side of the console, go to Upgrade policy in the Settings section.
- Select the Automatic option from the drop-down available for Upgrade mode.
- Click Save to apply all the changes.
- Repeat steps 3 to 7 for all the VM scale sets you want to reconfigure in the selected directory.
- If you have multiple directories, repeat steps 2 to 8 for each directory in your Azure Console.
Please feel free to reach out to support@pingsafe.ai with any questions that you may have.
Thanks
PingSafe Support