Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Containers
  • Comparison with other Yandex Cloud services
    • All guides
    • Getting an IAM token for a service account using a container
      • Making a revision active
      • Changing the container operation mode
      • Adding environment variables
      • Specifying a cloud network
      • Transferring Yandex Lockbox secrets
      • Viewing monitoring charts
      • Migration to the ru-central1-d availability zone
      • Deleting a container
    • Viewing operations with service resources
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Managing a container
  3. Making a revision active

Making a revision active

Written by
Yandex Cloud
Updated at May 5, 2025

Invoking a container triggers the active revision.

Management console
CLI
API
  1. In the management console, select the folder with your container.
  2. Select Serverless Containers.
  3. Select the container.
  4. In the row with the revision you need, click and select Make active from the drop-down list.
  5. In the window that opens, click Confirm. The revision status will change from Obsolete to Active.

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.

Was the article helpful?

Previous
Updating a description
Next
Changing the container operation mode
© 2025 Direct Cursus Technology L.L.C.