Switch to another cloud

    1. In the management console, click image.
    2. Click on the name of the cloud you are currently using.
    3. Choose the cloud you want to switch to.

    Note

    If nothing happens when you click on the cloud name, you have access to one cloud only. To access the cloud you need, ask the owner of that cloud to add you to it.

    There are two ways to choose the cloud that is used in the CLI by default:

    • Select the cloud during your profile initialization.
    • Change the cloud-id parameter in the profile configuration.

    To change the cloud-id parameter for the current profile:

    1. See the description of the command to change configuration parameters:

      $ yc config set --help
      
    2. Find out the ID of the cloud you want to use. To do this, get a list of available clouds:

      $ yc resource-manager cloud list
      +----------------------+----------------------+-------------------------------+
      |          ID          |         NAME         |          DESCRIPTION          |
      +----------------------+----------------------+-------------------------------+
      | b1gg8sgd16g7qch5onqs | cloud-b1gg8sgd1g23qc | ...                           |
      | b1gjqgj3hhvjen5iqakp | cloud-b1gjqgj3hhvjen | ...                           |
      +----------------------+----------------------+-------------------------------+
      

      Note

      If the list contains only one cloud, it means you don't have access to any other clouds. To access the cloud you need, ask the owner of that cloud to add you to it.

    3. Specify the ID of the cloud to be used by default:

      $ yc config set cloud-id b1gjqgj3hhvjen5iqakp