Skip to main content
Druva Documentation

Restore an EC2 instance using an AMI

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

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 an AMI:

  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 AMI. Ensure that you select an AMI that is stored in the region where you want to restore the EC2 instance. 
  9. After you select an AMI that you want to use, click Restore. The Restore AMI window appears.
  10. On the Restore AMI window, provide 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. 
    Availability Zone Choose an availability zone under the region where an AMI is stored. For more information, see Regions and Availability Zones [External link to AWS documentation].
    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:

    • Tags from the source EC2 instance
    • 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].
    Value Enter the value of the tag. 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].
    Subnet Choose a subnet of the VPC where you want the restored EC2 instance to run. 
    Private IP Specify a private IP address of the EC2 instance that will be attached to it after restore. Ensure that the IP address you provide adheres to the range of IP addresses in the subnet that you choose.
    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].
  11. Review all the details on the Restore AMI window, and then click Launch.

Phoenix launches an EC2 instance based on the settings provided in the Restore AMI 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.