| title | include file |
|---|---|
| description | include file |
| services | virtual-network |
| author | asudbring |
| ms.service | azure-virtual-network |
| ms.topic | include |
| ms.date | 07/17/2023 |
| ms.author | allensu |
| ms.custom | include file |
In this section, you create an internal load balancer that load balances virtual machines. An internal load balancer is used to load balance traffic inside a virtual network with a private IP address.
During the creation of the load balancer, you configure:
- Frontend IP address
- Backend pool
- Inbound load-balancing rules
-
In the search box at the top of the portal, enter Load balancer. Select Load balancers in the search results.
-
In the Load balancer page, select Create.
-
In the Basics tab of the Create load balancer page, enter, or select the following information:
Setting Value Project details Subscription Select your subscription. Resource group Select test-rg. Instance details Name Enter load-balancer Region Select (US) East US 2. SKU Leave the default Standard. Type Select Internal. Tier Leave the default Regional. -
Select Next: Frontend IP configuration at the bottom of the page.
-
In Frontend IP configuration, select + Add a frontend IP configuration.
-
Enter frontend in Name.
-
Select subnet-1 (10.0.0.0/24) in Subnet.
-
Leave the rest of the options at the default values.
-
Select Add.
-
Select Next: Backend pools at the bottom of the page.
-
In the Backend pools tab, select + Add a backend pool.
-
Enter backend-pool for Name in Add backend pool.
-
Select NIC or IP Address for Backend Pool Configuration.
-
Select Save.
-
Select the Next: Inbound rules button at the bottom of the page.
-
In Load balancing rule in the Inbound rules tab, select + Add a load balancing rule.
-
In Add load balancing rule, enter or select the following information:
Setting Value Name Enter http-rule IP Version Select IPv4. Frontend IP address Select front-end. Backend pool Select backend-pool. Protocol Select TCP. Port Enter 80. Backend port Enter 80. Health probe Select Create new.
In Name, enter health-probe.
Select TCP in Protocol.
Leave the rest of the defaults, and select OK.Session persistence Select None. Idle timeout (minutes) Enter or select 15. TCP reset Select Enabled. Floating IP Select Disabled. -
Select Save.
-
Select the blue Review + create button at the bottom of the page.
-
Select Create.