Skip to content

Commit 2ce27e7

Browse files
author
Michael Bender
committed
Add pictures and finished rough draft
1 parent 12cdc53 commit 2ce27e7

File tree

3 files changed

+56
-12
lines changed

3 files changed

+56
-12
lines changed
87.4 KB
Loading
54.9 KB
Loading

articles/load-balancer/tutorial-deploy-cross-region-load-balancer-template.md

Lines changed: 56 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: mbender-ms
55
ms.author: mbender
66
ms.service: load-balancer
77
ms.topic: tutorial
8-
ms.date: 02/17/2023
8+
ms.date: 04/12/2023
99
ms.custom: template-tutorial
1010
#Customer intent: As a administrator, I want to deploy a cross-region load balancer for global high availability of my application or service.
1111
---
@@ -20,6 +20,8 @@ Using an ARM template takes fewer steps comparing to other deployment methods.
2020

2121
If your environment meets the prerequisites and you're familiar with using ARM templates, select the **Deploy to Azure** button. The template will open in the Azure portal.
2222

23+
[![Deploy to Azure](../media/template-deployments/deploy-to-azure.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.network%2Fload-balancer-cross-region%2Fazuredeploy.json)
24+
2325
In this tutorial, you learn how to:
2426

2527
> [!div class="checklist"]
@@ -36,24 +38,66 @@ In this tutorial, you learn how to:
3638
- An Azure Virtual Network and Subnet configured
3739

3840
## Review the template
39-
In this section, you will review the template and the parameters that are used to deploy the cross-region load balancer. 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.
41+
In this section, you will review the template and the parameters that are used to deploy the cross-region load balancer.
42+
The template used in this quickstart is from the [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/load-balancer-cross-region/).
4043

44+
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.compute/2-vms-internal-load-balancer/azuredeploy.json":::
4145
1. Sign in to the [<service> portal](url).
42-
1. <!-- Step 2 -->
43-
1. <!-- Step n -->
46+
> [!NOTE]
47+
> 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.
48+
49+
Multiple Azure resources have been defined in the template:
50+
- [**Microsoft.Network/loadBalancers**](/azure/templates/microsoft.network/loadBalancers):Regional and cross-region load balancers.
51+
52+
- [**Microsoft.Network/publicIPAddresses**](/azure/templates/microsoft.network/publicipaddresses): for the load balancer, bastion host, and for each of the virtual machines.
53+
- [**Microsoft.Network/bastionHosts**](/azure/templates/microsoft.network/bastionhosts)
54+
- [**Microsoft.Network/networkSecurityGroups**](/azure/templates/microsoft.network/networksecuritygroups)
55+
56+
- [**Microsoft.Network/virtualNetworks**](/azure/templates/microsoft.network/virtualNetworks): Virtual network for load balancer and virtual machines.
57+
58+
- [**Microsoft.Compute/virtualMachines**](/azure/templates/microsoft.compute/virtualMachines) (2): Virtual machines.
59+
60+
- [**Microsoft.Network/networkInterfaces**](/azure/templates/microsoft.network/networkInterfaces) (2): Network interfaces for virtual machines.
61+
62+
- [**Microsoft.Compute/virtualMachine/extensions**](/azure/templates/microsoft.compute/virtualmachines/extensions) (2): use to configure the Internet Information Server (IIS), and the web pages.
63+
64+
To find more templates that are related to Azure Load Balancer, see [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/?resourceType=Microsoft.Network&pageNumber=1&sort=Popular).
4465

4566
## Deploy the template
46-
<!-- Introduction paragraph -->
47-
1. <!-- Step 1 -->
48-
1. <!-- Step 2 -->
49-
1. <!-- Step n -->
67+
68+
1. Sign in to the Azure portal.
69+
1. Enter and select **Deploy a custom template** in the search bar
70+
1. In the **Custom deployment** page, enter **load-balancer-cross-region** in the **Quickstart template** textbox and select **quickstarts/microsoft.network/load-balancer-cross-region**.
71+
72+
:::image type="content" source="media/tutorial-deploy-cross-region-load-balancer-template/select-quickstart-template.png" alt-text="Screenshot of Custom deployment page for selecting quickstart ARM template.":::
73+
74+
1. Choose **Select template** and enter the following information:
75+
76+
| Name | Value |
77+
| --- | --- |
78+
| Subscription | Select your subscription |
79+
| Resource group | Select your resource group or create a new resource group |
80+
| Region | Select the region where the resources will be deployed |
81+
| Project Name | Enter a project name that will be used to create unique resource names |
82+
| LocationCR | Select the location where the cross-region load balancer will be deployed |
83+
| Location-r1 | Select the region where the regional load balancer and VMs will be deployed |
84+
| Location-r2 | Select the region where the regional load balancer and VMs will be deployed |
85+
| Admin Username | Enter a username for the virtual machines |
86+
| Admin Password | Enter a password for the virtual machines |
87+
88+
89+
1. Select **Review + create** to run template validation.
90+
1. If no errors are present, Review the terms of the template and click **Create**.
5091

5192
## Verify the deployment
52-
<!-- Introduction paragraph -->
53-
1. <!-- Step 1 -->
54-
1. <!-- Step 2 -->
55-
1. <!-- Step n -->
5693

94+
1. Select **Resource groups** from the left pane.
95+
1. Select the resource group used for the deployment.
96+
1. Select the cross-region load balancer. It will be the load balancer ending in **-cr**.
97+
1. Note the public IP address of the cross-region load balancer listed under **Public IP address**.
98+
1. Enter the public IP address in your webbrowser. The page will resovlve to the default IIS Windows Server web page.
99+
100+
:::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.":::
57101

58102
## Clean up resources
59103

0 commit comments

Comments
 (0)