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
    • 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 Resource Manager
  • Getting started
    • All guides
    • Managing labels
      • Creating a cloud
      • Renaming a cloud
      • Deleting a cloud
      • Canceling cloud deletion
      • Setting up access rights
      • Getting a cloud ID
      • Switch clouds
      • Changing an organization for a cloud
      • Getting notifications from services in a cloud
    • Viewing service resource operations
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Cloud
  3. Renaming a cloud

Renaming a cloud

Written by
Yandex Cloud
Improved by
Danila N.
Updated at April 22, 2025

To rename a cloud, you must have the editor role or higher for that cloud. You cannot rename a suspended cloud. If you cannot perform this operation, contact the cloud administrator or owner.

Management console
CLI
Terraform
API
  1. In the management console, select the appropriate cloud from the list on the left.

  2. Click in the top-right corner and select Edit.

  3. In the window that opens, enter a new cloud name. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It may contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  4. Click Save.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

  1. View the description of the cloud update command:

    yc resource-manager cloud update --help
    
  2. Get a list of available clouds:

    yc resource-manager cloud list
    

    Result:

    +----------------------+------------------+----------------------+--------+
    |          ID          |       NAME       |   ORGANIZATION ID    | LABELS |
    +----------------------+------------------+----------------------+--------+
    | b1go33ek97iq******** | my-cloud         | bpf2c65rqcl8******** |        |
    | b1gbi30tq0m9******** | my-new-cloud     | bpfaidqca8vd******** |        |
    +----------------------+------------------+----------------------+--------+
    
  3. To rename a cloud, run this command:

    yc resource-manager cloud update \
      --name <current_cloud_name> \
      --new-name <new_cloud_name>
    

    Where:

    • --name: Current name of the cloud you want to change. Instead of the cloud name, you can provide its ID in the --id parameter.

    • --new-name: New cloud name.

      • It must be from 2 to 63 characters long.
      • It may contain lowercase Latin letters, numbers, and hyphens.
      • It must start with a letter and cannot end with a hyphen.

    Result:

    id: b1go33ek97iq********
    created_at: "2024-12-10T09:25:22Z"
    name: my-old-cloud
    organization_id: bpf2c65rqcl8********
    

If you do not have Terraform yet, install it and configure its Yandex Cloud provider.

To rename a cloud created using Terraform:

  1. Open the Terraform configuration file and edit the name parameter value in the cloud description fragment.

    Example cloud description in Terraform configuration
    ...
    resource "yandex_resourcemanager_cloud" "cloud1" {
      name            = "cloud-main"
      organization_id = "bpf7nhb9hkph********"
    }
    ...
    

    For more information about the yandex_resourcemanager_cloud resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. Make sure the configuration file is correct using this command:

    terraform validate
    

    If the configuration is correct, you will get this message:

    Success! The configuration is valid.
    
  4. Run this command:

    terraform plan
    

    The terminal will display a list of resources with their parameters. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the configuration changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify the updated cloud name in the management console or the following CLI command:

    yc resource-manager cloud list
    

To rename a cloud, use the update REST API method for the Cloud resource or the CloudService/Update gRPC API call.

Was the article helpful?

Previous
Creating a cloud
Next
Deleting a cloud
© 2025 Direct Cursus Technology L.L.C.