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/tutorial-cross-region-portal.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
1
---
2
-
title: 'Tutorial: Create a cross-region load balancer'
2
+
title: 'Tutorial: Create an Azure Global Load Balancer'
3
3
titleSuffix: Azure Load Balancer
4
-
description: Get started with this tutorial deploying a cross-region Azure Load Balancer with the Azure portal, Azure CLI, or Azure PowerShell.
4
+
description: Get started with this tutorial deploying a global Load Balancer with the Azure portal, Azure CLI, or Azure PowerShell.
5
5
author: mbender-ms
6
6
ms.author: mbender
7
7
ms.service: azure-load-balancer
8
8
ms.topic: tutorial
9
9
ms.date: 08/01/2024
10
10
ms.custom: template-tutorial, references_regions
11
-
#Customer intent: As a administrator, I want to deploy a cross-region load balancer for global high availability of my application or service.
11
+
#Customer intent: As a administrator, I want to deploy a global load balancer for global high availability of my application or service.
12
12
---
13
13
14
-
# Tutorial: Create a cross-region Azure Load Balancer
14
+
# Tutorial: Create an Azure Global Load Balancer
15
15
16
-
A cross-region load balancer ensures a service is available globally across multiple Azure regions. If one region fails, the traffic is routed to the next closest healthy regional load balancer.
16
+
A global load balancer ensures a service is available globally across multiple Azure regions. If one region fails, the traffic is routed to the next closest healthy regional load balancer.
17
17
18
18
In this tutorial, you learn how to:
19
19
20
20
> [!div class="checklist"]
21
-
> * Create cross-region load balancer.
21
+
> * Create global load balancer.
22
22
> * Create a backend pool containing two regional load balancers.
23
23
> * Create a load balancer rule.
24
24
> * Test the load balancer.
@@ -56,9 +56,9 @@ If you choose to install and use PowerShell locally, this article requires the A
56
56
---
57
57
58
58
59
-
## Create cross-region load balancer
59
+
## Create global load balancer
60
60
61
-
In this section, you create a cross-region load balancer with a public IP address, a frontend IP configuration, a backend pool with region load balancers added, and a load balancer rule.
61
+
In this section, you create a global load balancer with a public IP address, a frontend IP configuration, a backend pool with region load balancers added, and a load balancer rule.
62
62
63
63
# [Azure portal](#tab/azureportal)
64
64
@@ -87,7 +87,7 @@ In this section, you create a cross-region load balancer with a public IP addres
87
87
| SKU | Leave the default of **Standard**. |
88
88
| Tier | Select **Global**|
89
89
90
-
:::image type="content" source="./media/tutorial-cross-region-portal/create-cross-region.png" alt-text="Create a cross-region load balancer" border="true":::
90
+
:::image type="content" source="./media/tutorial-cross-region-portal/create-cross-region.png" alt-text="Create a global load balancer" border="true":::
91
91
92
92
5. Select **Next: Frontend IP configuration** at the bottom of the page.
93
93
@@ -158,9 +158,9 @@ Create a resource group with [az group create](/cli/azure/group#az-group-create)
158
158
--location westus
159
159
```
160
160
161
-
### Create the cross-region load balancer resource
161
+
### Create the global load balancer resource
162
162
163
-
Create a cross-region load balancer with [az network cross-region-lb create](/cli/azure/network/cross-region-lb#az-network-cross-region-lb-create):
163
+
Create a global load balancer with [az network cross-region-lb create](/cli/azure/network/cross-region-lb#az-network-cross-region-lb-create):
164
164
165
165
* Named **myLoadBalancer-CR**.
166
166
* A frontend pool named **myFrontEnd-CR**.
@@ -203,18 +203,18 @@ Create a load balancer rule with [az network cross-region-lb rule create](/cli/a
203
203
204
204
## Create backend pool
205
205
206
-
In this section, you add two regional standard load balancers to the backend pool of the cross-region load balancer.
206
+
In this section, you add two regional standard load balancers to the backend pool of the global load balancer.
207
207
208
208
> [!IMPORTANT]
209
209
> To complete these steps, ensure that two regional load balancers with backend pools have been deployed in your subscription. For more information, see, **[Quickstart: Create a public load balancer to load balance VMs using Azure CLI](quickstart-load-balancer-standard-public-cli.md)**.
210
210
211
211
### Add the regional frontends to load balancer
212
212
213
-
In this section, you place the resource IDs of two regional load balancers frontends into variables, and then use the variables to add the frontends to the backend address pool of the cross-region load balancer.
213
+
In this section, you place the resource IDs of two regional load balancers frontends into variables, and then use the variables to add the frontends to the backend address pool of the global load balancer.
214
214
215
215
Retrieve the resource IDs with [az network lb frontend-ip show](/cli/azure/network/lb/frontend-ip#az-network-lb-frontend-ip-show).
216
216
217
-
Use [az network cross-region-lb address-pool address add](/cli/azure/network/cross-region-lb/address-pool/address#az-network-cross-region-lb-address-pool-address-add) to add the frontends you placed in variables in the backend pool of the cross-region load balancer:
217
+
Use [az network cross-region-lb address-pool address add](/cli/azure/network/cross-region-lb/address-pool/address#az-network-cross-region-lb-address-pool-address-add) to add the frontends you placed in variables in the backend pool of the global load balancer:
218
218
219
219
```azurecli-interactive
220
220
region1id=$(az network lb frontend-ip show \
@@ -264,11 +264,11 @@ New-AzResourceGroup @rg
264
264
265
265
```
266
266
267
-
### Create cross-region load balancer resources
267
+
### Create global load balancer resources
268
268
269
-
In this section, you create the resources needed for the cross-region load balancer.
269
+
In this section, you create the resources needed for the global load balancer.
270
270
271
-
A global standard sku public IP is used for the frontend of the cross-region load balancer.
271
+
A global standard sku public IP is used for the frontend of the global load balancer.
272
272
273
273
* Use [New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress) to create the public IP address.
274
274
@@ -278,7 +278,7 @@ A global standard sku public IP is used for the frontend of the cross-region loa
278
278
279
279
* Create a load balancer rule with [Add-AzLoadBalancerRuleConfig](/powershell/module/az.network/add-azloadbalancerruleconfig).
280
280
281
-
* Create a cross-region load Balancer with [New-AzLoadBalancer](/powershell/module/az.network/new-azloadbalancer).
281
+
* Create a global load Balancer with [New-AzLoadBalancer](/powershell/module/az.network/new-azloadbalancer).
In this section, you add two regional standard load balancers to the backend pool of the cross-region load balancer.
335
+
In this section, you add two regional standard load balancers to the backend pool of the global load balancer.
336
336
337
337
> [!IMPORTANT]
338
338
> To complete these steps, ensure that two regional load balancers with backend pools have been deployed in your subscription. For more information, see, **[Quickstart: Create a public load balancer to load balance VMs using Azure PowerShell](quickstart-load-balancer-standard-public-powershell.md)**.
@@ -341,7 +341,7 @@ In this section, you add two regional standard load balancers to the backend poo
341
341
342
342
* Use [New-AzLoadBalancerBackendAddressConfig](/powershell/module/az.network/new-azloadbalancerbackendaddressconfig) to create the backend address pool configuration for the load balancer.
343
343
344
-
* Use [Set-AzLoadBalancerBackendAddressPool](/powershell/module/az.network/new-azloadbalancerbackendaddresspool) to add the regional load balancer frontend to the cross-region backend pool.
344
+
* Use [Set-AzLoadBalancerBackendAddressPool](/powershell/module/az.network/new-azloadbalancerbackendaddresspool) to add the regional load balancer frontend to the global backend pool.
345
345
346
346
```azurepowershell-interactive
347
347
## Place the region one load balancer configuration in a variable ##
In this section, you test the cross-region load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
405
+
In this section, you test the global load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
406
406
407
407
1. Find the public IP address for the load balancer on the **Overview** screen. Select **All services** in the left-hand menu, select **All resources**, and then select **myPublicIP-cr**.
408
408
@@ -418,7 +418,7 @@ In this section, you test the cross-region load balancer. You connect to the pub
418
418
419
419
# [Azure CLI](#tab/azurecli/)
420
420
421
-
In this section, you test the cross-region load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
421
+
In this section, you test the global load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
422
422
423
423
1. To get the public IP address of the load balancer, use [az network public-ip show](/cli/azure/network/public-ip#az-network-public-ip-show):
424
424
@@ -437,7 +437,7 @@ In this section, you test the cross-region load balancer. You connect to the pub
437
437
438
438
# [Azure PowerShell](#tab/azurepowershell/)
439
439
440
-
In this section, you test the cross-region load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
440
+
In this section, you test the global load balancer. You connect to the public IP address in a web browser. You stop the virtual machines in one of the regional load balancer backend pools and observe the failover.
441
441
442
442
1. Use [Get-AzPublicIpAddress](/powershell/module/az.network/get-azpublicipaddress) to get the public IP address of the load balancer:
#Customer intent: As a administrator, I want to deploy a cross-region load balancer for global high availability of my application or service.
10
+
#Customer intent: As a administrator, I want to deploy a global load balancer for global high availability of my application or service.
11
11
---
12
12
13
-
# Tutorial: Deploy a cross-region load balancer with Azure Resource Manager templates
13
+
# Tutorial: Deploy a global load balancer with Azure Resource Manager templates
14
14
15
-
A cross-region load balancer ensures a service is available globally across multiple Azure regions. If one region fails, the traffic is routed to the next closest healthy regional load balancer.
15
+
A global load balancer ensures a service is available globally across multiple Azure regions. If one region fails, the traffic is routed to the next closest healthy regional load balancer.
16
16
17
17
Using an ARM template takes fewer steps comparing to other deployment methods.
18
18
@@ -34,16 +34,16 @@ In this tutorial, you learn how to:
34
34
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) and access to the Azure portal.
35
35
36
36
## Review the template
37
-
In this section, you review the template and the parameters that are used to deploy the cross-region load balancer.
37
+
In this section, you review the template and the parameters that are used to deploy the global load balancer.
38
38
The template used in this quickstart is from the [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/load-balancer-cross-region/).
> When you create a standard load balancer, you must also create a new standard public IP address that is configured as the frontend for the standard load balancer. Also, the Load balancers and public IP SKUs must match. In our case, we will create two standard public IP addresses, one for the regional level load balancer and another for the cross-region load balancer.
43
+
> When you create a standard load balancer, you must also create a new standard public IP address that is configured as the frontend for the standard load balancer. Also, the Load balancers and public IP SKUs must match. In our case, we will create two standard public IP addresses, one for the regional level load balancer and another for the global load balancer.
44
44
45
45
Multiple Azure resources have been defined in the template:
46
-
-[**Microsoft.Network/loadBalancers**](/azure/templates/microsoft.network/loadBalancers):Regional and cross-region load balancers.
46
+
-[**Microsoft.Network/loadBalancers**](/azure/templates/microsoft.network/loadBalancers):Regional and global load balancers.
47
47
48
48
-[**Microsoft.Network/publicIPAddresses**](/azure/templates/microsoft.network/publicipaddresses): for the load balancer, bastion host, and for each of the virtual machines.
@@ -96,7 +96,7 @@ To find more templates that are related to Azure Load Balancer, see [Azure Quick
96
96
1. If necessary, sign in to the [Azure portal](https://portal.azure.com).
97
97
1. Select **Resource groups** from the left pane.
98
98
1. Select the resource group used in the deployment. The default resource group name is the **project name** with **-rg** appended. For example, **crlb-learn-arm-rg**.
99
-
1. Select the cross-region load balancer. Its default name is the project name with **-cr** appended. For example, **crlb-learn-arm-cr**.
99
+
1. Select the global load balancer. Its default name is the project name with **-cr** appended. For example, **crlb-learn-arm-cr**.
100
100
1. Copy only the IP address part of the public IP address, and then paste it into the address bar of your browser. The page resolves to a default IIS Windows Server web page.
101
101
102
102
:::image type="content" source="media/tutorial-deploy-cross-region-load-balancer-template/default-web-page.png" alt-text="Screenshot of default IIS Windows Server web page in web browser.":::
@@ -118,8 +118,8 @@ In this tutorial, you:
118
118
- Created a cross region load balancer\
119
119
- Created a regional load balancer
120
120
- Created three virtual machines and linked them to the regional load balancer
121
-
- Configured the cross-region load balancer to work with the regional load balancer
122
-
- Tested the cross-region load balancer.
121
+
- Configured the global load balancer to work with the regional load balancer
122
+
- Tested the global load balancer.
123
123
124
124
Learn more about cross-region load balancer.
125
125
Advance to the next article to learn how to create...
0 commit comments