Skip to main content
Druva Documentation

Restore an EC2 Instance by using a snapshot

Phoenix Editions: File:/tick.png Elite File:/cross.png EnterpriseFile:/tick.png Business 

EBS snapshots, which are block-level incremental snapshots, certainly make an efficient and cost-effective solution for backup in the EC2 environment. This article will help you understand the procedure to restore an EC2 instance by using a snapshot. After an EC2 instance is configured for backup, Phoenix creates backups and stores them in regions and accounts that you specify in the backup policy. You can see those backups on the instance page of the Phoenix Management Console. Perform the following steps to restore an EC2 instance using a snapshot.

Procedure

  1. Log in to the Phoenix Management Console.
  2. Select an organization from the top menu. 
  3. On the top menu, click Protect > AWS Resources.
  4. On the AWS Accounts page, select an account from the left menu or click on the account name. 
  5. On the left pane, click Resources > Compute.
  6. On the Compute page, click on the resource name of the EC2 instance that you want to restore. 
  7. On the instance page, click on the Backups tab.
  8. Under the Backups tab, select a backup with the type as Snapshot. Ensure that you select a snapshot that is stored in the region where you want to restore the EC2 instance. 
  9. After you select a snapshot that you want to use, click Restore. The Restore Snapshot window appears. 
  10. Choose the Restore as an Instance option to launch an instance from this snapshot. You can restore either by using the Selected Snapshot settings or Last Synced Settings to automatically update the General, Location, Security, and Block Device Mappings (if applicable) from the snapshot. You also have the option to manually specify the instance settings. However, in case you triggered the backup job manually, you must restore by manually entering the instance settings by providing the details in the following sections:   

Basic

Field Description
Name

Provide a name of the restored EC2 instance. By default, Phoenix adds the name of the original EC2 instance.

  • If the name of the original instance is not available, Phoenix uses the instance ID as its name. 
  • If you leave this field empty, then the restore instance will not have a name tag. 
Architecture Choose a processor architecture for the instance; for example, i386.
Instance Type Choose an instance type of the restored EC2 instance. By default, Phoenix selects the original EC2 instance type. Not all instance types are supported in all regions. Before you restore an EC2 instance, check with AWS on the instance types and the regions in which the instances are supported if you run into issues with the restore. For more information, see Amazon EC2 instance types [External link to an AWS web page].

Tags

Field Description
Key

Enter the tag key that you want to use. By default, Phoenix adds the following tags

Value Enter the value of the tag. 

By default, Phoenix adds the following tags:

  • Tags from the source EC2 instance (based on the backup policy)

  • Tags from the backup policy that created the AMI

  • Tags added in the AMI

Phoenix adds a few extra tags such as: Created by application: Druva and To be retained for <the retention period>.
For more information, see Tagging your Amazon EC2 resources [External link to AWS documentation].

Location

Field Description
VPC Choose a virtual private cloud (VPC) where you want the restored EC2 instance to run. For more information, see What is Amazon VPC? [External link to AWS documentation]. This is a mandatory field.
Subnet Choose a subnet of the VPC where you want the restored EC2 instance to run. 
Virtualization Choose a virtualization type of the restored EC2 instance. For more information, see Linux AMI Virtualization Types [External link to AWS documentation].

Security

Field Description
Key Name Choose a key pair for the EC2 instance. If you plan on remotely connecting to the restored EC2 instance, select a key pair created in your account. For more information, see Amazon EC2 key pairs [External link to AWS documentation].
Security Groups Choose a security group for the restored EC2 instance. For more information, see Security Groups for your VPC [External link to AWS documentation].
Instance Profile Choose an instance profile for the restored EC2 instance. For more information, see Using Instance Profiles [External link to AWS documentation].
  1. Once you are happy with your settings, you can click on the Restore Snapshot to Instance button to complete the restore process.

Phoenix launches an EC2 instance based on the settings provided in the Restore Snapshot window. After the EC2 instance is launched, you are navigated to Jobs > Restore page. It may take a few seconds to list the restore job that you run click on the refresh icon refresh-button-AWS-CR_PHX-1.png.

To see the restored EC2 instance listed under the resources page, navigate to Resources > Compute using the left pane, and then click on the refresh icon refresh-button-AWS-CR_PHX-1.png.

  • Was this article helpful?