Converting to Amazon from Azure

When restoring an Azure virtual machine from a backup, you can choose to restore the VM as an Amazon instance.

If you are using the import method for restores, when you restore a full Amazon EC2, convert a VM to an Amazon EC2 instance, or replicate a VM to Amazon EC2 by using the import method, Commvault automatically creates an Amazon S3 bucket for the destination. The bucket is named gx-restore-region_name-account_id, where region_name is the name of the AWS region and account_id is the AWS account for the hypervisor.

You can perform VM conversions from streaming backups, from secondary copies, or from IntelliSnap backup copies. You cannot perform a conversion from a Snap copy.

Before You Begin

  • Create an Amazon hypervisor.

  • For Windows computers: enable the pagefile on the C: drive of the source VM. This will prevent you from receiving an error message when you reboot the destination VM.

  • For Linux computers: Ensure that the fstab entry of the source disk should be based on disk UUID and not disk name. If it is not based on disk UUID, then the restored VM will not boot up.

  • Back up the Azure virtual machine that you plan to convert.

  • The VSA proxy machine must be able to connect to To route communications through an HTTP or HTTPS proxy, see Configuring a Firewall for a VSA Proxy in the Cloud. To use an HTTPS proxy, you must provide authentication details.

  • You can use any VSA proxy to perform the conversion, either running on an Amazon instance or externally with connectivity into the Amazon account. Use either of the following methods:

    • Using an Amazon proxy provides faster performance. By using a VSA proxy running on an Amazon instance, the restore operation can write directly to Elastic Block Storage (EBS) and inject Amazon drivers that are required for destination instances. You must provide credentials for the guest VM. The restore is performed using the HotAdd method.

      You must install Xen drivers on Linux guest VMs before performing a backup of an Azure VM that is used as the source for conversion or replication. Installing Xen drivers on Linux guest VMs enables the required drivers to be in place when the Amazon instances are created, so that the Amazon instance can be started and users can access the instance.

    • Using an external proxy avoids the cost associated with running an Amazon instance. The restore operation uses the import method and the gx-restore-region_name-account_id bucket.

      VMs that are converted using the import method cannot have disks that are larger than 2 TB.


Operating System Requirements

The Commvault software supports the following operating systems for restoring Azure backups to Amazon instances:

  • Windows 2012 R2

  • Windows 2016

  • Windows 2019

  • Red Hat Enterprise Linux 7.6

  • CentOS-based 7.5

    For information about Amazon's supported virtual machine operating systems, on the "VM Import/Export Requirements" page in AWS documentation, see Operating Systems.


  1. From the navigation pane, go to Solutions > Virtualization.

    The Hypervisors tab appears.

  2. Under Name, click the Azure hypervisor for the source VMs.

    The hypervisor properties page appears.

  3. Click the VM groups tab, in the row for the VM group, under Actions, click the action action_button button, and then click Restore.

    The Select restore type page appears.

  4. To restore one or more full virtual machines, select Full virtual machine.

    The Restore page appears.

  5. Under Name, beside each object that you want to restore, click the check box, and then at the top-left of the page, click Restore.

    To browse within an item, you can select an item or click on an entry in the Name column.

    In the top right corner of the page, a "Showing" message indicates what backup data is being displayed. You can click the down arrow beside this message and select any of the following options:

    • Show latest backups: Only display data for the most recent backups.

    • Show backups as of a specific date: Only display data up to the date you specify.

    • Show backups for a date range: Only display data within the data range you specify.

    The Restore options dialog box appears.

  6. Enter the requested information:

    1. From the Restore as list, select Amazon.

    2. From the Destination client list, select an Amazon hypervisor.

    3. From the Proxy client list, select the VSA proxy to use for the restore.

      By default, the preferred VSA proxy for the hypervisor is used for the restore.

      If you select a proxy running in Amazon, you must enter the guest VM credentials so that Amazon drivers can be injected for the restored VM.

    4. Optional: Select Power on instance after restore (the default) to start the instance automatically.

    5. Optional: To delete an existing instance and replace it with the restored instance, select Unconditionally overwrite if it already exists.

    6. If you are restoring multiple instances, click the All Instances tab on the bottom left to specify configuration values for all instances you are restoring, or the name of each instance to specify values individually. Specify the following values:

      • Optional: To change the names of all destination instances, select Enable edit destination instance name. Then select Prefix or Suffix and enter a string to append to the original display name to create new destination instance names.

      • Optional: To change the name of an individual instance, select the instance, and then enter the new display name in the Instance name box.

        If an existing instance with the same name exists on the destination host and you do not select Overwrite instances if they already exist, the restore job fails.

      • For the Availability zone, click Browse, select a value, and then click OK.

      • Optional: To select a specific instance type, clear Auto select instance type, and from the Instance type list, select an instance type that provides the available CPU cores and memory for the instance.

      • Under Network, click Browse, select an EC2 or a VPC network for the restored instances, and then click OK.

      • Optional: To select a specific security group, clear Auto Select Security Group, and then from the Security groups list, select a security group for the specified network.

      • Required if you chose an Amazon proxy: Select Specify guest credentials, and then enter the guest VM credentials, including the Domain / Computer name, Username, and Password.

  7. Click Submit to run the restore job.


  • After VM conversion, if a source VM had dynamic disks that use spanned or striped volumes, the volumes in the converted VM might be marked as Failed in Disk Management. You must bring these disks online manually using Disk Management. To bring the disks back online, perform an Import Foreign Disks operation on the guest VM for the disk group that contains failed disks. Import the entire disk group in one operation rather than performing a partial import.

    This consideration also applies to GPT-partitioned OS disks. (Operating system disks must use MBR-partitioned volumes.)

  • After you perform VM conversion or replication operations to Amazon EC2 using the HotAdd method, a Windows instance restarts when a user logs on to the instance for the first time. The restart is required to initialize drivers that are added to the instances during the operation.