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:
- Go to the target groups create page
- Give the target group a Name
- Provide which port and protocol the targets in the group will receive traffic on
- In the Targets section you can select the instances that will be added as targets to this target group.
Information
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