DewaVPS

Target Groups

Target Groups define the backend Instances that the Load Balancer routes traffic to. They appear on the right side of the Load Balancer Scheme diagram.

Understanding the Diagram

The Load Balancer Scheme has three columns:

  1. Load Balancer (left) β€” Shows the load balancer details
  2. Listener (middle) β€” Shows configured listeners
  3. Target Group (right) β€” Shows backend instances

Load Balancer Scheme

Adding Targets

After creating a Listener, click Add Target to add backend instances:

Add Target Dialog

Target Configuration

FieldDescription
InstanceSelect an instance from your private network
PortThe port the instance listens on (e.g., 80, 8080)
WeightLoad distribution weight (1-100, higher = more traffic)

Click Confirm to add the instance to your listener's target group.

Connecting Listeners to Target Groups

The visual diagram shows the routing flow:

  1. Click Add Target on the Listener node
  2. Select an instance from the dropdown
  3. Set the port and weight
  4. Click Confirm to add the target

Scheme with Targets

Repeat for each instance you want to add. Traffic will be distributed across all targets based on their weights.

Managing Target Groups

  • Add Instances: Click on a Target Group node to add more instances
  • Remove Instances: Select instances to remove from the group
  • Delete Group: Use the node's actions menu

Important Notes

  • All instances in a Target Group must be in the same private network as the Load Balancer
  • Instances must be running to receive traffic
  • Health checks determine which instances receive traffic

Note: If you don't see any instances available, make sure you have created instances in the same private network as your Load Balancer.

On this page