[Yandex Cloud documentation](../../index.md) > [Yandex Network Load Balancer](../index.md) > [Step-by-step guides](index.md) > Network load balancers > Stopping and starting a load balancer

# Stopping and starting a load balancer

You can stop and restart a network load balancer as needed.

## Stopping a network load balancer {#stop}

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder where you need to stop a load balancer.
  1. Navigate to **Network Load Balancer**.
  1. Next to the load balancer you need to stop, click ![image](../../_assets/console-icons/ellipsis.svg) and select **Stop**.
  1. In the window that opens, click **Stop**.

- CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

  The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  To stop a load balancer with the `ACTIVE` status, run this command:

  ```bash
  yc load-balancer network-load-balancer stop <load_balancer_name_or_ID>
  ```

  You can get the load balancer ID and name with the [list of network load balancers in the folder](load-balancer-list.md#list).

- API {#api}

  To stop a network load balancer, use the [stop](../api-ref/NetworkLoadBalancer/stop.md) REST API method for the [NetworkLoadBalancer](../api-ref/NetworkLoadBalancer/index.md) resource or the [NetworkLoadBalancerService/Stop](../api-ref/grpc/NetworkLoadBalancer/stop.md) gRPC API call.

  You can get the load balancer ID with the [list of network load balancers in the folder](load-balancer-list.md#list).

{% endlist %}

## Starting a network load balancer {#start}

You can restart a network load balancer with the `Stopped` status.

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder where you need to start a load balancer.
  1. Navigate to **Network Load Balancer**.
  1. Next to the load balancer you need to start, click ![image](../../_assets/console-icons/ellipsis.svg) and select **Start**.
  1. In the window that opens, click **Start**.

- CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

  The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  To start a load balancer with the `STOPPED` status, run this command:

  ```bash
  yc load-balancer network-load-balancer start <load_balancer_name_or_ID>
  ```

  You can get the load balancer ID and name with the [list of network load balancers in the folder](load-balancer-list.md#list).

- API {#api}

  To start a network load balancer, use the [start](../api-ref/NetworkLoadBalancer/start.md) REST API method for the [NetworkLoadBalancer](../api-ref/NetworkLoadBalancer/index.md) resource or the [NetworkLoadBalancerService/Start](../api-ref/grpc/NetworkLoadBalancer/start.md) gRPC API call.

  You can get the load balancer ID with the [list of network load balancers in the folder](load-balancer-list.md#list).

{% endlist %}