Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
      • Creating a snapshot
      • Getting disk snapshot info
      • Deleting a snapshot
      • Creating a snapshot schedule
      • Getting disk snapshot schedule info
      • Changing a snapshot schedule
      • Disabling and enabling a snapshot schedule
      • Encrypting an image
      • Configuring disk snapshot access permissions
      • Configuring snapshot schedule access permissions
      • Deleting a snapshot schedule
    • Viewing service resource operations
    • Viewing metrics in Monitoring
    • NVIDIA driver update guide
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Disk snapshots
  3. Deleting a snapshot

Deleting a disk snapshot

Written by
Yandex Cloud
Updated at July 14, 2025

Warning

Deleting a snapshot is permanent and cannot be undone, so you cannot recover a deleted snapshot. When you delete a snapshot, all the information it stores is erased. The data on the primary disk will remain unchanged.

To delete a snapshot:

Management console
CLI
Terraform
API
  1. In the management console, select the folder containing your snapshot.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Snapshots.
  4. In the line with the snapshot, click and select Delete.
  5. In the window that opens, click Delete.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the CLI commands for deleting snapshots:

    yc compute snapshot delete --help
    
  2. Get a list of snapshots in the default folder:

    yc compute snapshot list
    

    Result:

    +----------------------+-----------------+----------------------+--------+----------------------------+
    |          ID          |       NAME      |     PRODUCT IDS      | STATUS |        DESCRIPTION         |
    +----------------------+-----------------+----------------------+--------+----------------------------+
    | fd8rlt1u2rf0l******* | first-snapshot  | f2ecl5vhsftd******** | READY  | my first snapshot via CLI  |
    | fhmolt1u2rf0******** | second-snapshot | f2eclmol5lps******** | READY  | my second snapshot via CLI |
    +----------------------+-----------------+----------------------+--------+----------------------------+
    
  3. Select ID or NAME of the snapshot in question.

  4. Delete the snapshot:

    yc compute snapshot delete \
      --name first-snapshot
    

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

To delete a snapshot created with Terraform, follow these steps:

  1. In the command line, go to the folder with the Terraform configuration file.

  2. Delete the resources using this command:

    terraform destroy
    

    Alert

    Terraform will delete all the resources you created in the current configuration, such as clusters, networks, subnets, and VMs.

  3. Type yes and press Enter.

Use the delete REST API method for the Snapshot resource or the SnapshotService/Delete gRPC API call.

Was the article helpful?

Previous
Getting disk snapshot info
Next
Creating a snapshot schedule
© 2025 Direct Cursus Technology L.L.C.