Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Compute Cloud
    • You are unable to add a committed volume of services (CVoS) for Compute Cloud
    • Resolving the `Permission denied` error when connecting to a VM created with Terraform
    • Nested virtualization is not supported
    • Fixing the "Not enough resources" error on launching a virtual machine
    • Recovering access to a VM with a lost SSH key
    • Resolving issues with creating disk snapshots
    • Boot disk size failed to increase
    • VM shuts down on the `Instance guest stop processing` operation
    • Resolving the `WARNING REMOTE HOST IDENTIFICATION HAS CHANGED` error
    • Fixing a non-replicated disk failure
    • Resolving connection issues with Kosmos VM
    • Resolving password reset issues for VMs based on a Kosmos image
    • Resolving the `The limit on maximum number of cores has exceeded` error
    • CUDA unavailable on GPU platform
    • Resolving issues with performance of disk and network input/output on a VM
    • Resolving the `FAILED_PRECONDITION Relocation to zone `ru-central1-a/b/c` is disabled` error
    • Options to migrate a VM image to Yandex Cloud
    • How to change a boot disk type for a VM
    • How to get details about RAM consumption for Compute Cloud VMs
    • How to create VMs with multiple network interfaces
    • How to reduce the VM disk size
    • How to export Compute Cloud VM disk images
    • How to move a VM across folders or clouds
    • How to set up GUI and graphical environment on VMs running Linux
    • How to use an ISO image for deploying VMs
    • How to view incoming or outgoing traffic logs for a VM
    • How to use WinSCP to connect to a Linux VM in Yandex Cloud with a key generated on VM creation
    • How to back up a VM with rollback support
    • How to connect over SSH as root with `-X` or key
    • How to monitor memory usage
    • How to change an internal IP address
    • How to read the `Connections quota utilization` chart
    • How to check the disk access speed for a VM
    • How to create a VM instance with password access
    • How to increase the number of network connections
    • How to secure RDP connections on Microsoft Windows®

In this article:

  • Issue description
  • Solution
  1. Compute Cloud
  2. How to export Compute Cloud VM disk images

How to export Compute Cloud VM images

Written by
Yandex Cloud
Updated at December 17, 2025
  • Issue description
  • Solution

Issue descriptionIssue description

You need to download an image of one or multiple VM disks to your local storage.

SolutionSolution

You can only use an image or snapshot of a VM disk within Yandex Cloud.
You cannot directly download it to your computer via the management console or the YC CLI.

To resolve this issue, you can use third-party software or native OS tools to create an image or backup of your disk, e.g., dd on Linux machines, and then download the image to your local storage.
To do this, follow these steps:

Please note

The dd utility treats disk images as block devices rather than file systems.

If you run a disk copy operation on a VM that is running on that particular disk, you may encounter data inconsistency in the image file you get. To avoid it, we highly recommend that you stop the VM and create a new image from its system disk instead of running a disk copy operation on a running system.

  1. Stop the VM whose disk image you need to copy. You can do this via the management console or the YC CLI:

    yc compute instance stop <VM_name>
    
  2. Create a VM disk image to copy following this guide.

  3. Create a temporary Linux VM to run a copy operation.

  4. When creating a VM, attach a secondary disk to it.
    Then, specify the image you created earlier as its contents.

  5. Connect to the temporary VM over SSH.

  6. Mount the secondary disk (the one you need to copy) to it following this guide.

  7. Create a new SSH session and copy the secondary disk to your local machine using this command:

    ssh <username>@<VM_IP_address> "sudo dd if=/dev/sdb status=progress | gzip -c" > sda.img.gz
    

    The disk image will be saved to your local directory where the SSH session was established.

If you need to transfer the disk image within Yandex Cloud, you can provide public access to it.
To do this, assign the compute.images.user role to the allAuthenticatedUsers system group. This role does not grant permissions to delete or modify your images.

Was the article helpful?

Previous
How to reduce the VM disk size
Next
How to move a VM across folders or clouds
© 2026 Direct Cursus Technology L.L.C.