Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Load Balancer
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Load balancers
      • Create a load balancer
      • Create an internal network load balancer
      • Start a load balancer
      • Stop a load balancer
      • Delete a load balancer
      • Check target health statuses
      • Add a listener
      • Delete a listener
    • Target groups
      • Create a target group
      • Attach a target group to a load balancer
      • Detach a target group from a load balancer
      • Delete a target group
  • Concepts
    • Load balancer
    • Internal load balancer
    • Listener
    • Targets and groups
    • Resource health checks
    • Quotas and limits
  • Best practices for using the service
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • NetworkLoadBalancerService
      • TargetGroupService
      • OperationService
    • REST
      • Overview
      • NetworkLoadBalancer
        • Overview
        • addListener
        • attachTargetGroup
        • create
        • delete
        • detachTargetGroup
        • get
        • getTargetStates
        • list
        • listOperations
        • removeListener
        • start
        • stop
        • update
      • TargetGroup
        • Overview
        • addTargets
        • create
        • delete
        • get
        • list
        • listOperations
        • removeTargets
        • update
      • Operation
        • Overview
        • get
  • Questions and answers
  1. Concepts
  2. Targets and groups

Targets and groups

  • Attached target group

A load balancer distributes the load across cloud resources that are combined into a target group.

A target is defined by two parameters: the subnet ID and the internal IP address of the resource. Targets within one group must be located in the same cloud network. All targets must be connected to the same subnet within a single availability zone. The maximum number of resources in a target group is 254.

The targets must receive traffic on the same port as the one specified in the listener configuration.

Attached target group

An attached target group is a group of targets that is attached to a load balancer. You can attach a target group to a few load balancers. Note that the target group cannot be connected to the ports with the same number on different load balancers. For example, if you have a target group that connected to a load balancer on port 8080, you must attach it to a second load balancer on a port 8081.

Once a target group is attached, the load balancer starts performing target health checks and can distribute the load across the resources in the group.

Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC