Skip to content

Latest commit

 

History

History
87 lines (62 loc) · 3.2 KB

File metadata and controls

87 lines (62 loc) · 3.2 KB
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

Create load balancer

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
  1. In the search box at the top of the portal, enter Load balancer. Select Load balancers in the search results.

  2. In the Load balancer page, select Create.

  3. 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.
  4. Select Next: Frontend IP configuration at the bottom of the page.

  5. In Frontend IP configuration, select + Add a frontend IP configuration.

  6. Enter frontend in Name.

  7. Select subnet-1 (10.0.0.0/24) in Subnet.

  8. Leave the rest of the options at the default values.

  9. Select Add.

  10. Select Next: Backend pools at the bottom of the page.

  11. In the Backend pools tab, select + Add a backend pool.

  12. Enter backend-pool for Name in Add backend pool.

  13. Select NIC or IP Address for Backend Pool Configuration.

  14. Select Save.

  15. Select the Next: Inbound rules button at the bottom of the page.

  16. In Load balancing rule in the Inbound rules tab, select + Add a load balancing rule.

  17. 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.
  18. Select Save.

  19. Select the blue Review + create button at the bottom of the page.

  20. Select Create.