| title | include file |
|---|---|
| description | include file |
| services | load-balancer |
| author | mbender-ms |
| ms.service | azure-load-balancer |
| ms.topic | include |
| ms.date | 12/04/2023 |
| ms.author | mbender |
| ms.custom | include file |
In this section, you'll create a NAT gateway for outbound internet access for resources in the virtual network. For other options for outbound rules, check out Network Address Translation (SNAT) for outbound connections
-
Sign in to the Azure portal.
-
In the search box at the top of the portal, enter NAT gateway. Select NAT gateways in the search results.
-
Select + Create.
-
In the Basics tab of Create network address translation (NAT) gateway enter or select the following information:
Setting Value Project details Subscription Select your subscription. Resource group Select Create new.
Enter load-balancer-rg in Name.
Select OK.Instance details NAT gateway name Enter lb-nat-gateway. Region Select East US. Availability zone Select None. Idle timeout (minutes) Enter 15. -
Select the Outbound IP tab or select the Next: Outbound IP button at the bottom of the page.
-
Select Create a new public IP address under Public IP addresses.
-
Enter nat-gw-public-ip in Name in Add a public IP address.
-
Select OK.
-
Select the Subnet tab or select the Next: Subnet button at the bottom of the page.
-
On the Subnet page, for Virtual network, select lb-vnet from the dropdown.
-
For Subnet name, select backend-subnet.
-
Select the blue Review + create button at the bottom of the page, or select the Review + create tab.
-
Select Create.