Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Network Load Balancer
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Network load balancers
      • Create a network 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
    • Network load balancer
    • Internal network 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. Network load balancer

Network load balancer

  • Network load balancer status

A network load balancer is used to evenly distribute the load across cloud resources. A load balancer is created in a folder and can serve resources from multiple availability zones. Only one target group can be attached to each load balancer. The health of resources in that group is monitored through a health check.

The Yandex.Cloud Network Load Balancer uses Layer 3 technologies of the OSI model.

Traffic is distributed using the 5-tuple affinity, using the source IP, source port, destination IP, and destination port of the recipient cloud resource, and the protocol type.

When creating a network load balancer, a pre-created target group is attached to it with cloud resources that incoming traffic will be distributed across. Each cloud resource in a target group is defined by a pair of internal IPv4 address and the subnet ID. Targets within one group must be located in the same cloud network. Targets within a single availability zone must be located in the same subnet.

By hosting resources in different availability zones, you ensure their fault tolerance: if all the resources within one zone fail, the load balancer will redirect incoming traffic to resources in other zones. For detailed recommendations on how to use a load balancer, see Best practices.

Network load balancer status

A created load balancer can have one of the following statuses:

  • CREATING: the load balancer is being created.
  • STARTING: the load balancer is being started.
  • ACTIVE: the load balancer is running, performing health checks, and routing traffic to the target group resources.
  • STOPPING: the load balancer is being stopped.
  • STOPPED: the load balancer is stopped and is not performing health checks or distributing traffic.
  • DELETING: the load balancer is being deleted.
  • INACTIVE: the load balancer has no listeners or the target groups attached to it contain no targets. The load balancer is not performing any checks or distributing any traffic.
Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC