Azure VM OS Guest Patching
Azure VM Guest Patching mode helps with update management by automatically and safely patching virtual machines to maintain security compliance
2 minute read
Cloud Management Platform (CMP) reads the VM’s current mode from Azure and offers only the modes that the VM can move to. Refer to Microsoft’s documentation on Automatic Guest Patching for more information.
Enable OS Guest Patching
The action is not installed with CMP. Import it from the Content Library first.
- In the main menu, select Library, then filter Content Type to Server Actions.
- Locate the OS Guest Patching server action, then select the Download icon and choose Import.
- Go to an Azure server. OS Guest Patching appears with the server’s other actions, above the tabs. If the server has more than six actions, the rest are under More.
- Select OS Guest Patching.
- Select a New Patch Mode. Available modes depend on the Azure VM OS image and VM settings.
- Select Change Mode.
Patch modes
| Mode | Who applies patches |
|---|---|
AutomaticByPlatform |
Azure. |
AutomaticByOS |
The operating system. |
Manual |
The user. |
ImageDefault |
Determined by the OS image’s settings. |
New Patch Mode never offers the current mode, and offered modes depend on the operating system. For Windows they also depend on whether the VM has automatic updates enabled, which Azure sets when the VM is created and cannot be changed afterwards.
- Linux:
AutomaticByPlatformorImageDefault. - Windows with automatic updates enabled:
AutomaticByPlatformorAutomaticByOS. - Windows with automatic updates disabled: a VM on
AutomaticByPlatformcan move toManual. A VM onAutomaticByOScannot change mode.
The list is empty when the VM’s OS image does not support guest patching.
Related
- Server actions: how server actions are imported, enabled, and run.
- Azure: create the resource handler these servers belong to.