This article explains how to restore AMIs.
An Amazon Machine Image (AMI) is a template that contains a software configuration (for example, an operating system, an application server, and applications). From an AMI, you can launch an instance, which is a copy of the AMI running as a virtual server in the cloud. For example, the AMI is an image of your EC2 instance.
Once an EC2 instance is backed up, Druva CloudRanger stores them in the region specified in the backup policy.
Restoring an AMI
To restore an AMI:
- Log into your Druva CloudRanger console and navigate to Backups.
- Select the EC2 AMI that you wish to restore, and then click Restore.
By default, Druva CloudRanger displays the name of the original EC2 instance, and if unavailable, the instance ID is used as the name. You can choose to modify the default instance name.
The AWS Region where the backed-up AMI is stored.
Choose an availability zone within the region where the AMI is stored.
For more information, see Regions and Availability Zones
Choose an instance type of the restored EC2 instance. By default, Druva CloudRanger selects the original EC2 instance type.
Note: Not all instance types are supported in all regions. If you run into issues with the restore, verify that the selected instances are supported for that region.
For more information, refer to the AWS documentation.
This section displays the tag keys that have been specified for the source EC2 instance or the AMI.
Tags act as metadata to help identify and organize your AWS resources.
The Value will depend on the Key specified.
Key: Created by Policy; Value: New
Key: Origin; Value: Origin ID
Select a virtual private cloud (VPC) where you want the restored EC2 instance to run.
Select the subnet of the VPC where you want the restored EC2 instance to run.
Select the virtualization type for the restored EC2 instance.
Specify the private IP address of the EC2 instance that will be attached to it upon restore. The IP address provided must be within the range of IP addresses for the Subnet specified previously.
The backup encryption target key for the EC2 instance.
If you plan on remotely connecting to the restored EC2 instance, select a key pair created in your account.
Choose an instance profile for the restored EC2 instance.
Select a security group for the restored EC2 instance.
Block Device Mappings
This section displays information on the AMI to be restored:
- Device Name and Snapshot ID
- Delete On Termination
- Encrypted: Policy-based backup encryption, if applicable
- Volume Size and Volume Type of the AMIs to be restored
- Click Confirm.
The restored AMIs will now be available on the Restores page.