You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/automatic-extension-upgrade.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,27 +26,27 @@ Automatic Extension Upgrade is available for Azure VMs and Azure Virtual Machine
26
26
## How does Automatic Extension Upgrade work?
27
27
The extension upgrade process replaces the existing extension version on a VM with a new version of the same extension when published by the extension publisher. The health of the VM is monitored after the new extension is installed. If the VM isn't in a healthy state within 5 minutes of the upgrade completion, the extension version is rolled back to the previous version.
28
28
29
-
A failed extension update is automatically retried. A retry is attempted every few days automatically without user intervention.
29
+
A failed extension upgrade is automatically retried. A retry is attempted every few days automatically without user intervention.
30
30
31
31
### Availability-first Updates
32
-
The availability-first model for platform orchestrated updates ensures that availability configurations in Azure are respected across multiple availability levels.
32
+
The availability-first model for platform orchestrated upgrades ensures that availability configurations in Azure are respected across multiple availability levels.
33
33
34
-
For a group of virtual machines undergoing an update, the Azure platform orchestrates updates:
34
+
For a group of virtual machines undergoing an upgrade, the Azure platform orchestrates upgrades:
35
35
36
36
**Across regions:**
37
-
- An update moves across Azure globally in a phased manner to prevent Azure-wide deployment failures.
38
-
- A 'phase' can have one or more regions, and an update moves across phases only if eligible VMs in the previous phase update successfully.
39
-
- Geo-paired regions won't be updated concurrently and can't be in the same regional phase.
40
-
- The success of an update is measured by tracking the health of a VM post update. VM health is tracked through platform health indicators for the VM. For Virtual Machine Scale Sets, the VM health is tracked through application health probes or the Application Health extension, if applied to the scale set.
37
+
- An upgrade moves across Azure globally in a phased manner to prevent Azure-wide deployment failures.
38
+
- A 'phase' can have one or more regions, and an upgrade moves across phases only if eligible VMs in the previous phase upgrade successfully.
39
+
- Geo-paired regions won't be upgraded concurrently and can't be in the same regional phase.
40
+
- The success of an upgrade is measured by tracking the health of a VM post upgrade. VM health is tracked through platform health indicators for the VM. For Virtual Machine Scale Sets, the VM health is tracked through application health probes or the Application Health extension, if applied to the scale set.
41
41
42
42
**Within a region:**
43
-
- VMs in different Availability Zones aren't updated concurrently with the same update.
44
-
- Single VMs that aren't part of an availability set are batched on a best effort basis to avoid concurrent updates for all VMs in a subscription.
43
+
- VMs in different Availability Zones aren't upgraded concurrently with the same upgrade.
44
+
- Single VMs that aren't part of an availability set are batched on a best effort basis to avoid concurrent upgrades for all VMs in a subscription.
45
45
46
46
**Within a 'set':**
47
-
- All VMs in a common availability set or scale set aren't updated concurrently.
48
-
- VMs in a common availability set are updated within Update Domain boundaries and VMs across multiple Update Domains aren't updated concurrently.
49
-
- VMs in a common virtual machine scale set are grouped in batches and updated within Update Domain boundaries. [Upgrade policies](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy.md) defined on the scale set are honored during the update. If upgrade policy is set to Manual, VMs won't get updated even if automatic extension upgrade is enabled.
47
+
- All VMs in a common availability set or scale set aren't upgraded concurrently.
48
+
- VMs in a common availability set are upgraded within Update Domain boundaries and VMs across multiple Update Domains aren't upgraded concurrently.
49
+
- VMs in a common virtual machine scale set are grouped in batches and upgrded within Update Domain boundaries. [Upgrade policies](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy.md) defined on the scale set are honored during the upgrade. If upgrade policy is set to Manual, VMs won't get upgraded even if automatic extension upgrade is enabled.
50
50
51
51
### Upgrade process for Virtual Machine Scale Sets
52
52
1. Before the upgrade process starts, the orchestrator ensures that no more than 20% of VMs in the entire scale set are unhealthy (for any reason).
@@ -258,22 +258,23 @@ Automatic Extension Upgrades can also be applied when a VM or virtual machine sc
258
258
259
259
## Difference between enableAutomaticUpgrade and autoUpgradeMinorVersion
260
260
1. AutoUpgradeMinorVersion:
261
-
- This property is used during VM creation and while updating the VM with a new configuration.
261
+
- This property is used during VM creation and while upgrading the VM with a new configuration.
262
262
- When set to “true,” it ensures that the latest minor version of the extension is automatically installed on the virtual machine.
263
263
- It overrides the TypeHandlerVersion with the latest stable minor version available.
264
-
- While updating the VM configuration, if a new minor version is available, then its considered a configuration change and the extension is reinstalled with latest minor version.
264
+
- While upgrading the VM configuration, if a new minor version is available, then its considered a configuration change and the extension is reinstalled with latest minor version.
265
265
- This helps keep newly created VMs up-to-date with the latest stable minor extension version.
266
266
- If you want to manually set the extension to a specific version, set this property to “false.”
267
267
268
268
2. EnableAutomaticUpgrade:
269
269
- This property affects existing virtual machines.
270
270
- It does not impact the version installed during VM creation.
271
271
- After VM creation, if the VM is not running the latest minor version of the extension, enabling this property triggers an automatic upgrade.
272
+
- Upgrades do not cause VM reboot, are rolled out in a safe rolling manner and failed upgrades are rolled back immediately to provide high service availability and reliablity.
272
273
- It ensures that existing VMs stay secure and up-to-date by automatically updating them to the latest minor version.
273
274
274
275
It is recommemded to enable both properties to keep all VMs secure and up-to-date.
275
276
276
-
Updates to major extension versions are never performed automatically by either property since they could cause breaking change. You must manually set the TypeHandlerVersion to a major version and manually update each existing VM to the latest major version.
277
+
Upgrades to major extension versions are never performed automatically by either property since they could cause breaking change. You must manually set the TypeHandlerVersion to a major version and manually upgrade each existing VM to the latest major version.
0 commit comments