Stopping and starting a load balancer
You can stop and restart a network load balancer, if required.
Stop a network load balancer
- In the management console
, select the folder where you need to stop a load balancer. - In the list of services, select Network Load Balancer.
- In the line of the load balancer to stop, click
and select Stop. - In the window that opens, click Stop.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To stop a load balancer that is in the ACTIVE
status, run this command:
yc load-balancer network-load-balancer stop <load_balancer_name_or_ID>
You can get the load balancer ID and name with a list of network load balancers in the folder.
To stop a network load balancer, use the stop REST API method for the NetworkLoadBalancer resource or the NetworkLoadBalancerService/Stop gRPC API call.
You can get the load balancer ID with a list of network load balancers in the folder.
Start a network load balancer
You can restart network load balancers that have the Stopped
status.
- In the management console
, select the folder where you need to start a load balancer. - In the list of services, select Network Load Balancer.
- In the line of the load balancer to start, click
and select Start. - In the window that opens, click Start.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To start a load balancer that has the STOPPED
status, run this command:
yc load-balancer network-load-balancer start <load_balancer_name_or_ID>
You can get the load balancer ID and name with a list of network load balancers in the folder.
To start a network load balancer, use the start REST API method for the NetworkLoadBalancer resource or the NetworkLoadBalancerService/Start gRPC API call.
You can get the load balancer ID with a list of network load balancers in the folder.