Load Balancer

2 min read

Load Balancer #

1. Load Balancer Overview #

Overview

A load balancer in a Local Data Center (LDC) is a device or software application that distributes incoming network or application traffic across multiple servers within the local data center. This ensures no single server bears too much demand, enhancing reliability, performance, and scalability.

In BuildPiper, for a monolithic application, we use a list of VMs that already have load balancer configurations in place. Currently, we support only two load balancer configurations:

  1. 1

    Nginx

  2. 2

    HAProxy

2. Open Load Balancers #

  1. 1

    Click your profile and select Super Admin.

  2. 2

    Click Infra Inventory in the left navigation.

  3. 3

    Select Load Balancer.

Load Balancer: source figure 1

Figure 1: Infra Inventory > Load Balancer

The Load Balancers Overview page lists all the load balancers. Select the LDC LB tab to see the load balancers of the LDC. You can filter the list by name, and click Reset to clear the filter.

Swipe horizontally to view all columns →
Column Shows
Load Balancer The name of the load balancer.
Type The type of the load balancer, for example NGINX or HAPROXY.
VM Group The VM group the load balancer is linked to.
Port The port of the load balancer.

3. Add a Load Balancer #

  1. 1

    Click + LOAD BALANCER.

  2. 2

    In the Onboard Load Balancer window, under Select Infra type, select LDC.

Load Balancer: source figure 2

Figure 2: Onboard Load Balancer – Select Infra type

The Onboard Load Balancer form opens. Fill in the details and click SAVE.

Load Balancer: source figure 3

Figure 3: Onboard Load Balancer form (LDC)

Swipe horizontally to view all columns →
Field Mandatory Description
Load Balancer Name Yes The name you would like to assign to your load balancer.
Select Load Balancer Type Yes Select the type of load balancer: NGINX or HAProxy.
Select VM Group Yes Select the VM group on which the load balancer is set up.
Port Yes Default is 443 for security purposes. You can change it to a different port.

After you click SAVE, the new load balancer appears in the Load Balancers Overview list.

Load Balancer: source figure 4

Figure 4: New load balancer created