Skip to content

Commit ee4ecce

Browse files
Merge pull request #222476 from AbdullahBell/LB-Public-Portal-Freshness
Load Balancer | Freshness Quickstart: Create a public load balancer to load balance VMs using the Azure portal
2 parents 2765940 + 8bdd081 commit ee4ecce

File tree

1 file changed

+83
-72
lines changed

1 file changed

+83
-72
lines changed

articles/load-balancer/quickstart-load-balancer-standard-public-portal.md

Lines changed: 83 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: This quickstart shows how to create a load balancer by using the Az
55
author: mbender-ms
66
ms.service: load-balancer
77
ms.topic: quickstart
8-
ms.date: 03/16/2022
8+
ms.date: 12/27/2022
99
ms.author: mbender
1010
ms.custom: mvc, mode-ui
1111
#Customer intent: I want to create a load balancer so that I can load balance internet traffic to VMs.
@@ -29,9 +29,9 @@ In this section, you'll create a virtual network, subnet, and Azure Bastion host
2929

3030
1. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual Networks** in the search results.
3131

32-
2. In **Virtual networks**, select **+ Create**.
32+
1. In **Virtual networks**, select **+ Create**.
3333

34-
3. In **Create virtual network**, enter or select the following information in the **Basics** tab:
34+
1. In **Create virtual network**, enter or select the following information in the **Basics** tab:
3535

3636
| **Setting** | **Value** |
3737
|------------------|-----------------------------------------------------------------|
@@ -42,38 +42,49 @@ In this section, you'll create a virtual network, subnet, and Azure Bastion host
4242
| Name | Enter **myVNet** |
4343
| Region | Select **East US** |
4444

45-
4. Select the **IP Addresses** tab or select **Next: IP Addresses** at the bottom of the page.
45+
1. Select the **Security** tab.
4646

47-
5. In the **IP Addresses** tab, enter this information:
47+
1. Under **Azure Bastion**, select **Enable Azure Bastion**. Enter this information:
4848

4949
| Setting | Value |
5050
|--------------------|----------------------------|
51-
| IPv4 address space | Enter **10.1.0.0/16** |
51+
| Azure Bastion name | Enter **myBastionHost** |
52+
5253

53-
6. Under **Subnet name**, select the word **default**. If a subnet isn't present, select **+ Add subnet**.
54+
1. Select the **IP addresses** tab or select the **Next: IP addresses** button at the bottom of the page.
5455

55-
7. In **Edit subnet**, enter this information:
56+
1. In the **IP addresses** tab, select **Add an IP address space**, and enter this information:
5657

5758
| Setting | Value |
5859
|--------------------|----------------------------|
59-
| Subnet name | Enter **myBackendSubnet** |
60-
| Subnet address range | Enter **10.1.0.0/24** |
60+
| Starting Address | Enter **10.1.0.0** |
61+
| Address space size | Select **/16** |
6162

62-
8. Select **Save** or **Add**.
63+
1. Select **Add**.
64+
65+
1. Select **Add a subnet**, enter this information:
66+
67+
| Setting | Value |
68+
|--------------------|----------------------------|
69+
| Subnet name | Enter **myBackendSubnet** |
70+
| Starting address | Enter **10.1.0.0** |
71+
| Subnet size | Select **/24** |
6372

64-
9. Select the **Security** tab.
73+
1. Select **Add**.
6574

66-
10. Under **BastionHost**, select **Enable**. Enter this information:
75+
1. Select **Add a subnet**, enter this information:
6776

6877
| Setting | Value |
6978
|--------------------|----------------------------|
70-
| Bastion name | Enter **myBastionHost** |
71-
| AzureBastionSubnet address space | Enter **10.1.1.0/26** |
72-
| Public IP Address | Select **Create new**. </br> For **Name**, enter **myBastionIP**. </br> Select **OK**. |
73-
74-
11. Select the **Review + create** tab or select the **Review + create** button.
79+
| Subnet template | Azure Bastion |
80+
| Starting address | Enter **10.1.1.0** |
81+
| Subnet size | Select **/26** |
82+
83+
1. Select **Add**.
84+
85+
1. Select the **Review + create** tab or select the **Review + create** button.
7586

76-
12. Select **Create**.
87+
1. Select **Create**.
7788

7889
> [!NOTE]
7990
> The virtual network and subnet are created immediately. The Bastion host creation is submitted as a job and will complete within 10 minutes. You can proceed to the next steps while the Bastion host is created.
@@ -91,9 +102,9 @@ During the creation of the load balancer, you'll configure:
91102

92103
1. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results.
93104

94-
2. In the **Load balancer** page, select **+ Create**.
105+
1. In the **Load balancer** page, select **+ Create**.
95106

96-
3. In the **Basics** tab of the **Create load balancer** page, enter or select the following information:
107+
1. In the **Basics** tab of the **Create load balancer** page, enter or select the following information:
97108

98109
| Setting | Value |
99110
| --- | --- |
@@ -109,51 +120,51 @@ During the creation of the load balancer, you'll configure:
109120

110121
:::image type="content" source="./media/quickstart-load-balancer-standard-public-portal/create-standard-load-balancer.png" alt-text="Screenshot of create standard load balancer basics tab." border="true":::
111122

112-
4. Select **Next: Frontend IP configuration** at the bottom of the page.
123+
1. Select **Next: Frontend IP configuration** at the bottom of the page.
113124

114-
5. In **Frontend IP configuration**, select **+ Add a frontend IP configuration**.
125+
1. In **Frontend IP configuration**, select **+ Add a frontend IP configuration**.
115126

116-
6. Enter **myFrontend** in **Name**.
127+
1. Enter **myFrontend** in **Name**.
117128

118-
7. Select **IPv4** for the **IP version**.
129+
1. Select **IPv4** for the **IP version**.
119130

120-
8. Select **IP address** for the **IP type**.
131+
1. Select **IP address** for the **IP type**.
121132

122133
> [!NOTE]
123134
> For more information on IP prefixes, see [Azure Public IP address prefix](../virtual-network/ip-services/public-ip-address-prefix.md).
124135
125-
9. Select **Create new** in **Public IP address**.
136+
1. Select **Create new** in **Public IP address**.
126137

127-
10. In **Add a public IP address**, enter **myPublicIP** for **Name**.
138+
1. In **Add a public IP address**, enter **myPublicIP** for **Name**.
128139

129-
11. Select **Zone-redundant** in **Availability zone**.
140+
1. Select **Zone-redundant** in **Availability zone**.
130141

131142
> [!NOTE]
132143
> In regions with [Availability Zones](../availability-zones/az-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json#availability-zones), you have the option to select no-zone (default option), a specific zone, or zone-redundant. The choice will depend on your specific domain failure requirements. In regions without Availability Zones, this field won't appear. </br> For more information on availability zones, see [Availability zones overview](../availability-zones/az-overview.md).
133144
134-
12. Leave the default of **Microsoft Network** for **Routing preference**.
145+
1. Leave the default of **Microsoft Network** for **Routing preference**.
135146

136-
13. Select **OK**.
147+
1. Select **OK**.
137148

138-
14. Select **Add**.
149+
1. Select **Add**.
139150

140-
15. Select **Next: Backend pools** at the bottom of the page.
151+
1. Select **Next: Backend pools** at the bottom of the page.
141152

142-
16. In the **Backend pools** tab, select **+ Add a backend pool**.
153+
1. In the **Backend pools** tab, select **+ Add a backend pool**.
143154

144-
17. Enter **myBackendPool** for **Name** in **Add backend pool**.
155+
1. Enter **myBackendPool** for **Name** in **Add backend pool**.
145156

146-
18. Select **myVNet** in **Virtual network**.
157+
1. Select **myVNet** in **Virtual network**.
147158

148-
19. Select **IP Address** for **Backend Pool Configuration**.
159+
1. Select **IP Address** for **Backend Pool Configuration**.
149160

150-
21. Select **Save**.
161+
1. Select **Save**.
151162

152-
22. Select **Next: Inbound rules** at the bottom of the page.
163+
1. Select **Next: Inbound rules** at the bottom of the page.
153164

154-
23. Under **Load balancing rule** in the **Inbound rules** tab, select **+ Add a load balancing rule**.
165+
1. Under **Load balancing rule** in the **Inbound rules** tab, select **+ Add a load balancing rule**.
155166

156-
24. In **Add load balancing rule**, enter or select the following information:
167+
1. In **Add load balancing rule**, enter or select the following information:
157168

158169
| Setting | Value |
159170
| ------- | ----- |
@@ -171,11 +182,11 @@ During the creation of the load balancer, you'll configure:
171182
| Floating IP | Select **Disabled**. |
172183
| Outbound source network address translation (SNAT) | Leave the default of **(Recommended) Use outbound rules to provide backend pool members access to the internet.** |
173184

174-
25. Select **Add**.
185+
1. Select **Add**.
175186

176-
26. Select the blue **Review + create** button at the bottom of the page.
187+
1. Select the blue **Review + create** button at the bottom of the page.
177188

178-
27. Select **Create**.
189+
1. Select **Create**.
179190

180191
> [!NOTE]
181192
> In this example we'll create a NAT gateway to provide outbound Internet access. The outbound rules tab in the configuration is bypassed as it's optional and isn't needed with the NAT gateway. For more information on Azure NAT gateway, see [What is Azure Virtual Network NAT?](../virtual-network/nat-gateway/nat-overview.md)
@@ -187,9 +198,9 @@ In this section, you'll create a NAT gateway for outbound internet access for re
187198

188199
1. In the search box at the top of the portal, enter **NAT gateway**. Select **NAT gateways** in the search results.
189200

190-
2. In **NAT gateways**, select **+ Create**.
201+
1. In **NAT gateways**, select **+ Create**.
191202

192-
3. In **Create network address translation (NAT) gateway**, enter or select the following information:
203+
1. In **Create network address translation (NAT) gateway**, enter or select the following information:
193204

194205
| Setting | Value |
195206
| ------- | ----- |
@@ -202,23 +213,23 @@ In this section, you'll create a NAT gateway for outbound internet access for re
202213
| Availability zone | Select **None**. |
203214
| Idle timeout (minutes) | Enter **15**. |
204215

205-
4. Select the **Outbound IP** tab or select **Next: Outbound IP** at the bottom of the page.
216+
1. Select the **Outbound IP** tab or select **Next: Outbound IP** at the bottom of the page.
206217

207-
5. In **Outbound IP**, select **Create a new public IP address** next to **Public IP addresses**.
218+
1. In **Outbound IP**, select **Create a new public IP address** next to **Public IP addresses**.
208219

209-
6. Enter **myNATgatewayIP** in **Name**.
220+
1. Enter **myNATgatewayIP** in **Name**.
210221

211-
7. Select **OK**.
222+
1. Select **OK**.
212223

213-
8. Select the **Subnet** tab or select the **Next: Subnet** button at the bottom of the page.
224+
1. Select the **Subnet** tab or select the **Next: Subnet** button at the bottom of the page.
214225

215-
9. In **Virtual network** in the **Subnet** tab, select **myVNet**.
226+
1. In **Virtual network** in the **Subnet** tab, select **myVNet**.
216227

217-
10. Select **myBackendSubnet** under **Subnet name**.
228+
1. Select **myBackendSubnet** under **Subnet name**.
218229

219-
11. Select the blue **Review + create** button at the bottom of the page, or select the **Review + create** tab.
230+
1. Select the blue **Review + create** button at the bottom of the page, or select the **Review + create** tab.
220231

221-
12. Select **Create**.
232+
1. Select **Create**.
222233

223234
## Create virtual machines
224235

@@ -228,9 +239,9 @@ These VMs are added to the backend pool of the load balancer that was created ea
228239

229240
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
230241

231-
2. In **Virtual machines**, select **+ Create** > **Azure virtual machine**.
242+
1. In **Virtual machines**, select **+ Create** > **Azure virtual machine**.
232243

233-
3. In **Create a virtual machine**, enter or select the following values in the **Basics** tab:
244+
1. In **Create a virtual machine**, enter or select the following values in the **Basics** tab:
234245

235246
| Setting | Value |
236247
|-----------------------|----------------------------------|
@@ -253,9 +264,9 @@ These VMs are added to the backend pool of the load balancer that was created ea
253264
| **Inbound port rules** | |
254265
| Public inbound ports | Select **None** |
255266

256-
4. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
267+
1. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
257268

258-
5. In the Networking tab, select or enter the following information:
269+
1. In the Networking tab, select or enter the following information:
259270

260271
| Setting | Value |
261272
| ------- | ----- |
@@ -274,11 +285,11 @@ These VMs are added to the backend pool of the load balancer that was created ea
274285
| Select a backend pool | Select **myBackendPool** |
275286
| Configure network security group | Select **Create new**. </br> In the **Create network security group**, enter **myNSG** in **Name**. </br> Under **Inbound rules**, select **+Add an inbound rule**. </br> Under **Service**, select **HTTP**. </br> Under **Priority**, enter **100**. </br> In **Name**, enter **myNSGRule** </br> Select **Add** </br> Select **OK** |
276287

277-
6. Select **Review + create**.
288+
1. Select **Review + create**.
278289

279-
7. Review the settings, and then select **Create**.
290+
1. Review the settings, and then select **Create**.
280291

281-
8. Follow the steps 1 through 7 to create another VM with the following values and all the other settings the same as **myVM1**:
292+
1. Follow the steps 1 through 7 to create another VM with the following values and all the other settings the same as **myVM1**:
282293

283294
| Setting | VM 2
284295
| ------- | ----- |
@@ -292,17 +303,17 @@ These VMs are added to the backend pool of the load balancer that was created ea
292303

293304
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
294305

295-
2. Select **myVM1**.
306+
1. Select **myVM1**.
296307

297-
3. On the **Overview** page, select **Connect**, then **Bastion**.
308+
1. On the **Overview** page, select **Connect**, then **Bastion**.
298309

299-
4. Enter the username and password entered during VM creation.
310+
1. Enter the username and password entered during VM creation.
300311

301-
5. Select **Connect**.
312+
1. Select **Connect**.
302313

303-
6. On the server desktop, navigate to **Start** > **Windows PowerShell** > **Windows PowerShell**.
314+
1. On the server desktop, navigate to **Start** > **Windows PowerShell** > **Windows PowerShell**.
304315

305-
7. In the PowerShell Window, run the following commands to:
316+
1. In the PowerShell Window, run the following commands to:
306317

307318
* Install the IIS server
308319
* Remove the default iisstart.htm file
@@ -320,17 +331,17 @@ These VMs are added to the backend pool of the load balancer that was created ea
320331
321332
```
322333
323-
8. Close the Bastion session with **myVM1**.
334+
1. Close the Bastion session with **myVM1**.
324335
325-
9. Repeat steps 1 to 8 to install IIS and the updated iisstart.htm file on **myVM2**.
336+
1. Repeat steps 1 to 8 to install IIS and the updated iisstart.htm file on **myVM2**.
326337
327338
## Test the load balancer
328339
329340
1. In the search box at the top of the page, enter **Public IP**. Select **Public IP addresses** in the search results.
330341
331-
2. In **Public IP addresses**, select **myPublicIP**.
342+
1. In **Public IP addresses**, select **myPublicIP**.
332343
333-
3. Copy the item in **IP address**. Paste the public IP into the address bar of your browser. The custom VM page of the IIS Web server is displayed in the browser.
344+
1. Copy the item in **IP address**. Paste the public IP into the address bar of your browser. The custom VM page of the IIS Web server is displayed in the browser.
334345
335346
:::image type="content" source="./media/quickstart-load-balancer-standard-public-portal/load-balancer-test.png" alt-text="Screenshot of load balancer test":::
336347

0 commit comments

Comments
 (0)