Skip to content

Commit fee6768

Browse files
authored
Merge pull request #263323 from MicrosoftDocs/release-branch-upgrade-policies
Standing PR for Upgrade Policies Work (Do Not Merge)
2 parents 4af8075 + c4bdc33 commit fee6768

16 files changed

+586
-247
lines changed

articles/load-balancer/load-balancer-basic-upgrade-guidance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Suggested order of operations for manually upgrading a Basic Load Balancer in co
8686
1. Load balancing rules - use the temporary frontend configuration
8787
1. NAT rules - use the temporary frontend configuration
8888
1. For public load balancers, if you do not have one already, [create a new Network Security Group](../virtual-network/tutorial-filter-network-traffic.md) with allow rules for the traffic coming through the Load Balancer rules
89-
1. For Virtual Machine Scale Set backends, remove the Load Balancer association in the Networking settings and [update the instances](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy.md#performing-manual-upgrades)
89+
1. For Virtual Machine Scale Set backends, remove the Load Balancer association in the Networking settings and [update the instances](../virtual-machine-scale-sets/virtual-machine-scale-sets-perform-manual-upgrades.md)
9090
1. Delete the Basic Load Balancer
9191
> [!NOTE]
92-
> For Virtual Machine Scale Set backends, you will need to remove the load balancer association in the Networking settings. Once removed, you will also need to [**update the instances**](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy.md#performing-manual-upgrades)
92+
> For Virtual Machine Scale Set backends, you will need to remove the load balancer association in the Networking settings. Once removed, you will also need to [**update the instances**](../virtual-machine-scale-sets/virtual-machine-scale-sets-perform-manual-upgrades.md)
9393
1. [Upgrade all Public IPs](../virtual-network/ip-services/public-ip-upgrade-portal.md) previously associated with the Basic Load Balancer and backend Virtual Machines to Standard SKU. For Virtual Machine Scale Sets, remove any instance-level public IP configuration, update the instances, then add a new one with Standard SKU and update the instances again.
9494
1. Recreate the frontend configurations from the Basic Load Balancer on the newly created Standard Load Balancer, using the same public or private IP addresses as on the Basic Load Balancer
9595
1. Update the load balancing and NAT rules to use the appropriate frontend configurations

articles/virtual-machine-scale-sets/TOC.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
- name: Predictive autoscale
8181
href: ../azure-monitor/autoscale/autoscale-predictive.md
8282
maintainContext: true
83+
- name: Autoscale using guest metrics
84+
href: virtual-machine-scale-sets-mvss-guest-based-autoscale-linux.md
8385
- name: Troubleshoot autoscale
8486
href: virtual-machine-scale-sets-troubleshoot.md
8587
- name: Scale-In Policy
@@ -125,22 +127,32 @@
125127
href: azure-hybrid-benefit-linux.md
126128
- name: Management
127129
items:
128-
- name: Manage Upgrade Policies
129-
href: virtual-machine-scale-sets-upgrade-policy.md
130+
- name: Modify a scale set
131+
href: virtual-machine-scale-sets-upgrade-scale-set.md
132+
- name: Upgrade Policies
133+
items:
134+
- name: Overview
135+
href: virtual-machine-scale-sets-upgrade-policy.md
136+
- name: Setting the upgrade policy
137+
href: virtual-machine-scale-sets-set-upgrade-policy.md
138+
- name: Changing the upgrade policy
139+
href: virtual-machine-scale-sets-change-upgrade-policy.md
140+
- name: Configure rolling upgrade policy
141+
href: virtual-machine-scale-sets-configure-rolling-upgrades.md
142+
- name: Performing manual upgrades
143+
href: virtual-machine-scale-sets-perform-manual-upgrades.md
144+
- name: Reimage a virtual machine
145+
href: virtual-machine-scale-sets-reimage-virtual-machine.md
130146
- name: Common management tasks
131147
items:
132148
- name: Use the Azure CLI
133149
href: virtual-machine-scale-sets-manage-cli.md
134150
- name: Use Azure PowerShell
135151
href: virtual-machine-scale-sets-manage-powershell.md
136-
- name: Modify a scale set
137-
href: virtual-machine-scale-sets-upgrade-scale-set.md
138152
- name: Using DSC and scale sets
139153
href: virtual-machine-scale-sets-dsc.md
140154
- name: Scale set templates
141155
href: virtual-machine-scale-sets-mvss-start.md
142-
- name: Autoscale using guest metrics
143-
href: virtual-machine-scale-sets-mvss-guest-based-autoscale-linux.md
144156
- name: Deploy your application
145157
href: virtual-machine-scale-sets-deploy-app.md
146158
- name: Custom image templates
30.8 KB
Loading
27.3 KB
Loading
36.7 KB
Loading
37.9 KB
Loading
13.7 KB
Loading
38.8 KB
Loading
11.8 KB
Loading
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Change the upgrade policy on Virtual Machine Scale Sets
3+
description: Learn how to change the upgrade policy on Virtual Machine Scale Sets
4+
author: mimckitt
5+
ms.author: mimckitt
6+
ms.topic: how-to
7+
ms.service: virtual-machine-scale-sets
8+
ms.date: 03/07/2024
9+
ms.reviewer: ju-shim
10+
ms.custom: upgradepolicy
11+
---
12+
# Change the upgrade policy on Virtual Machine Scale Sets
13+
14+
> [!NOTE]
15+
> Automatic, manual and rolling upgrade policy is available for Virtual Machine Scale sets with Uniform Orchestration.
16+
>
17+
>**Manual upgrade policy is currently available for Virtual Machine Scale Sets with Flexible Orchestration and is currently in preview**. Previews are made available to you on the condition that you agree to the [supplemental terms of use](https://azure.microsoft.com/support/legal/preview-supplemental-terms/). Some aspects of these features may change prior to general availability (GA).
18+
19+
The upgrade policy for a Virtual Machine Scale Set can be changed at any point in time. Depending on your scenario, you may want to use a particular upgrade policy when setting up and developing your workload and once you're ready to move to production, change it to another upgrade policy mode.
20+
21+
### [Portal](#tab/portal)
22+
23+
Select the Virtual Machine Scale Set you want to change the upgrade policy for. In the menu under **Settings**, select **Upgrade Policy** and from the drop-down menu, select the upgrade policy you want to enable.
24+
25+
If using a rolling upgrade policy, see [configure rolling upgrade policy](virtual-machine-scale-sets-configure-rolling-upgrades.md) for more configuration options and suggestions.
26+
27+
:::image type="content" source="../virtual-machine-scale-sets/media/upgrade-policy/change-upgrade-policy.png" alt-text="Screenshot showing changing the upgrade policy and enabling MaxSurge in the Azure portal.":::
28+
29+
30+
### [PowerShell](#tab/powershell)
31+
Update an existing Virtual Machine Scale Set using [Update-AzVmss](/powershell/module/az.compute/update-azvmss) and the `-UpgradePolicyMode` to set the upgrade policy mode.
32+
33+
If using a rolling upgrade policy, see [configure rolling upgrade policy](virtual-machine-scale-sets-configure-rolling-upgrades.md) for more configuration options and suggestions.
34+
35+
```azurepowershell-interactive
36+
$vmss = Get-AzVmss -ResourceGroupName "myResourceGroup" -VMScaleSetName "myScaleSet"
37+
38+
Update-Azvmss `
39+
-ResourceGroupName "myResourceGroup" `
40+
-Name "myScaleSet" `
41+
-UpgradePolicyMode "Manual" `
42+
-VirtualMachineScaleSet $vmss
43+
```
44+
45+
### [ARM Template](#tab/template)
46+
47+
Update the properties section of your ARM template with the upgrade policy to set the upgrade policy mode.
48+
49+
If using a rolling upgrade policy, see [configure rolling upgrade policy](virtual-machine-scale-sets-configure-rolling-upgrades.md) for more configuration options and suggestions.
50+
51+
52+
```ARM
53+
"properties": {
54+
"upgradePolicy": {
55+
"mode": "manual",
56+
}
57+
}
58+
```
59+
---
60+
61+
62+
## Next steps
63+
Learn how to [configure rolling upgrade policy](virtual-machine-scale-sets-configure-rolling-upgrades.md) on Virtual Machine Scale Sets.

0 commit comments

Comments
 (0)