Performing Entire EC2 Instance Restore
In case of a disaster, you can restore an entire EC2 instance from a cloud-native snapshot, snapshot replica or image-level backup. Veeam Backup for AWS allows you to restore one or more EC2 instances at a time, to the original location or to a new location.
If you restore multiple EC2 instances that have the same EBS volume attached, Veeam Backup for AWS will restore one volume per each instance and enable the Multi-Attach option for every restored volume. To recover the source configuration, when the restore operation completes, manually delete extra EBS volumes in the AWS Management Console and attach the necessary volume to the instances.
For more information on Amazon EBS Multi-Attach, see AWS Documentation.
How Instance Restore Works
To restore EC2 instances from cloud-native snapshots and snapshot replicas, Veeam Backup for AWS uses native AWS capabilities. To restore EC2 instances from image-level backups, Veeam Backup for AWS performs the following steps:
- [Applies to archived backups] Retrieves data from the archived restore point.
- Launches a worker instance in the AWS Region where the restored EC2 instance will reside.
- Creates empty EBS volumes and attaches them to the worker instance.
The number of empty EBS volumes equals the number of EBS volumes attached to the backed-up EC2 instance.
- Restores backed-up data to the empty EBS volumes on the worker instance.
- Detaches EBS volumes with restored data from the worker instance.
- Removes the worker instance from Amazon EC2.
- Creates an EC2 instance in the specified location.
- Attaches EBS volumes with restored data to the target EC2 instance.
- [This step applies only if you perform restore to the original location] Powers off the source EC2 instance and removes it from Amazon EC2.
To restore an EC2 instance from a backup that is stored in an archive repository, you must retrieve the archived data first. You can either retrieve the archived data manually before you begin the restore operation, or launch the data retrieval process right from the Restore wizard. To learn how to retrieve data manually, see Retrieving Data From Archive.
If you plan to restore an EC2 instance to an AWS Outpost, check the following prerequisites:
- An IAM role you plan to specify for the restore operation must have the following permissions: outposts:ListOutposts, outposts:GetOutpostInstanceTypes. To grant the necessary permissions for the IAM role, use the AWS Management Console. For more information on how to grant permissions to an IAM role, see AWS Documentation.
- If an Outpost subnet is specified in the worker instance network settings, restore of an EC2 instance to an AWS Region to which the AWS Outpost is connected may fail. The issue occurs if the default worker instance class (c5.large) is not supported for the AWS Outpost. To work around the issue, contact Veeam Customer Support.
How to Perform Instance Restore
To restore a protected EC2 instance, complete the following steps:
- Launch the Instance Restore wizard.
- Select a restore point.
- Specify data retrieval settings for archived backups.
- Specify IAM identity for restore.
- Choose a restore mode.
- Enable encryption for EBS volumes.
- Specify an EC2 instance name and type.
- Configure network settings.
- Specify a restore reason.
- Finish working with the wizard.