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 Compute Cloud
    • All guides
      • Getting a list of images
      • Getting information about an image
      • Importing an image from another cloud or folder
      • Configuring image access permissions
      • Deleting an image
    • Viewing operations with resources
  • Yandex Container Solution
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Managing an image
  3. Importing an image from another cloud or folder

Importing an image from a different cloud or folder

Written by
Yandex Cloud
Updated at May 5, 2025

To import an image from a different cloud or folder:

  1. Make sure you have the following roles for the cloud or folder hosting your image:

    • Role for the cloud: resource-manager.clouds.member.
    • Role for the folder: viewer or compute.images.user.

    For more information about assigning roles, see Assigning roles.

  2. Import a copy of this image to your folder using the CLI:

    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.

    1. See the description of the CLI command for creating an image:

      yc compute image create --help
      
    2. To get a list of available images in the source cloud or folder, run yc compute image list --folder-name <source_folder_name>. Here is an example:

      yc compute image list --folder-name my-source-folder
      

      Result:

      +----------------------+-------------+--------+----------------------+--------+
      |          ID          |    NAME     | FAMILY |     PRODUCT IDS      | STATUS |
      +----------------------+-------------+--------+----------------------+--------+
      | fd8eq6b2fkut******** | first-image |        | f2ehc12fue73******** | READY  |
      +----------------------+-------------+--------+----------------------+--------+
      
    3. Select ID or NAME of the image you are importing.

    4. To import an image, run yc compute image create --source-image-id=<source_image_ID>. Here is an example:

      yc compute image create --source-image-id=fd8o0pt9qfbt********
      

      Result:

      done (12s)
      id: fd8eq6b2fkut********
      folder_id: b1g07hj5r6i4********
      created_at: "2024-08-14T17:45:44Z"
      storage_size: "2562719744"
      min_disk_size: "21474836480"
      product_ids:
        - f2ehc12fue73********
      status: READY
      os:
        type: LINUX
      
  3. Check the result by running yc compute image list --folder-name <target_folder_name>. Here is an example:

    yc compute image list --folder-name my-destination-folder
    

    Result:

    +----------------------+--------------------+--------+----------------------+--------+
    |          ID          |        NAME        | FAMILY |     PRODUCT IDS      | STATUS |
    +----------------------+--------------------+--------+----------------------+--------+
    | fd8eq6b2fkut******** | first-image        |        | f2ehc12fue73******** | READY  |
    | fd8ghl1n3brd******** | second-image       |        | f2e87com7i95******** | READY  |
    +----------------------+--------------------+--------+----------------------+--------+
    

Was the article helpful?

Previous
Getting information about an image
Next
Configuring image access permissions
© 2025 Direct Cursus Technology L.L.C.