Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Target groups provide a flexible way to manage load balancing nodes or targets.

ProviderNotes
AWSAn Application load balancer sends traffic to a target group by default. You can create multiple target groups for each load balancer.
OCIEach target group belongs exclusively to a single load balancer. You must create at least one target group per load balancer
GCPYou can create multiple target groups that can belong to multiple load balancers


Privilege: Manage load balancers, Assign load balancers

Before you begin:

  1. Create targets, which may include subnets and IP addresses, or VMs 

To create an target group:

  1. Go to myCloudVirtual datacenters → select a virtual datacenter in AWS → Network → Load balancing → Target groups
  2. Click the + add button
  3. Enter the target group details and assign targets as described below

  4. Click Save

Target group general info

 Click here to display details of create target group general info

Field

Value

Name

The name of the target group

  • Amazon will only accept the following characters: A-Z, a-z, 0-9 and "-", and you cannot modify the name

Type

Select the target type of Private IP for a subnet address, or Virtual machine

Protocol

Load balancers will use the Protocol to route traffic to the target group (See  https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-routing-configuration)

PortLoad balancers will use the Port to route traffic to the target group
Protocol versionFor HTTP and HTTPS protocols only, select a compatible version of the protocol

Algorithm

For HTTP and HTTPS protocols only, for example, round robin or least_outstanding_requests
 Click here to display details of create target group general info GCP

As there are many types of target groups in Google Cloud, this page provides examples of two examples of target group types: instance groups and network endpoint groups.

In the platform, you cannot create target groups of these types:

  • MANAGED_INSTANCE_GROUP
  • REGIONAL_MANAGED_INSTANCE_GROUP

But Abiquo onboards all target groups from GCP


Unmanaged instance group example

Field

Value

Name

The Name of the target group. Google Cloud Platform will only accept the following characters: a-z, 0-9 and "-", and you cannot modify the name

Type

For a typical load balancer with VMs attached, create an UNMANAGED_INSTANCE_GROUP.

  • The other fields in this table are for an UNMANAGED_INSTANCE_GROUP
Named ports

Enter a port Name to identify each Port in the target group. Keep the names to enter them in load balancers

Global networkThe network that the VMs in the unmanaged instance group will use
SubnetA subnet of the global network that the VMs in the unmanaged instance group will belong to

Location

The public cloud region that the VMs will belong to in the global network
Availability zoneThe availability zone to use in the global network


GCE IP port target group example

(warning) Abiquo recommends GCE_IP_PORT target groups. This screenshot shows an INTERNET_IP_PORT target group. The INTERNET_IP_PORT target group is only available with classic load balancers.

Field

Value

Name

The Name of the target group. GCP will only accept the following characters: a-z, 0-9 and "-", and you cannot modify the name

Type

GCE_IP_PORT represents a Network Endpoint Group in GCP. It will load balance GCE IP addresses at the given port

Port

The Port for communicating with the load balanced nodes

 Click here to display details of create target group general info OCI

In OCI, when you create a target group, it must belong to a load balancer. Each load balancer must have at least one target group.

Abiquo target groups are OCI backend sets. 


Name

The Name of the target group

Type

The DEFAULT type is for load balancers with nodes and the NETWORKING type is for network load balancers

Algorithm

Select the algorithm for traffic distribution. The default is ROUND_ROBIN

Target group health check

In AWS and OCI, you create a health check for each target group.
In GCP, you create a health check as part of the load balancer, and you can align it with the routing rules.

Screenshot: Create target group health check AWS

Screenshot: Create target group health check OCI. In OCI each target group must have its own health check.

 Click here to display details of create target group health check (for AWS and OCI)

Field

Value

Name

Name of the health check

Common protocols

Select one of the most common protocols to load presets

Protocol

The protocol with which the health check will be performed

Port

The port to which the health check will be performed

Path

The server path to check.

Status code
  • OCI only: a request to the path of a healthy node will return this status code
Response body
  • OCI only: Optional; a request to the path of a healthy node will return this response body
Interval (sec)The interval in seconds between health checks
Timeout (sec)The timeout in seconds after which an attempted health check will be considered unsuccessful
AttemptsThe number of attempts before the health check will be considered unsuccessful


Target group targets

In AWS, when you create the target group you can add targets.

In OCI and GCP, to add targets, edit the target group 

Enter an IP address and port, or select a VM, and click Add. When you have finished adding all of the targets, to create the target group, click Save.

For more details see


  • No labels