How do I recover a VM from a snapshot?

To recover a system that has failed or to revert to an earlier version of a system, just follow the steps below.  NOTE: This process is entirely contingent on the existence of snapshots of the root volume.

Step 1: Create a template from a candidate snapshot

The snapshot of the root volume first must be converted into a template.  To do this, locate the snapshot you wish to use from the list of available snapshots and click the "Create Template" button.

Creating A Virtual Machine From A Snapshot   1

Step 2: Name your template

You next need to give your template a distinct name.  You do this so that you can easily identify it and because you may want to reuse at some future date.

Creating A Virtual Machine From A Snapshot   2

The process to create a template can take a few minutes to complete so please be patient.  

Creating A Virtual Machine From A Snapshot   3

Once your template is created, you will receive an email notification and a notification message will appear in the upper right-hand corner of your portal.

Creating A Virtual Machine From A Snapshot   4

Step 3: Select your template

The next step, now that you have a template, is to select it for deployment.

Creating A Virtual Machine From A Snapshot   5

Once selected, click on "New Virtual Machine" to create the new VM from this template.

Creating A Virtual Machine From A Snapshot   6

Step 4: Choose service offerings and data disk offering for your VM

After selecting the template for the virtual machine, you will be asked to select the service offering and an optional data disk offering. The service offering will determine the amount of resources available to the virtual machine, while the data disk offering will attach an additional volume to the virtual machine at creation. Offerings larger than 8GB of memory require approval via the High CPU and Memory Offering Request Form.

Getting Started 006

Step 5: Choose security group setting for your VM

Next, you will be asked to set the security group settings for the virtual machine. Security groups determine the ingress connections that are allowed to the virtual machine. The default security group is always applied and additional groups can be added to the virtual machine at your discretion.  Select one that you have previously created that would be pertinent OR create a new security group. 

Getting Started 007

Step 6: Choose key pair for your VM

Public/private key pairs allow you to securely connect to your instance after it launches. The private key will also be used to securely decrypt the virtual machine password. You will have the option of selecting from existing key pairs (if available) or creating a new one. 

Select Keypair

Best practice is to save your key pair on the portal.  This will allow you to retrieve whenever you need it, like when you are trying to recovery a down system for example.  For more information about creating new key pairs, please see the Key Pairs documentation.

Step 7: Additional options

The last step will allow you to include an optional name and group to be assigned to the virtual machine. You will also be able to instruct multiple machines to be created.

Getting Started 009

Best practice to give each of your VMs meaningful and descriptive names.  This will come in handy for ease of identification, especially when you are troubleshooting.  Adding something for "Group" is a way of further refining your naming convention.  For example, the "Name" could be something like "Your_Enterprise_London_#1" while the "Group" could be "Apache_2.2_web_server".  Down the road, you will be glad you spent the time doing this.

Step 8: Confirm your selection

After selecting the name and group for the virtual machine, you will be able to review your selections and make changes before launching the virtual machine(s). 


To create the virtual machine, click the button labeled 'Start Virtual Machines'. When the virtual machine has finished booting, you will receive an e-mail notification with the password for the virtual machines.  You will also be presented with an opportunity to create additional VMs.


Step 9: Check your work

To confirm that your VM has been created, go back to your dashboard and look at your virtual machine list in your browser.  NOTE:  Make sure your browser is looking at the correct zone.


At this point, you will need to access your new machine and check its functionality.  If you find that it is missing something, you may need to repeat this process again using a different snapshot.