tutorial-cloud/docs/CloudtopiaaInstances/Manage Load Balancers.md
2024-10-25 10:05:08 +05:30

4.0 KiB

sidebar_label sidebar_position
Manage Load Balancers 1

import CodeBlock from '@site/src/components/CodeBloack'; import bal01 from '@site/static/img/in15.png'; import bal02 from '@site/static/img/bal01.png'; import bal03 from '@site/static/img/bal02.png'; import bal04 from '@site/static/img/bal03.png'; import bal05 from '@site/static/img/bal04.png'; import bal06 from '@site/static/img/bal05.png';

Manage Load Balancers

Create Load Balancer
  1. Log in to the dashboard.
  2. Select the appropriate project from the drop down menu at the top left

Load Balancer

3. Navigate to Project > Network > Load Balancers

Load Balancer

4. Click on Create Load Balancer add following details in Load Balancer Details tab, and click Next.

Name Load Balancer Name
Subnet Select exiting private subnet

Load Balancer

5. Add following details in Listener Details tab and click Next.

Name Listener name
Protocol Listener protocol
Port If custom port is specified in Protocol field then we need to specify the listening port

Load Balancer

6. Add following details in Pool Details tab and click Next.

Name Pool name
Algorithm Load balancing algorithm. Available algorithms are ROUND_ROBIN, LEAST_CONNECTIONS and SOURCE_IP.

Load Balancer

7. Select servers from the list below and add in the pool. Mention port for each member in Pool Members tab and click Next.

Load Balancer

8. Add following details in Monitor Details tab and click Create Load Balancer

Name Listener name
Type Monitor type

9. Load Balancer wil take couple of minutes to provision and transition from Pending Create to Active state.
10. If load balancer needs to be accessed over internet, then we need assign floating ip. Open the dropdown of the loadbalancer and click on Associate Floating IP.
11. Select the floating IP already reserved to the project. If none are available select public IP subnet, it will automatically allocate a floating IP
12. Click on the dropdown beside load balancer name to view the details. We can find the Public IP assigned to the load balancer in the details.
13.Following is a script to check if LB is functioning properly