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
# Create and assign an autoscale scaling plan for Azure Virtual Desktop
13
13
14
14
> [!IMPORTANT]
15
-
> The following features are currently in PREVIEW:
16
-
> - Autoscale support for Azure Stack HCI with Azure Virtual Desktop
17
-
> - Dynamic autoscaling for automated pooled host pools with session host configuration.
18
-
> - See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
15
+
> Dynamic autoscaling for pooled host pools with session host configuration is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
19
16
20
17
Autoscale lets you scale your session host virtual machines (VMs) in a host pool up or down according to schedule to optimize deployment costs. You can't use autoscale and [scale session hosts using Azure Automation and Azure Logic Apps](scaling-automation-logic-apps.md) on the same host pool. You must use one or the other.
21
18
@@ -390,7 +387,7 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
390
387
391
388
1. For **Scaling method**, select **Dynamic autoscaling**.
392
389
393
-
1. Select **Next**, which should take you to the **Schedules** tab. Schedules let you define when autoscale turns VMs on and off throughout the day.
390
+
1. Select **Next**, which should take you to the **Schedules** tab. Schedules let you define when to scale up and down VMs throughout the day.
394
391
395
392
1. Select **Add schedule**.
396
393
@@ -414,8 +411,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
414
411
415
412
- For **Load balancing algorithm**, we recommend selecting **breadth-first algorithm**. Breadth-first load balancing will distribute users across existing VMs to keep access times fast.
416
413
417
-
>[!NOTE]
418
-
>The load balancing preference you select here will override the one you selected for your original host pool settings.
414
+
>[!NOTE]
415
+
>The load balancing preference you select here will override the one you selected for your original host pool settings.
419
416
420
417
- For **Capacity threshold**, enter the percentage of available host pool capacity that will trigger a scaling action to take place. For example, if capacity threshold is specified as 60% and your total host pool capacity is 100 sessions, autoscale will turn on additional session hosts once the host pool exceeds a load of 60 sessions.
421
418
@@ -436,22 +433,24 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
436
433
- Load-balancing algorithm
437
434
- Capacity threshold (%)
438
435
- Force logoff users
439
-
- Minimum percentage of hosts (%)
436
+
- Minimum percentage of active hosts (%)
437
+
- Minimum host pool size
438
+
- Maximum host pool size
440
439
441
-
> [!IMPORTANT]
442
-
> - If you've enabled autoscale to force users to sign out during ramp-down, the feature will choose the session host with the lowest number of user sessions (active and disconnected) to shut down. Autoscale will put the session host in drain mode, send those user sessions a notification telling them they'll be signed out, and then sign out those users after the specified wait time is over. After autoscale signs out those user sessions, it then deallocates the VM.
443
-
>
444
-
> - If you haven't enabled forced sign out during ramp-down, you then need to choose whether you want to shut down ‘VMs have no active or disconnected sessions’ or ‘VMs have no active sessions’ during ramp-down.
445
-
>
446
-
> - Whether you’ve enabled autoscale to force users to sign out during ramp-down or not, the [capacity threshold](autoscale-glossary.md#capacity-threshold) and the [minimum percentage of hosts](autoscale-glossary.md#minimum-percentage-of-hosts) are still respected, autoscale will only shut down VMs if all existing user sessions (active and disconnected) in the host pool can be consolidated to fewer VMs without exceeding the capacity threshold.
440
+
> [!IMPORTANT]
441
+
> - If you've enabled autoscale to force users to sign out during ramp-down, the feature will choose the session host with the lowest number of user sessions (active and disconnected) to shut down. Autoscale will put the session host in drain mode, send those user sessions a notification telling them they'll be signed out, and then sign out those users after the specified wait time is over. After autoscale signs out those user sessions, it then deallocates the VM.
442
+
>
443
+
> - If you haven't enabled forced sign out during ramp-down, you then need to choose whether you want to shut down ‘VMs have no active or disconnected sessions’ or ‘VMs have no active sessions’ during ramp-down.
444
+
>
445
+
> - Whether you’ve enabled autoscale to force users to sign out during ramp-down or not, the [capacity threshold](autoscale-glossary.md#capacity-threshold) and the [minimum percentage of hosts](autoscale-glossary.md#minimum-percentage-of-hosts) are still respected, autoscale will only shut down VMs if all existing user sessions (active and disconnected) in the host pool can be consolidated to fewer VMs without exceeding the capacity threshold.
447
446
448
447
1. Likewise, **Off-peak hours** works the same way as **Peak hours**:
449
448
450
449
- Start time, which is also the end of the ramp-down period.
451
450
- Load-balancing algorithm. We recommend choosing **depth-first** to gradually reduce the number of session hosts based on sessions on each VM.
452
451
- Just like peak hours, you can't configure the capacity threshold here. Instead, the value you entered in **Ramp-down** will carry over.
453
452
454
-
1. Select **Next** to take you to the **Host pool assignments** tab. Select the check box next to each host pool you want to include. If you don't want to enable autoscale, unselect all check boxes. You can always return to this setting later and change it. You can only assign the dynamic scaling plan to automated host pool(s) with session host configuration.
453
+
1. Select **Next** to take you to the **Host pool assignments** tab. Select the check box next to each host pool you want to include. If you don't want to enable autoscale, unselect all check boxes. You can always return to this setting later and change it. You can only assign the dynamic scaling plan to pooled host pool(s) with session host configuration.
455
454
456
455
> [!NOTE]
457
456
> - When you create or update a scaling plan that's already assigned to host pools, its changes will be applied immediately.
Copy file name to clipboardExpand all lines: articles/virtual-desktop/autoscale-glossary.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,15 @@ This article is a list of definitions for key terms and concepts related to the
13
13
14
14
## Autoscale
15
15
16
-
Autoscale is Azure Virtual Desktop’s native scaling service that turns VMs on and off based on the capacity of the host pools and the [scaling plan](#scaling-plan)[schedule](#schedule) you define.
16
+
Autoscale is Azure Virtual Desktop’s native scaling service that scales VMs up and down based on the capacity of the host pools and the [scaling plan](#scaling-plan)[schedule](#schedule) you define.
17
+
18
+
## Scaling method
19
+
20
+
The scaling method you choose will define how the scaling service will manage the available capacity. There are two scaling methods you can choose from:
21
+
22
+
-**Power management autoscaling**: This is the existing autoscaling method that turns on/off session host VMs to adjust to the available capacity in the host pool. If you want to apply a scaling plan to a standard host pool, this is the option that you should use.
23
+
24
+
-**Dynamic autoscaling (preview)**: This autoscaling method adjusts the available capacity in the host pool by turning on/off and creating/deleting session host VMs. Dynamic autoscaling can only be used for pooled host pools with session host configuration.
17
25
18
26
## Scaling tool
19
27
@@ -53,8 +61,8 @@ The capacity threshold is the percentage of a [host pool's capacity](#available-
53
61
54
62
For example:
55
63
56
-
- If the [used host pool capacity](#used-host-pool-capacity) is below the capacity threshold and autoscale can turn off virtual machines (VMs) without going over the capacity threshold, then the feature will turn off the VMs.
57
-
- If the used host pool capacity goes over the capacity threshold, then autoscale will turn on more VMs until the used host pool capacity goes below the capacity threshold.
64
+
- If the [used host pool capacity](#used-host-pool-capacity) is below the capacity threshold and autoscale can turn off or delete virtual machines (VMs) without going over the capacity threshold, then the feature will turn off or delete the VMs.
65
+
- If the used host pool capacity goes over the capacity threshold, then autoscale will turn on or create more VMs until the used host pool capacity goes below the capacity threshold.
Copy file name to clipboardExpand all lines: articles/virtual-desktop/autoscale-scenarios.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,7 @@ Autoscale lets you scale your session host virtual machines (VMs) in a host pool
16
16
> - You can't use autoscale and [scale session hosts using Azure Automation](set-up-scaling-script.md) on the same host pool. You must use one or the other.
17
17
> - Power management autoscaling is available in Azure and Azure Government in the same regions you can [create host pools](create-host-pools-azure-marketplace.md) in.
18
18
> - Dynamic autoscaling is only available in Azure and is not supported in Azure Government.
19
-
>
20
-
> The following features are currently in PREVIEW:
21
-
> - Dynamic autoscaling for automated pooled host pools with session host configuration.
22
-
> - Autoscale support for Azure Stack HCI with Azure Virtual Desktop.
23
-
> - See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
19
+
> Dynamic autoscaling for pooled host pools with session host configuration is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
24
20
25
21
For best results, we recommend using autoscale with VMs you deployed with Azure Virtual Desktop Azure Resource Manager (ARM) templates or first-party tools from Microsoft.
26
22
@@ -30,7 +26,7 @@ A scaling plan is an Azure Virtual Desktop Azure Resource Manager object that de
30
26
31
27
-**Power management autoscaling**: This is the existing autoscaling method that turns on/off session host VMs to adjust to the available capacity in the host pool. If you want to apply a scaling plan to a standard host pool, this is the option that you should use.
32
28
33
-
-**Dynamic autoscaling** (preview): This autoscaling method adjusts the available capacity in the host pool by turning on/off and creating/deleting session host VMs. Dynamic autoscaling can only be used for pooled host pools with session host configuration.
29
+
-**Dynamic autoscaling (preview)**: This autoscaling method adjusts the available capacity in the host pool by turning on/off and creating/deleting session host VMs. Dynamic autoscaling can only be used for pooled host pools with session host configuration.
34
30
35
31
Before you create your plan, keep the following things in mind:
0 commit comments