Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Network Load Balancer
  • Getting started
    • All guides
      • Information about existing network load balancers
      • Creating a load balancer
      • Creating an internal load balancer
      • Stopping and starting a load balancer
      • Changing load balancer settings
      • Moving a VM to a target group in a new availability zone
      • Deleting a load balancer
      • Checking target health statuses
      • Adding a listener
      • Deleting a listener
    • Viewing operations with resources
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Network load balancers
  3. Checking target health statuses

Checking target health statuses

Written by
Yandex Cloud
Updated at May 13, 2025
Management console
CLI
API
  1. In the management console, navigate to the folder dashboard and select Network Load Balancer.
  2. Click the name of the load balancer in question.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

Request a health check for targets in the target group:

yc load-balancer network-load-balancer target-states <load_balancer_name_or_ID> \
  --target-group-id=<target_group_ID>

You can get the load balancer ID and name, as well as the IDs of the attached target groups with the list of network load balancers in the folder.

Use the getTargetStates API method, providing the following in your request:

  • Load balancer ID in the networkLoadBalancerId parameter.
  • Target group ID in the targetGroupId parameter.

You can get the IDs of the load balancer and attached target groups with the list of network load balancers in the folder.

Was the article helpful?

Previous
Deleting a load balancer
Next
Adding a listener
© 2025 Direct Cursus Technology L.L.C.