Skip to content

Commit 41d2e19

Browse files
Merge pull request #312366 from mbender-ms/load-balancer-freshness-review-554195
Load Balancer | Maintenance | Freshness review of egress-only load balancer article for NAT GW v2
2 parents 8804f1e + 00ba42a commit 41d2e19

2 files changed

Lines changed: 45 additions & 42 deletions

File tree

articles/load-balancer/egress-only.md

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: This article provides a step-by-step guide on how to configure an "
55
author: mbender-ms
66
ms.service: azure-load-balancer
77
ms.topic: how-to
8-
ms.date: 09/06/2024
8+
ms.date: 02/26/2026
99
ms.author: mbender
1010
ms.custom: template-how-to
1111
# Customer intent: As an IT administrator, I want to configure an outbound-only load balancer using internal and public load balancers, so that I can enable secure outbound connectivity for virtual machines without allowing inbound public access.
@@ -18,16 +18,19 @@ Use a combination of internal and external standard load balancers to create out
1818
This configuration provides outbound NAT for an internal load balancer scenario, producing an "egress only" setup for your backend pool.
1919

2020
> [!NOTE]
21-
> **Azure NAT Gateway** is the recommended configuration for outbound connectivity in production deployments. For more information about **NAT Gateway**, see **[What is Azure NAT Gateway?](../virtual-network/nat-gateway/nat-overview.md)**.
21+
> **Azure NAT Gateway** is the recommended configuration for outbound connectivity in production deployments. NAT Gateway is available in two SKUs: **Standard** (zonal) and **StandardV2** (zone-redundant, with IPv6 support, 100 Gbps throughput, and flow logs). For more information about **NAT Gateway**, see **[What is Azure NAT Gateway?](../nat-gateway/nat-overview.md)**
2222
>
23-
> To deploy an outbound only load balancer configuration with Azure NAT Gateway, see [Tutorial: Integrate NAT gateway with an internal load balancer - Azure portal](../virtual-network/nat-gateway/tutorial-nat-gateway-load-balancer-internal-portal.md).
23+
> To deploy an outbound only load balancer configuration with Azure NAT Gateway, see [Tutorial: Integrate NAT gateway with an internal load balancer - Azure portal](../nat-gateway/tutorial-nat-gateway-load-balancer-internal-portal.md).
2424
>
2525
> For more information about outbound connections in Azure and default outbound access, see [Source Network Address Translation (SNAT) for outbound connections](load-balancer-outbound-connections.md) and [Default outbound access](../virtual-network/ip-services/default-outbound-access.md).
2626
27-
:::image type="content" source="./media/egress-only/load-balancer-egress-only.png" alt-text="Figure depicts a egress only load balancer configuration" border="true":::
27+
:::image type="content" source="./media/egress-only/load-balancer-egress-only.png" alt-text="Screenshot of an egress only load balancer configuration." border="true":::
2828

2929
*Figure: Egress only load balancer configuration*
3030

31+
> [!IMPORTANT]
32+
> On March 31, 2026, new virtual networks default to using private subnets, and [default outbound access](../virtual-network/ip-services/default-outbound-access.md) is no longer provided. Use an explicit form of outbound connectivity, such as NAT Gateway. For more information, see the [official announcement](https://azure.microsoft.com/updates?id=default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access).
33+
3134
## Prerequisites
3235

3336
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
@@ -38,7 +41,7 @@ This configuration provides outbound NAT for an internal load balancer scenario,
3841

3942
## Create internal load balancer
4043

41-
In this section, you'll create the internal load balancer.
44+
In this section, you create the internal load balancer.
4245

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

@@ -50,7 +53,7 @@ In this section, you'll create the internal load balancer.
5053
| --- | --- |
5154
| **Project details** | |
5255
| Subscription | Select your subscription. |
53-
| Resource group | Select **lb-resource-group**. |
56+
| Resource group | Select **load-balancer-rg**. |
5457
| **Instance details** | |
5558
| Name | Enter **lb-internal** |
5659
| Region | Select **(US) East US**. |
@@ -73,7 +76,7 @@ In this section, you'll create the internal load balancer.
7376
1. Select **Zone-redundant** in **Availability zone**.
7477

7578
> [!NOTE]
76-
> In regions with [Availability Zones](/azure/reliability/availability-zones-overview?toc=%2fazure%2fvirtual-network%2ftoc.json), 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](/azure/reliability/availability-zones-overview).
79+
> In regions with [Availability Zones](/azure/reliability/availability-zones-overview?toc=%2fazure%2fvirtual-network%2ftoc.json), you can select no-zone (default option), a specific zone, or zone-redundant. The choice depends on your specific domain failure requirements. In regions without Availability Zones, this field doesn't appear. For more information on availability zones, see [Availability zones overview](/azure/reliability/availability-zones-overview).
7780
7881
1. Select **Add**.
7982

@@ -93,7 +96,7 @@ In this section, you'll create the internal load balancer.
9396

9497
## Create public load balancer
9598

96-
In this section, you'll create the public load balancer.
99+
In this section, you create the public load balancer.
97100

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

@@ -105,7 +108,7 @@ In this section, you'll create the public load balancer.
105108
| --- | --- |
106109
| **Project details** | |
107110
| Subscription | Select your subscription. |
108-
| Resource group | Select **lb-resource-group**. |
111+
| Resource group | Select **load-balancer-rg**. |
109112
| **Instance details** | |
110113
| Name | Enter **lb-public** |
111114
| Region | Select **(US) East US**. |
@@ -136,7 +139,7 @@ In this section, you'll create the public load balancer.
136139
1. Select **Zone-redundant** in **Availability zone**.
137140

138141
> [!NOTE]
139-
> In regions with [Availability Zones](/azure/reliability/availability-zones-overview?toc=%2fazure%2fvirtual-network%2ftoc.json), 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](/azure/reliability/availability-zones-overview).
142+
> In regions with [Availability Zones](/azure/reliability/availability-zones-overview?toc=%2fazure%2fvirtual-network%2ftoc.json), you can select no-zone (default option), a specific zone, or zone-redundant. The choice depends on your specific domain failure requirements. In regions without Availability Zones, this field doesn't appear. For more information on availability zones, see [Availability zones overview](/azure/reliability/availability-zones-overview).
140143
141144
1. Leave the default of **Microsoft Network** for **Routing preference**.
142145

@@ -150,7 +153,7 @@ In this section, you'll create the public load balancer.
150153

151154
1. Enter **lb-pub-backend-pool** for **Name** in **Add backend pool**.
152155

153-
1. Select **lb-VNet** in **Virtual network**.
156+
1. Select **lb-vnet** in **Virtual network**.
154157

155158
1. Select **NIC** or **IP Address** for **Backend Pool Configuration**.
156159

@@ -162,7 +165,7 @@ In this section, you'll create the public load balancer.
162165

163166
## Create virtual machine
164167

165-
You'll create a virtual machine in this section. During creation, you'll add it to the backend pool of the internal load balancer. After the virtual machine is created, you'll add the virtual machine to the backend pool of the public load balancer.
168+
Create a virtual machine in this section. During creation, add it to the backend pool of the internal load balancer. After the virtual machine is created, add the virtual machine to the backend pool of the public load balancer.
166169

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

@@ -174,7 +177,7 @@ You'll create a virtual machine in this section. During creation, you'll add it
174177
|-----------------------|----------------------------------|
175178
| **Project Details** | |
176179
| Subscription | Select your Azure subscription |
177-
| Resource Group | Select **lb-resource-group** |
180+
| Resource Group | Select **load-balancer-rg** |
178181
| **Instance details** | |
179182
| Virtual machine name | Enter **lb-VM** |
180183
| Region | Select **(US) East US** |
@@ -190,20 +193,20 @@ You'll create a virtual machine in this section. During creation, you'll add it
190193
| **Inbound port rules** | |
191194
| Public inbound ports | Select **None** |
192195

193-
1. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
196+
1. Select the **Networking** tab, or select **Next: Disks**, and then **Next: Networking**.
194197

195198
1. In the Networking tab, select or enter:
196199

197200
| Setting | Value |
198201
|-|-|
199202
| **Network interface** | |
200-
| Virtual network | **lb-VNet** |
203+
| Virtual network | **lb-vnet** |
201204
| Subnet | **backend-subnet** |
202205
| Public IP | Select **None**. |
203206
| NIC network security group | Select **Advanced**|
204-
| Configure network security group | Leave the default of **vm-NSG**. This might be different if you choose a different name for your VM. |
207+
| Configure network security group | Leave the default of **vm-NSG**. This value might be different if you choose a different name for your VM. |
205208

206-
1. Under **Load balancing**, select the following:
209+
1. Under **Load balancing**, select the following values:
207210

208211
| Setting | Value |
209212
|-|-|
@@ -217,7 +220,7 @@ You'll create a virtual machine in this section. During creation, you'll add it
217220

218221
## Add VM to backend pool of public load balancer
219222

220-
In this section, you'll add the virtual machine you created previously to the backend pool of the public load balancer.
223+
In this section, you add the virtual machine you created previously to the backend pool of the public load balancer.
221224

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

@@ -227,7 +230,7 @@ In this section, you'll add the virtual machine you created previously to the ba
227230

228231
1. Select **lb-pub-backend-pool** under **Backend pool** in the **Backend pools** page.
229232

230-
1. In **lb-pub-backend-pool**, select **lb-VNet** in **Virtual network**.
233+
1. In **lb-pub-backend-pool**, select **lb-vnet** in **Virtual network**.
231234

232235
1. In **Virtual machines**, select the blue **+ Add** button.
233236

@@ -243,17 +246,17 @@ In this section, you'll add the virtual machine you created previously to the ba
243246

244247
1. Select **lb-VM**.
245248

246-
1. In the **Overview** page, select **Connect**, then **Bastion**.
249+
1. In the **Overview** page, select **Connect**, and then select **Bastion**.
247250

248-
1. Enter the username and password entered during VM creation.
251+
1. Enter the username and password that you provided during VM creation.
249252

250253
1. Select **Connect**.
251254

252255
1. Open Microsoft Edge browser.
253256

254-
1. Enter **https://whatsmyip.org** in the address bar.
257+
1. Enter **https://ifconfig.me** in the address bar.
255258

256-
1. The connection should fail. By default, standard public load balancer [doesn't allow outbound traffic without a defined outbound rule](load-balancer-overview.md#securebydefault).
259+
1. The connection fails. By default, standard public load balancer [doesn't allow outbound traffic without a defined outbound rule](load-balancer-overview.md#securebydefault).
257260

258261
## Create a public load balancer outbound rule
259262

@@ -279,7 +282,7 @@ In this section, you'll add the virtual machine you created previously to the ba
279282
| Port allocation | Select **Manually choose number of outbound ports**. |
280283
| **Outbound ports** | |
281284
| Choose by | Select **Ports per instance**. |
282-
| Ports per instance | Enter **10000**
285+
| Ports per instance | Enter **10000**.
283286

284287
1. Select **Add**.
285288

@@ -289,30 +292,30 @@ In this section, you'll add the virtual machine you created previously to the ba
289292

290293
1. Select **lb-VM**.
291294

292-
1. On the **Overview** page, select **Connect**, then **Bastion**.
295+
1. On the **Overview** page, select **Connect**, and then select **Bastion**.
293296

294-
1. Enter the username and password entered during VM creation.
297+
1. Enter the username and password that you provided during VM creation.
295298

296299
1. Select **Connect**.
297300

298301
1. Open Microsoft Edge browser.
299302

300-
1. Enter **https://whatsmyip.org** in the address bar.
303+
1. Enter **https://ifconfig.me** in the address bar.
301304

302-
1. The connection should succeed.
305+
1. The connection succeeds.
303306

304-
1. The IP address displayed should be the frontend IP address of **lb-public**.
307+
1. The IP address displayed is the frontend IP address of **lb-public**.
305308

306309
## Clean up resources
307310

308-
When no longer needed, delete the resource group, load balancers, VM, and all related resources.
311+
When you no longer need the resources, delete the resource group, load balancers, VM, and all related resources.
309312

310-
To do so, select the resource group **lb-resource-group** and then select **Delete**.
313+
Select the resource group **load-balancer-rg** and then select **Delete**.
311314

312315
## Next steps
313316

314-
In this article, you created an "egress only" configuration with a combination of public and internal load balancers.
317+
In this article, you created an "egress only" configuration by using a combination of public and internal load balancers.
315318

316-
This configuration allows you to load balance incoming internal traffic to your backend pool while still preventing any public inbound connections.
319+
This configuration balances incoming internal traffic to your backend pool while preventing any public inbound connections.
317320

318321
For more information about Azure Load Balancer and Azure Bastion, see [What is Azure Load Balancer?](load-balancer-overview.md) and [What is Azure Bastion?](../bastion/bastion-overview.md)

includes/load-balancer-create-no-gateway.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
author: mbender-ms
66
ms.service: azure-load-balancer
77
ms.topic: include
8-
ms.date: 10/31/2023
8+
ms.date: 02/26/2026
99
ms.author: mbender
1010
ms.custom:
1111
- include file
@@ -21,23 +21,23 @@ The following procedure creates a virtual network with a resource subnet, an Azu
2121

2222
1. On the **Virtual networks** page, select **+ Create**.
2323

24-
1. On the **Basics** tab of **Create virtual network**, enter or select the following information:
24+
1. On the **Basics** tab of **Create virtual network**, enter, or select the following information:
2525

2626
| Setting | Value |
2727
|---|---|
28-
| **Project details** | |
28+
| **Project details** | |
2929
| Subscription | Select your subscription. |
3030
| Resource group | Select **Create new**. </br> Enter **load-balancer-rg** in Name. </br> Select **OK**. |
31-
| **Instance details** | |
31+
| **Instance details** | |
3232
| Name | Enter **lb-vnet**. |
3333
| Region | Select **East US**. |
3434

3535
1. Select the **Security** tab or **Next** button at the bottom of the page.
3636
1. Under **Azure Bastion**, enter or select the following information:
3737

3838
| Setting | Value |
39-
|---|---|
40-
| **Azure Bastion** | |
39+
| --- | --- |
40+
| **Azure Bastion** | |
4141
| Enable Azure Bastion | Select checkbox. |
4242
| Azure Bastion host name | Enter **lb-bastion**. |
4343
| Azure Bastion public IP address | Select **Create new**. </br> Enter **lb-bastion-ip** in Name. </br> Select **OK**. |
@@ -46,10 +46,10 @@ The following procedure creates a virtual network with a resource subnet, an Azu
4646
1. On **Create virtual network** page, enter or select the following information:
4747

4848
| Setting | Value |
49-
|---|---|
50-
| **Add IPv4 address space** | |
49+
| --- | --- |
50+
| **Add IPv4 address space** | |
5151
| IPv4 address space | Enter **10.0.0.0/16 (65,356 addresses)**. |
52-
| **Subnets** | Select the **default** subnet link to edit. |
52+
| **Subnets** | Select the **default** subnet link to edit. |
5353
| Subnet template | Leave the default **Default**. |
5454
| Name | Enter **backend-subnet**. |
5555
| Starting address | Enter **10.0.0.0**. |

0 commit comments

Comments
 (0)