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

# Stopping and starting an L7 load balancer

## Stopping a load balancer {#stop}

The **Stop** command stops an [L7 load balancer](../concepts/application-load-balancer.md). Once stopped, the load balancer changes its status to `STOPPED`. As long as the load balancer is stopped, you are not charged for its use.

You can start the load balancer at any time to continue your work. All your data and changes will remain intact.

To stop an L7 load balancer:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder the load balancer is in.
  1. Navigate to **Application Load Balancer**.
  1. Click ![image](../../_assets/console-icons/ellipsis.svg) next to the load balancer and select **Stop**.
  
     To apply this action to multiple load balancers, select the appropriate load balancers in the list, click **Stop** at the bottom of the screen, and then click **Stop** in the window that opens.

- 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.

  1. See the description of the CLI load balancer stop command:

     ```bash
     yc application-load-balancer load-balancer stop --help
     ```

  1. Get a list of all load balancers in the default folder:

     ```bash
     yc application-load-balancer load-balancer list --format yaml
     ```

     Result:

     ```bash
     - id: ds79cfnvmti3********
       name: test-load-balancer
       folder_id: b1gv87ssvu49********
       status: ACTIVE
       network_id: enp45glgitd6********
       listeners:
       - name: test-listener
         endpoints:
         - addresses:
           - external_ipv4_address:
               address: 51.250.35.12
           ports:
           - "80"
         http:
           handler:
             http_router_id: ds7bharmjfs3********
       allocation_policy:
         locations:
         - zone_id: ru-central1-a
           subnet_id: e9bn57jvjnbu********
       log_group_id: ckgph76s449v********
       created_at: "2022-02-11T09:00:31.911019416Z"
     - id: ds7o71924t0h********
       name: balancer2
       folder_id: b1gv87ssvu49********
       status: ACTIVE
       network_id: enp45glgitd********
       allocation_policy:
         locations:
         - zone_id: ru-central1-a
           subnet_id: e9bn57jvjnbu********
       log_group_id: ckgjhe81a23v********
       created_at: "2022-02-11T09:01:46.724279145Z"
     ```

  1. To stop the load balancer, run the following command with its ID or name specified:

     ```bash
     yc application-load-balancer load-balancer stop <load_balancer_name>
     ```

     For more information about the `application-load-balancer load-balancer stop` command, see the [CLI reference](../../cli/cli-ref/application-load-balancer/cli-ref/load-balancer/stop.md).

- API {#api}

  Use the [stop](../api-ref/LoadBalancer/stop.md) REST API method for the [LoadBalancer](../api-ref/LoadBalancer/index.md) resource or the [LoadBalancerService/Stop](../api-ref/grpc/LoadBalancer/stop.md) gRPC API call.

{% endlist %}

## Start a load balancer {#start}

The **Start** command starts an L7 load balancer. Once started, the load balancer changes its status to `ACTIVE`. From this point on, you start paying for using the load balancer.

To start a load balancer:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder the load balancer is in.
  1. Navigate to **Application Load Balancer**.
  1. Click ![image](../../_assets/console-icons/ellipsis.svg) next to the load balancer and select **Start**.

     To apply this action to multiple load balancers, select the appropriate load balancers in the list, click **Start** at the bottom of the screen, and then click **Start** in the window that opens.

- 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.

  1. See the description of the CLI load balancer start command:

     ```bash
     yc application-load-balancer load-balancer start --help
     ```

  1. Get a list of all load balancers in the default folder:

     ```bash
     yc application-load-balancer load-balancer list --format yaml
     ```

     Result:

     ```bash
     - id: ds79cfnvmti3********
       name: test-load-balancer
       folder_id: b1gv87ssvu49********
       status: ACTIVE
       network_id: enp45glgitd6********
       listeners:
       - name: test-listener
         endpoints:
         - addresses:
           - external_ipv4_address:
               address: 51.250.35.12
           ports:
           - "80"
         http:
           handler:
             http_router_id: ds7bharmjfs3********
       allocation_policy:
         locations:
         - zone_id: ru-central1-a
           subnet_id: e9bn57jvjnbu********
       log_group_id: ckgph76s449v********
       created_at: "2022-02-11T09:00:31.911019416Z"
     - id: ds7o71924t0h********
       name: balancer2
       folder_id: b1gv87ssvu49********
       status: STOPPED
       network_id: enp45glgitd********
       allocation_policy:
         locations:
         - zone_id: ru-central1-a
           subnet_id: e9bn57jvjnbu********
       log_group_id: ckgjhe81a23v********
       created_at: "2022-02-11T09:01:46.724279145Z"
     ```

  1. To start a load balancer, run the following command with its ID or name specified:

     ```bash
     yc application-load-balancer load-balancer start <load_balancer_name>
     ```

     For more information about the `application-load-balancer load-balancer start` command, see the [CLI reference](../../cli/cli-ref/application-load-balancer/cli-ref/load-balancer/start.md).

- API {#api}

  Use the [start](../api-ref/LoadBalancer/start.md) REST API method for the [LoadBalancer](../api-ref/LoadBalancer/index.md) resource or the [LoadBalancerService/Start](../api-ref/grpc/LoadBalancer/start.md) gRPC API call.

{% endlist %}