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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Compute Cloud
    • All guides
      • Creating a snapshot
      • Getting information about a disk snapshot
      • Deleting a snapshot
      • Creating a snapshot schedule
      • Getting information about a disk snapshot schedule
      • 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 operations with resources
  • Yandex Container Solution
  • Access management
  • 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 May 5, 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.

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 commands for deleting a snapshot:

    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 its Yandex Cloud provider.

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

  1. In the command line, go to the directory 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 information about a disk snapshot
Next
Creating a snapshot schedule
Yandex project
© 2025 Yandex.Cloud LLC