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
Copy file name to clipboardExpand all lines: articles/load-balancer/cross-subscription-how-to-global-backend.md
+39-39Lines changed: 39 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ services: load-balancer
6
6
author: mbender-ms
7
7
ms.service: azure-load-balancer
8
8
ms.topic: how-to
9
-
ms.date: 02/20/2024
9
+
ms.date: 02/20/2025
10
10
ms.author: mbender
11
11
ms.custom: devx-track-azurepowershell
12
12
---
@@ -39,7 +39,7 @@ If you choose to install and use PowerShell locally, this article requires the A
39
39
- Two Azure subscriptions. One subscription for the virtual network (**Azure Subscription A**) and another subscription for the load balancer(**Azure Subscription B**).
40
40
- An Azure account with active subscriptions. [Create an account for free](https://azure.microsoft.com/free/)
41
41
- A global public IP address deployed in **Azure Subscription A** located in a [Global load balancer home region](cross-subscription-how-to-global-backend.md).
42
-
- A regional load balancer deployed in **Azure Subscription A**.
42
+
- A regional load balancer deployed in **Azure Subscription A**. For this example, the load balancer is called **load-balancer-regional** in a resource group called **resource-group-a**.
## Add load balancer frontends to cross-region load balancer
214
+
## Add load balancer frontends to global load balancer
215
215
216
-
In this section, you add a frontend IP configuration to the cross-region load balancer.
216
+
In this section, you add a frontend IP configuration to the global load balancer.
217
217
218
218
# [Azure PowerShell](#tab/azurepowershell)
219
219
220
220
With Azure PowerShell, you:
221
221
222
-
- Use [`Set-AzLoadBalancerFrontendIpConfig`](/powershell/module/az.network/set-azloadbalancerfrontendipconfig) to add the regional load balancer frontend to the cross-region backend pool.
222
+
- Use [`Set-AzLoadBalancerFrontendIpConfig`](/powershell/module/az.network/set-azloadbalancerfrontendipconfig) to add the regional load balancer frontend to the global backend pool.
223
223
- Use [`New-AzLoadBalancerBackendAddressConfig`](/powershell/module/az.network/new-azloadbalancerbackendaddressconfig) to create the backend address pool configuration for the load balancer.
224
224
225
225
```azurepowershell
226
226
227
-
## Create the cross-region backend address pool configuration for region 2 ##
228
-
$RLB-BAF = @{
229
-
Name = 'MyBackendPoolConfig-RLB'
230
-
LoadBalancerFrontendIPConfigurationId = $RLBFE.Id
227
+
## Create the global backend address pool configuration for region 2 ##
With Azure CLI, you add the frontends you placed in variables in the backend pool of the cross-region load balancer with use [`az network cross-region-lb address-pool`](/cli/azure/network/cross-region-lb#az-network-cross-region-lb-address-pool).
247
+
With Azure CLI, you add the frontends you placed in variables in the backend pool of the global load balancer with use [`az network cross-region-lb address-pool`](/cli/azure/network/cross-region-lb#az-network-cross-region-lb-address-pool).
248
248
249
249
```azurecli
250
250
251
251
az network cross-region-lb address-pool address add \
0 commit comments