Skip to content

Commit 37f2359

Browse files
author
Michael Bender
committed
Updates based on Mahip's comments
1 parent 00274fe commit 37f2359

5 files changed

+32
-6
lines changed

articles/load-balancer/cross-subscription-how-to-attach-backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom:
1414
# Attach a cross-subscription backend to an Azure Load Balancer
1515
In this article, you learn how to attach a cross-subscription backend to an Azure Load Balancer by creating a cross-subscription backend pool and attaching cross-subscription network interfaces to the backend pool of the load balancer.
1616

17-
A [cross-subscription internal load balancer (ILB)](cross-subscription-load-balancer-overview.md) can reference a virtual network that resides in a different subscription other than the load balancers. This feature allows you to deploy a load balancer in one subscription and reference a virtual network in another subscription.
17+
A [cross-subscription load balancer](cross-subscription-load-balancer-overview.md) can reference a virtual network that resides in a different subscription other than the load balancers. This feature allows you to deploy a load balancer in one subscription and reference a virtual network in another subscription.
1818

1919
[!INCLUDE [load-balancer-cross-subscription-preview](../../includes/load-balancer-cross-subscription-preview.md)]
2020

articles/load-balancer/cross-subscription-how-to-attach-frontend.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,20 @@ Create a load balancer with [`New-AzLoadBalancer`](/powershell/module/az.network
134134

135135
```azurepowershell
136136
# Create a load balancer
137+
138+
$tags = @{
139+
'IsRemoteFrontend'= 'true'
140+
}
141+
137142
$loadbalancer = @{
138143
ResourceGroupName = 'myResourceGroupLB'
139144
Name = 'myLoadBalancer'
140145
Location = 'westus'
141146
Sku = 'Standard'
147+
Tag = $tags
142148
}
143149
150+
144151
$LB = New-AzLoadBalancer @loadbalancer
145152
146153
$LBinfo = @{

articles/load-balancer/cross-subscription-howto-internal-load-balancer.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ A [cross-subscription internal load balancer (ILB)](cross-subscription-load-bala
2727

2828
## Create a load balancer
2929

30-
In this section, you create a load balancer in **Azure Subscription B**. You create a load balancer with a frontend IP address.
30+
In this section, you create a load balancer in **Azure Subscription B** that is connected to a virtual network in **Azure Subscription A**. You create a load balancer with a frontend IP address.
3131

3232
# [Azure PowerShell](#tab/azurepowershell)
3333
With Azure PowerShell, you'll:
@@ -39,11 +39,17 @@ With Azure PowerShell, you'll:
3939

4040
```azurepowershell
4141
# Create a load balancer
42+
43+
$tags = @{
44+
'IsRemoteFrontend'= 'true'
45+
}
46+
4247
$loadbalancer = @{
4348
ResourceGroupName = 'myResourceGroupLB'
4449
Name = 'myLoadBalancer'
4550
Location = 'westus'
4651
Sku = 'Standard'
52+
Tags = $tags
4753
}
4854
4955
$LB = New-AzLoadBalancer @loadbalancer

articles/load-balancer/cross-subscription-load-balancer-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ With syncMode configured as “Manual”, backend pool instances aren't synchron
6363

6464
## Cross-subscription Global Load Balancer
6565

66-
In addition to, cross-subscription load balancing is supported for Azure global Load Balancer. With cross-subscription global load balancer, backend regional load balancers can each be located in different subscriptions. Cross-subscription backends on a global load balancer don't need other parameters or changes to the backend pool.
66+
In addition, cross-subscription load balancing is supported for Azure global Load Balancer. With cross-subscription global load balancer, backend regional load balancers can each be located in different subscriptions. Cross-subscription backends on a global load balancer don't need other parameters or changes to the backend pool.
6767

6868
:::image type="content" source="media/cross-subscription-load-balancer-overview/global-load-balancer-cross-subscription-concept.png" alt-text="Diagram of cross subscription global load balancer concept":::
6969

@@ -89,7 +89,7 @@ Microsoft.Network/virtualNetworks/write
8989
Microsoft.Network/networkInterfaces/write
9090

9191
### Cross-tenant
92-
When working cross-tenant, a user must be assigned to the *Network Contributor* role or to a custom role that is assigned the appropriate actions for cross-subscription frontends in both subscriptions. More information on cross-tenant linkage can be found here.
92+
When working cross-tenant, a user must be assigned to the *Network Contributor* role or to a custom role that is assigned the appropriate actions for cross-subscription frontends in both subscriptions. More information on cross-tenant linkage, see [Authenticate requests across tenants](../azure-resource-manager/management/authenticate-multi-tenant.md).
9393

9494
## Limitations
9595
- syncMode can only be set on new backend pools

includes/load-balancer-cross-subscription-add-nic.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ ms.custom: include-file
1414
## Attach network interface cards to the load balancer
1515

1616
# [Azure PowerShell](#tab/azurepowershell)
17-
In this section, you attach network interface cards to the load balancer. You create a network interface with [`New-AzNetworkInterface`](/powershell/module/az.network/new-aznetworkinterface) and then create an IP configuration for the network interface card with [`New-AzNetworkInterfaceIpConfig`](/powershell/module/az.network/new-aznetworkinterfaceipconfig).
17+
In this section, you attach the network interface card (NIC) in **Azure Subscription A** to the load balancer in **Azure Subscription B**. You create a network interface with [`New-AzNetworkInterface`](/powershell/module/az.network/new-aznetworkinterface) and then create an IP configuration for the network interface card with [`New-AzNetworkInterfaceIpConfig`](/powershell/module/az.network/new-aznetworkinterfaceipconfig).
18+
19+
> [!NOTE]
20+
> The network interface card (NIC) must be in the same VNet as the load balancer’s backend pool.
1821
1922
```azurepowershell
2023
@@ -40,6 +43,16 @@ New-AzNetworkInterface @nic
4043

4144
# [Azure CLI](#tab/azurecli)
4245

43-
This step is only performed with Azure PowerShell. It's unnecessary with Azure CLI.
46+
In this section, you attach the network interface card (NIC) in **Azure Subscription A** to the load balancer in **Azure Subscription B** with [`az network nic create`](/cli/azure/network/nic#az-network-nic-create)
47+
48+
> [!NOTE]
49+
> The network interface card (NIC) must be in the same VNet as the load balancer’s backend pool.
4450
51+
```azurecli
52+
# Set the subscription context to **Azure Subscription A**
53+
Az account set –subscription 'Sub A'
54+
55+
# Attach the network interface card to the load balancer
56+
az network nic create --name NIC --resource-group NIC-rg --vnet VNET-name --lb-address-pool "/subscriptions/<Subscription B ID>/resourceGroups/myResourceGroupLB/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/BackendPool1"
57+
```
4558
---

0 commit comments

Comments
 (0)