[Yandex Cloud documentation](../../index.md) > [Yandex Serverless Containers](../index.md) > [Step-by-step guides](index.md) > Managing a container > Making a revision active

# Making a revision active

When invoking a container, its [active revision](../concepts/container.md#revision) is used.

{% list tabs group=instructions %}

- Management console {#console}
  
  1. In the [management console](https://console.yandex.cloud), select the folder with your container.
  1. Navigate to **Serverless Containers**.
  1. Select the container.
  1. In the revision row, click ![image](../../_assets/console-icons/ellipsis.svg) and select **Make active** from the drop-down list.
  1. In the window that opens, click **Confirm**. The revision status will change from `Obsolete` to `Active`.
  

- 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 find out the name or ID of a container revision, [get](revision-list.md) the list of container revisions in the folder.

  To make a container revision active, run this command:

  ```bash
  yc serverless containers rollback \
   --name <container_name> \
   --revision-id <revision_ID>
  ```

  Where:

  * `--name`: Name of the container whose active revision you want to update.
  * `--revision-id`: ID of the container revision you want to make active.

  Result:

  ```text
  id: bba610kqnj8b********
  folder_id: b1g3f9i71bpm********
  created_at: "2023-11-15T12:49:49.795Z"
  name: container
  url: https://bba610kqnj8b********.containers.yandexcloud.net/
  status: ACTIVE
  ```

- API {#api}

  To make a container revision active, use the [rollback](../containers/api-ref/Container/rollback.md) REST API method for the [Container](../containers/api-ref/Container/index.md) resource or the [ContainerService/Rollback](../containers/api-ref/grpc/Container/rollback.md) gRPC API call.

{% endlist %}