|
1 | 1 | --- |
2 | | -title: 'Add scale units for host scaling: Azure portal' |
| 2 | +title: Configure host scaling |
3 | 3 | titleSuffix: Azure Bastion |
4 | 4 | description: Learn how to add more instances (scale units) to Azure Bastion. |
5 | 5 | author: abell |
6 | 6 | ms.service: azure-bastion |
7 | 7 | ms.topic: how-to |
8 | | -ms.date: 03/31/2025 |
| 8 | +ms.date: 03/13/2026 |
9 | 9 | ms.author: abell |
10 | | -# Customer intent: As someone with a networking background, I want to configure host scaling using the Azure portal. |
| 10 | +# Customer intent: As a network administrator, I want to configure scale units and understand what the impact it will be on my cloud environment. |
11 | 11 |
|
12 | 12 | --- |
13 | 13 |
|
14 | | -# Configure host scaling using the Azure portal |
| 14 | +# Configure host scaling for Azure Bastion |
15 | 15 |
|
16 | | -This article helps you add more scale units (instances) to Azure Bastion to accommodate additional concurrent client connections. The steps in this article use the Azure portal. For more information about host scaling, see [Configuration settings](configuration-settings.md#instance). You can also configure host scaling using [PowerShell](configure-host-scaling-powershell.md). |
| 16 | +This article helps you configure host scaling for your Azure Bastion deployment. Host scaling lets you adjust the number of instances (scale units) to support more concurrent client connections. |
| 17 | + |
| 18 | +> [!IMPORTANT] |
| 19 | +> Host scaling requires the Standard SKU tier or higher. Any changes to scale units disrupt active Bastion connections. Plan changes during maintenance windows. |
| 20 | +
|
| 21 | +## Considerations |
| 22 | + |
| 23 | +Each instance can support 20 concurrent RDP connections and 40 concurrent SSH connections for medium workloads (see [Azure subscription limits and quotas](../azure-resource-manager/management/azure-subscription-service-limits.md) for more information). The number of connections per instance depends on what actions you're taking when connected to the client VM. For example, if you're transferring large files or streaming media, data-intensive tasks reduce the number of concurrent connections your instance can handle. When concurrent sessions exceed the instance limit, you need to add another scale unit to handle additional connections. |
| 24 | + |
| 25 | +Instances are created in the AzureBastionSubnet. To allow for host scaling, the AzureBastionSubnet should be /26 or larger. Using a smaller subnet limits the number of instances you can create. For more information about the AzureBastionSubnet, see the [Azure Bastion subnet](configuration-settings.md#subnet) section. |
| 26 | + |
| 27 | +> [!IMPORTANT] |
| 28 | +> Host scaling requires the Standard SKU tier or higher. Any changes to scale units will disrupt active Bastion connections. |
17 | 29 |
|
18 | 30 | ## Configuration steps |
19 | 31 |
|
| 32 | +# [Azure portal](#tab/portal) |
| 33 | + |
20 | 34 | 1. Sign in to the [Azure portal](https://portal.azure.com). |
21 | | -1. In the Azure portal, go to your Bastion host. |
22 | | -1. Host scaling instance count requires Standard SKU or higher. On the **Configuration** page, for **SKU**, verify the SKU is Standard or higher. If the SKU is Basic, select a higher SKU. To configure scaling, adjust the instance count. Each instance is a scale unit. |
| 35 | +1. Go to your Bastion host. |
| 36 | +1. On the **Configuration** page, for **SKU**, verify the SKU is **Standard** or higher. If the SKU is Basic, select a higher SKU. |
| 37 | +1. Adjust the **Instance count**. Each instance is a scale unit. |
23 | 38 | 1. Select **Apply** to apply changes. |
24 | 39 |
|
25 | | - >[!NOTE] |
26 | | - > Any changes to the host scale units will disrupt active bastion connections. |
27 | | - > |
| 40 | +# [PowerShell](#tab/powershell) |
| 41 | + |
| 42 | +1. Get the target Bastion resource. Use the following example, modifying the values as needed. |
| 43 | + |
| 44 | + ```azurepowershell-interactive |
| 45 | + $bastion = Get-AzBastion -Name bastion -ResourceGroupName bastion-rg |
| 46 | + ``` |
| 47 | + |
| 48 | +1. Set the target scale unit, also known as "instance count". In the following example, the scale units are set to 5. |
| 49 | + |
| 50 | + ```azurepowershell-interactive |
| 51 | + $bastion.ScaleUnit = 5 |
| 52 | + Set-AzBastion -InputObject $bastion |
| 53 | + ``` |
| 54 | + |
| 55 | +1. Confirm **Y** to overwrite the resource. After the resource is overwritten, the specified value is shown in the output for **Scale Units**. |
| 56 | + |
| 57 | +--- |
28 | 58 |
|
29 | 59 | ## Next steps |
30 | 60 |
|
31 | | -For more information about configuration settings, see [Azure Bastion configuration settings](configuration-settings.md). |
| 61 | +* Learn about the [available configuration settings for Azure Bastion](configuration-settings.md). |
0 commit comments