--- title: Load Balancer in Private Cluster --- # Load Balancer in Private Cluster A **Load Balancer** in a Private Cluster helps distribute incoming traffic across multiple backend nodes to ensure: - **High Availability** - **Scalability** - **Fault Tolerance** E2E Cloud offers two types of load balancers in Private Clusters: - [Application Load Balancer (ALB)](#application-load-balancer-alb) - [Network Load Balancer (NLB)](#network-load-balancer-nlb) --- ## Application Load Balancer (ALB) ### Steps to Create an ALB in a Private Cluster #### 1. Select Plan - Navigate to the **Load Balancers** section and click **Create**. ![Create Load Balancer](images/create_private_cluster.png) #### 2. Choose Load Balancer Configuration - Select **Private Cluster** as the plan. - Choose the desired **CPU**, **RAM**, and **Storage**. ![Load Balancer Configuration](images/private_cluster1st.png) #### 3. Choose Load Balancer Type - Select **Application Load Balancer (ALB)**. ![Choose ALB](images/private_cluster2nd.png) #### 4. Configure Details - Provide a **Name**, select the **Scheme** (internal or external), and choose the **Mode**. - Click **Next**. ![Configure Details](images/private_cluster3rd.png) #### 5. Choose Backend Type - Select **Node** or **AutoScale** as the backend type. ![Choose Backend Type](images/private_cluster4th.png) #### 6. Target Mapping & Backend Configuration - Click **Add Server**. - In the pop-up: - Enter the **Server Name** - Enter the **Server IP** from within your Private Cluster. - Click **Submit** to add the backend. - Repeat the process to add multiple servers. ![Add Backend Server](images/private_cluster5th.png) #### 7. Peak Performance Features - Select **VPC**, **IPv4**, **IPv6**, and **BitNinja**. - Set the **Connection Timeout**, **Client Timeout**, **Server Timeout**, and **HTTP Keep-Alive Timeout**. :::info Note **The VPC field is a required parameter when creating a Load Balancer within a Private Cluster.** ::: ![Performance Features](images/private_cluster6th.png) #### 8. Review and Launch - Review all configuration details. - Click **Launch Load Balancer** to deploy your ALB. ![Launch ALB](images/alb.png) --- ### Managing ALB After successful deployment: - Go to the **Load Balancers** section. - Click on the ALB name to view its details. ![ALB Management](images/private_cluster7th.png) --- ## Network Load Balancer (NLB) --- ### Steps to Create an NLB in a Private Cluster #### 1. Select Plan - Navigate to the **Load Balancers** section in the sidebar and click **Create**. ![Create Load Balancer](images/private_cluster1st.png) #### 2. Choose Load Balancer Configuration - Select **Private Cluster** as the deployment plan. - Choose the required **CPU** and **RAM** resources. ![Load Balancer Configuration](images/private_cluster8th.png) #### 3. Configure Details - Provide a **Name**, select the **Scheme** (internal or external). ![Configure Details](images/private_cluster9th.png) #### 4. Choose Backend Type - Select the **Backend Name**, **Routing Policy**, **Target Port**, and **Backend Server**. ![Choose Backend Type](images/private_cluster10.png) #### 5. Target Mapping & Backend Configuration - Click **Add Server**. - In the pop-up: - Enter the **Server Name** - Enter the **Server IP** from within your Private Cluster. - Click **Submit** to add the backend. ![Add Backend Server](images/private_cluster11.png) #### 6. Peak Performance Features - Select **VPC**, **IPv4**, **IPv6**, and **BitNinja**. - Set the **Connection Timeout**, **Client Timeout**, **Server Timeout**, and **HTTP Keep-Alive Timeout**. :::info Note **The VPC field is a required parameter when creating a Load Balancer within a Private Cluster.** ::: ![Performance Features](images/private_cluster6th.png) #### 7. Review and Launch - Review all configuration details: - Plan - Load Balancer Type - Backend Settings - Click **Launch Load Balancer** to finalize the deployment. ![Launch NLB](images/private_cluster12.png) --- ### Managing NLB After deployment: - Go to the **Load Balancers** section. - Click on the NLB name to view its status and configuration. ![Manage NLB](images/private_cluster13.png) --- ---