leaseweb knowledge base logo - white color on the orange background

Managing target groups for Public Cloud

Managing target groups for Public Cloud

Target groups are assigned to listener rules belonging to a load balancer. A target group routes traffic to one or more targets in that group, on a specific port number and protocol. Each target group can be assigned to one or more listener rules of a load balancer. Check out the below instructions on how to create and manage target groups for your Public Cloud instance.

Creating a target group

To create a new target group, follow these steps:

  1. Go to the target groups create page
  2. Give the target group a Name
  3. Provide which port and protocol the targets in the group will receive traffic on
  4. In the Targets section you can select the instances that will be added as targets to this target group.

Only instances with private networking enabled are listed here, make sure to enable private networking on your instance first.

Health Check

Health checking allows you to verify the availability of each target. Health checks are performed periodically to determine if a target is online and available. Should a target stop responding to these requests, or the returning HTTP status code is not “200 OK”, it will not receive any requests.

  • Method: an HTTP method to use in the health check requests
  • URI: an arbitrary URI to use in the health check requests
  • Host: use the protocol HTTP/1.1 instead of the default HTTP/1.0 and include the Host: header in the health check requests