Information included in the article:
All about IDrive® Compute load balancer
Detach an instance from a load balancer
Edit the DNS Pointer Record (PTR) for a load balancer
Configure health check parameters for the instance where the load balancer is attached
All about IDrive® Compute load balancer
Load Balancer enables you to distribute the connection requests across multiple instances. A load balancer can be configured to route connection requests to the attached instances. Multiple load balancers can be created and attached with instances to balance the load of the connection requests initiated for them.
Create a load balancer
You can easily create a load balancer to distribute the connection requests across multiple instances.
To create a load balancer,
- Sign in to your IDrive Compute account.
- Go to the Load Balancers tab.
- Click Create Load Balancer.
- Select a Region from the drop-down list.
- Enter the load balancer name, select an algorithm, enable/disable the sticky session, and enter a cookie name.
- Select the required network port, protocol, and port range for load balancing.
- Add a Health Check route to the attached instances:
- Type - The type of http port and protocol for the load balancer.
- Interval (Sec) - The interval between two consecutive health checks.
- Timeout (Sec) - The period after which the health check will stop. It must be lower than the Interval.
- Max Retries - The number of allowed connection failures before designating the user as INACTIVE. Select a range between 1-10.
- Max Retries Down - The number of allowed connection failures before designating the user as ERROR. Select a range between 1-10.
- Select an instance to attach this load balancer.
- Click Create.
On successful creation of a load balancer, a message will be displayed and the new load balancer will be listed in the Load Balancers page.
Rename a load balancer
To rename a load balancer,
- Sign in to your IDrive Compute account.
- Click the Load Balancers tab.
- Hover on the required load balancer, click Actions, and select Rename.
- Click Save Changes in the popup.
Delete a load balancer
To delete a load balancer,
- Sign in to your IDrive Compute account.
- Click the Load Balancers tab.
- Hover on the required load balancer, click Actions, and select Delete.
- Click Delete in the popup.
Detach an instance from a load balancer
You can detach an instance only if it is attached to a load balancer.
To detach an instance from a load balancer,
- Sign in to your IDrive Compute account.
- Go to the Load Balancers tab.
- Hover on the load balancer that is attached to an instance, click Actions, and select Detach.
- Click Detach in the popup.
Edit the DNS Pointer Record (PTR) for a load balancer
To edit a DNS Pointer Record (PTR) for IPv4 address,
- Sign in to your IDrive Compute account.
- Go to the Load Balancers tab.
- Hover on the load balancer for which you want to edit the DNS Pointer Record (PTR), click Actions, and select Edit Reverse DNS.
- Enter the DNS pointer record (PTR) to perform Reverse DNS lookup.
- Click Request.
Once you enter the PTR, it will be stored under the load balancers for Reverse DNS lookups. You can view the Reverse DNSPTR records for the required load balancers.
Configure health check parameters for the instance where the load balancer is attached
While creating a load balancer, you can set various parameters for performing health checks on an attached instance. The load balancer will periodically check the status of the attached instances as per the predefined parameters and route connection requests only to the healthy instances.