Skip to content

Commit c9fd9e1

Browse files
committed
more updates to how-to
1 parent 548550c commit c9fd9e1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: load-balancer
66
author: mbender-ms
77
ms.service: azure-load-balancer
88
ms.topic: how-to
9-
ms.date: 10/17/2024
9+
ms.date: 02/20/2024
1010
ms.author: mbender
1111
ms.custom: devx-track-azurepowershell
1212
---
@@ -23,8 +23,8 @@ A [cross-subscription load balancer](cross-subscription-overview.md) can referen
2323

2424
- Two Azure subscriptions.
2525
- An Azure account with active subscriptions. [Create an account for free](https://azure.microsoft.com/free/)
26-
- A global public IP address deployed in **Azure Subscription A**.
27-
- A regional load balancer deployed in **Azure Subscription B**.
26+
- 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).
27+
- A regional load balancer deployed in **Azure Subscription A**.
2828
- Azure PowerShell installed locally or Azure Cloud Shell.
2929

3030
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find the installed version. If you need to upgrade, see Install Azure PowerShell module. If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
@@ -38,8 +38,8 @@ If you choose to install and use PowerShell locally, this article requires the A
3838

3939
- Two Azure subscriptions. One subscription for the virtual network (**Azure Subscription A**) and another subscription for the load balancer(**Azure Subscription B**).
4040
- An Azure account with active subscriptions. [Create an account for free](https://azure.microsoft.com/free/)
41-
- A global public IP address deployed in **Azure Subscription A**.
42-
- A regional load balancer deployed in **Azure Subscription B**.
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**.
4343

4444
[!INCLUDE [azure-cli-prepare-your-environment.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
4545

@@ -55,7 +55,7 @@ If you choose to install and use the CLI locally, this quickstart requires Azure
5555

5656
# [Azure PowerShell](#tab/azurepowershell)
5757

58-
With Azure PowerShell, you sign into Azure with [`Connect-AzAccount`](/powershell/module/az.accounts/connect-azaccount), and change your subscription context with [`Set-AzContext`](/powershell/module/az.accounts/set-azcontext) to **Azure Subscription A**. Then get the regional load balancer information with [`Get-AzLoadBalancer`](/powershell/module/az.network/get-azloadbalancer) and [`Get-AzLoadBalancerFrontendIpConfig](/powershell/module/az.network/get-azloadbalancerfrontendipconfig). You need the Azure subscription ID, resource group name, and virtual network name from your environment.
58+
With Azure PowerShell, you sign into Azure with [`Connect-AzAccount`](/powershell/module/az.accounts/connect-azaccount), and change your subscription context with [`Set-AzContext`](/powershell/module/az.accounts/set-azcontext) to **Azure Subscription A**. Then get the regional load balancer information with [`Get-AzLoadBalancer`](/powershell/module/az.network/get-azloadbalancer) and [`Get-AzLoadBalancerFrontendIpConfig`](/powershell/module/az.network/get-azloadbalancerfrontendipconfig). You need the Azure subscription ID, resource group name, and virtual network name from your environment.
5959

6060

6161
```azurepowershell
@@ -64,15 +64,15 @@ With Azure PowerShell, you sign into Azure with [`Connect-AzAccount`](/powershel
6464
Connect-AzAccount
6565
6666
# Set the subscription context to Azure Subscription A
67-
Set-AzContext -Subscription '<Azure Subscription A>'
67+
Set-AzContext -Subscription 'd9f0f529-83ab-4840-9c8b-76db5d68517f'
6868
6969
# Get the Virtual Network information with Get-AzVirtualNetwork
7070
$rlb= @{
71-
Name = '<regional load balancer name>'
72-
ResourceGroupName = '<Resource Group Subscription A>'
71+
Name = 'load-balancer-reg'
72+
ResourceGroupName = 'myResourceGroup'
7373
}
74-
$RLB-info = Get-AzLoadBalancer @rlb
75-
$RLBFE = Get-AzLoadBalancerFrontendIpConfig @ RLB-info
74+
$rlbinfo = Get-AzLoadBalancer @rlb
75+
$rlbfe = Get-AzLoadBalancerFrontendIpConfig @rlbinfo
7676
7777
```
7878

@@ -86,7 +86,7 @@ With Azure CLI, you'll sign into Azure with [az login](/cli/azure/reference-inde
8686
8787
# Sign in to Azure CLI and change subscription to Azure Subscription B
8888
Az login
89-
Az account set –subscription <Azure Subscription A>
89+
Az account set –subscription d9f0f529-83ab-4840-9c8b-76db5d68517f
9090
```
9191

9292
---

0 commit comments

Comments
 (0)