Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.97 KB

File metadata and controls

61 lines (41 loc) · 2.97 KB
title Configure host scaling
titleSuffix Azure Bastion
description Learn how to add more instances (scale units) to Azure Bastion.
author cherylmc
ms.service azure-bastion
ms.topic how-to
ms.date 03/13/2026
ms.author cherylmc

Configure host scaling for Azure Bastion

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.

Important

Host scaling requires the Standard SKU tier or higher. Any changes to scale units disrupt active Bastion connections. Plan changes during maintenance windows.

Considerations

Each instance can support 20 concurrent RDP connections and 40 concurrent SSH connections for medium workloads (see Azure subscription limits and quotas 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.

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 section.

Important

Host scaling requires the Standard SKU tier or higher. Any changes to scale units will disrupt active Bastion connections.

Configuration steps

  1. Sign in to the Azure portal.
  2. Go to your Bastion host.
  3. On the Configuration page, for SKU, verify the SKU is Standard or higher. If the SKU is Basic, select a higher SKU.
  4. Adjust the Instance count. Each instance is a scale unit.
  5. Select Apply to apply changes.
  1. Get the target Bastion resource. Use the following example, modifying the values as needed.

    $bastion = Get-AzBastion -Name bastion -ResourceGroupName bastion-rg
    
  2. Set the target scale unit, also known as "instance count". In the following example, the scale units are set to 5.

    $bastion.ScaleUnit = 5
    Set-AzBastion -InputObject $bastion
    
  3. Confirm Y to overwrite the resource. After the resource is overwritten, the specified value is shown in the output for Scale Units.


Next steps