Snapshots

On this page, you can find an explanation of how to create and manage snapshots in the Cloud Console.

Table of contents

  1. Snapshots page
  2. Create a Snapshot
  3. Edit a Snapshot 
  4. Delete a Snapshot
  5. Manage Snapshots related to a specific VM
    1. Create a Snapshot from the VM
    2. Attach a Volume with its Snapshot
    3. Edit VM's Snapshot
    4. Delete VM's Snapshot

Snapshots page

To get to the Snapshots page on the Homepage you need to select Storage from the VIRTUAL DATACENTER block and click the Snapshots TAB1-2

2-1

This action will redirect you to the Snapshots page where you can find all created Snapshots with their HeadersCreate buttonSearch bar and Actions icon which opens a list of available management actions for the selected Snapshot:

sn2

Snapshots headers include:

  • Name: shows the name of the Snapshots;
  • Status: shows in which status Snapshots are;
  • Size: shows Snapshot size. The size of the snapshot is equal to the size of the volume in which this Snapshot was created;
  • Description: shows description to Snapshots;
  • Created at:  shows date when the Snapshots were created.

Actions icon opens the next list of available management actions:

  • Delete - this option is for Snapshot removing.

So, from this page you can:

  • review all created Snapshots;
  • create more Snapshots;
  • delete unnecessery Snapshots;

Create a Snapshot

To create a new Snapshot do the next:

  • go to the Snapshots page and click the CREATE SNAPSHOT icon in the upper left corner: sn3
  • on the next opened Create Snapshot window specify:
    • Name: in this field you set a name for the Snapshot, it can contain only Latin letters (a-z, A-Z), digits (0-9), hyphen (-), underscore (_) and must be at most 255 characters long.;
    • Description: in this field you set a description for the Snapshot, it can include all letters, numbers or symbols and must be no bigger than 255 characters;
    • Volume: in this, you need to select volume from what you want to create a Snapshot (re recommend to create snapshots from the available volumes):
3-2

After fields were specified, click on the CREATE button and the newly created Snapshot will be added to the Snapshots page:

sn3-1

Edit a Snapshot 

To edit a Snapshot you need to do the following:

  • identify Snapshot you want to edit on the Snapshots page;
  • click on the Actions icon  ssh9  and select the Edit in the list of available options;
  • on the next opened Edit Snapshot window, update the Snapshot Name or/and description and click on the SAVE  icon:

    17

    After these steps, the selected Snapshot will be updated.

    Delete a Snapshot

    To delete a Snapshot you need to do the following:

    • identify this unnecessary Snapshot on the Snapshots page;
    • click on the Actions icon  ssh9  and select the Delete in the list of available options;
    • on the next opened Confirmation window confirm the Snapshot deletion:

    sn7

    After these steps, the selected Snapshot will be deleted.

    Manage Snapshots related to a specific VM

    To find all Snapshots related to the Virtual Machine you need to do the following:

    • open the Virtual Machine page - on the Homepage select the Virtual Machines from the VIRTUAL DATACENTER block:

    5-2

    • open the Virtual Machine details page - click on the Name of the corresponding Virtual Machine:

    4

    • open the Snapshots page of this VM-  click on the SNAPSHOT TAB:
      6-2

    On this page you can find all created Snapshots from the Volumes that were attached to the corresponding VM:

    7-2As you can see in the screenshot above, we have no Snapshots associated with the Virtual Machine named test_snapshot.

    Create a Snapshot from the VM

    To create a snapshot from the selected VM and test that works, firstly, let's open a terminal, login to VM named test_snapshot via SSH (for more information see articles - Linux Virtual Machines and Connect to Linux VM via SSH)  and create a text file named before_snapshot.txt

    nano before_snapshot.txt

    After that let's make a snapshot from this VM named test_snapshot, for this do the next: 

      • Click on the  CREATE SNAPSHOT icon in the upper left corner: sn3
      • On the next opened Create Snapshot window specify:
        • Name: in this field you set a name for the Snapshot, it can contain only Latin letters (a-z, A-Z), digits (0-9), hyphen (-), underscore (_) and must be at most 255 characters long.;
        • Description: in this field you set a description for the Snapshot, it can include all letters, numbers, or symbols and must be no bigger than 255 characters;
        • Volume: in this, you need to select one of the attached volumes to the selected VM, from what you want to create a snapshot:

      10-1

      After fields were specified, click on the CREATE button and the newly created Snapshot will be added:

      11-1

      Now, let's try to test this snapshot works correctly:

      •  Come back to the Virtual Machine page and create a new VM using this Snapshot:
      12-1
      • Login to newly created VM named test_vm_after_snapshot via SSH (for more information see articles - Linux Virtual Machines and Connect to Linux VM via SSH) and see if the file before_snapshot.txt,  you previously created in the virtual machine named test_snapshot, exists:
      ll

      13

      If the file exists, everything works clearly.

      Attach a Volume with its Snapshot

      Recently we have created a Snapshot named testSn from the Volume named testVol (see instructions - Create a Snapshot) and now we can attach this Volume to our Virtual Machine named test_snapshot.

      To attach Volume you need to do the following:
      • switch to the VOLUMES TAB from theVirtual Machine details page and click the ATTACH VOLUME icon in the upper left corner:
      14
      • on the opened Attach volume window select the necessary Volumes and click on the ATTACH icon:

      vol12


      Now, if you come back to the SNAPSHOTS TAB from theVirtual Machine details page you will see this added Snapshot as well: 

      15

      Edit VM's Snapshot 

      From this page you can also edit VM's Snapshot:  

      • identify Snapshot you want to edit;
      • click on the Actions icon  ssh9  and select the Edit in the list of available options;
      • on the next opened Edit Snapshot window, update the Snapshot Name or/and description and click on the SAVE  icon:

        16

        After these steps, the selected Snapshot will be updated.

        Delete VM's Snapshot

        From this page you can also delete unnecessary Snapshot:  

        • identify this unnecessary Snapshot;
        • click on the Actions icon  ssh9  and select the Delete in the list of available options;
        • on the next opened Confirmation window confirm Snapshot deletion:

        sn7

        After these steps, the selected Snapshot will be deleted.