You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 11
Next »
Target groups provide a flexible way to manage load balancing nodes or targets.
Provider | Notes |
---|
AWS | An Application load balancer sends traffic to a target group by default. You can create multiple target groups for each load balancer. |
OCI | Each target group belongs exclusively to a single load balancer. You must create at least one target group per load balancer |
GCP | You can create multiple target groups that can belong to multiple load balancers |
Privilege: Manage load balancers, Assign load balancers
Before you begin:
- Create targets, which may include subnets and IP addresses, or VMs
To create an target group:
- Go to myCloud → Virtual datacenters → select a virtual datacenter in AWS → Network → Load balancing → Target groups
- Click the + add button
Enter the target group details and assign targets as described below
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) |
Port | Load balancers will use the Port to route traffic to the target group |
Protocol version | For 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.
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 network | The network that the VMs in the unmanaged instance group will use |
Subnet | A 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 zone | The availability zone to use in the global network |
GCE IP port target group example
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 |
GUI Create target group General info OCI
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
For more details see:
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
For more details see