Restoring Backed-Up VM to Amazon AWS: Step-by-Step Guide

Restoring Backed-Up VM to Amazon AWS: Step-by-Step Guide

KB ID: 115115
Purpose
This knowledge base article outlines the steps to restore a backed-up virtual machine (VM) to Amazon AWS using a VHD or VHDX file downloaded from the Vembu BDR Server.
Solution
1. Steps to Be Done in BDRSuite Backup Server
1.1. Log in to the Vembu BDR Server console and navigate to the Recovery page.
1.2. In the Recovery page, click the restore icon of the respective backup and select the recovery type as "Download."
1.3. Select the latest restore point and choose the required VMs.
1.4. Choose "VHD" or "VHDX" as your virtual disk format from the drop-down list.
Note: Refer to the detailed download process here
2. Steps to Deploy Downloaded VHD/VHDX File on Amazon AWS
2.1. Install AWS CLI on the machine where you downloaded the VHD/VHDX file using the MSI Installer.
2.2. Configure AWS CLI settings to interact with AWS. Use the command `aws configure` to set up your AWS CLI installation.
Example:
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2 (You can specify your preferred region.)
Default output format [None]: ENTER
Note: For detailed information on configuring AWS CLI, refer to this Link
2.3. Create an S3 Bucket and upload the VHD/VHDX file to the created S3 Bucket using the following command:
Command: aws s3 cp <filename> s3:/<bucketname>/<prefix>
Example: aws s3 cp DISK0_MERGE.vhdx  s3:/vembuvhdximport/AWSuploadgen1
2.4. Create the required service role and enable the necessary permissions to import the VHD/VHDX file to Amazon AWS. Refer to this Link
2.5. Import your VHD/VHDx file using the `ec2 import-image` command as mentioned below:
aws ec2 import-image --description "My server VM" --disk-containers "file://C:\import\containers.json"
Refer to an example containers.json file.
[
    {
        "Description": "First disk",
        "Format": "vhdx",
        "UserBucket": {
            "S3Bucket": "vembuvhdximport",
            "S3Key": "AWSuploadgen1/DISK0_MERGE.VHDX"
        }
      }
   ]
2.6. To monitor an import image task, use the following `describe-import-image-tasks` example to check the status of the specified import image task.
 aws ec2 describe-import-image-tasks \ --import-task-ids import-ami-1234567890abcdef0
Refer to this Link
2.7. After creating the Amazon Machine Image (AMI), you can launch the instance following the default AWS EC2 procedure.

    • Related Articles

    • Restoring a Backed-Up VM to Microsoft Azure

      KB ID: 115116 Purpose: This knowledge base article provides a step-by-step guide on how to create a virtual machine (VM) in Microsoft Azure using a VHD file downloaded from Vembu BDR Server. Solution: 1. Steps to Be Done in Vembu BDR Server 1.1. Log ...
    • Step-by-Step Guide: Setting Up Azure Data Box Gateway

      KB ID: 115119 Purpose This guide provides step-by-step instructions to set up Azure Data Box Gateway. If you encounter any issues during the process, you can contact the support team at vembu-support@vembu.com. Solution Step 1: Prerequisites Before ...
    • Configuring AWS Backup

      Step 1: Basic Job Details Enter the following details; Backup Job Name Enter a name with which you want to identify this particular backup job. Backup Option Only EBS Snapshot Backup : By choosing this option you can backup your AWS EC2 Instances ...
    • Restoring a Backed-up Machine to a Different Hypervisor

      KB ID: 115117 Cause This knowledge base article provides instructions on how to restore a machine backed up using Vembu Image Backup to a different hypervisor such as Nutanix, Proxmox, Xenserver, and others. Please note that recovering to hypervisors ...
    • AWS EC2 Instance Backup and Recovery

      Overview BDRSuite's AWS Backup solution provides comprehensive protection for your AWS EC2 Instances and other critical workloads, ensuring secure backups and seamless recovery in case of accidental deletion, data corruption, or system failure. Watch ...