How to create a load balancer using a server array as a target
Cloud load balancing is a type of load balancing that is performed in cloud computing. Cloud load balancing is the process of distributing workloads across multiple computing resources. Cloud load balancing reduces costs associated with document management systems and maximizes the availability of resources.
This how-to explains how to create a load balancer and use a server array as the target of your target group, to redirect traffic to this server array in case someone wants to access a specific route.
- Create a load balancer
- Create a target group
- Add server array as a target of a target group
- Additional Resources
Prerequisites
- Have a VPC created in the same region where the load balancer will be created. The steps to create are explained in How to create a VPC with default subnets.
- Have a server array created in the same VPC used for the load balancer. The steps to create are explained in How to create a server array.
Create a load balancer
- Go to Network -> Load balancers.
- Press the "Add load balancer" button.
- Provide all mandatory fields and press the "Add load balancer" button.
- Wait until the load balancer is in the "Applied" state.
Create a target group
- Click on the name of the load balancer to view its details.
- Go to the "Target groups" tab.
- Press the "Add target group" button.
- Provide all mandatory fields and press the "Add target group" button.
- Wait until the target group is in the "Applied" state.
Add server array as a target of a target group
- Click on the target group to view the details.
- Select the "Add server array" option in the "Add target" selectable.
- Select the server array to add and press the "Add server array" button.
- Wait until the target group is in the "Applied" state.
- The server array has been added as a target to the target group.