Making a revision active
Written by
Updated at May 5, 2025
Invoking a container triggers the active revision.
Management console
CLI
API
- In the management console
, select the folder with your container. - Select Serverless Containers.
- Select the container.
- In the row with the revision you need, click
and select Make active from the drop-down list. - In the window that opens, click Confirm. The revision status will change from
Obsolete
toActive
.
If you do not have the Yandex Cloud CLI 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.
To find out the name or unique ID of a container revision, get a list of container revisions in the folder.
To make a container revision active, run this command:
yc serverless containers rollback \
--name <container_name> \
--revision-id <revision_ID>
Where:
--name
: Name of the container whose active revision you want to change.--revision-id
: ID of the container revision you want to make active.
Result:
id: bba610kqnj8b********
folder_id: b1g3f9i71bpm********
created_at: "2023-11-15T12:49:49.795Z"
name: container
url: https://bba610kqnj8b********.containers.yandexcloud.net/
status: ACTIVE
To make a container revision active, use either the rollback REST API method for the Container resource or the ContainerService/Rollback gRPC API call.