Loading...

Converting Virtual Machines to Amazon

When restoring a VMware or Hyper-V virtual machine from backup, you can restore the virtual machine as an Amazon Elastic Compute Cloud (EC2) instance or as an Amazon Web Services (AWS) instance that is part of a Virtual Private Cloud (VPC).

Before You Begin

  • You must have an account for Amazon Web Services (AWS) and obtain an access key pair that includes an access key ID and secret access key.
  • To set up a virtualization client, obtain user access keys using AWS Identity and Access Management (IAM) as described in Managing Access Keys for IAM Users. IAM user access keys enable you to control access to specific AWS services and resources for an AWS account.
  • By default, AWS admin users have all permissions required for VM conversion. For non-admin users, you must set required permissions in the AWS user policy.
  • Create an Amazon virtualization client. After obtaining access keys, you can create an Amazon virtualization client using the access key pair. If you have multiple IAM users for an account, you must create a virtualization client for each set of access keys. When converting a virtual machine to Amazon, you must select the appropriate Amazon virtualization client to enable access to the AWS account.
  • Ensure that you have at least 250 MB of available disk space for installing drivers and other software on any VM you want to import into an Amazon EC2 instance running Microsoft Windows.

Considerations and Limitations

See the following pages for information about Amazon considerations and limitations:

Operating System Requirements

For information about supported virtual machine operating systems, see Importing a VM as an Image Using VM Import/Export (Operating Systems).

Procedure

Perform the following steps to access a virtual machine backup and create an instance in Amazon:

  1. From the CommCell Console, navigate to Client Computers > virtualization_client > Virtual Server > VMware > backup_set.
  2. Right-click the subclient that contains the backup for the VMware virtual machine to convert and select Browse and Restore.
  3. In the Browse and Restore Options window, select Full Virtual Machine.
  4. Select Amazon from the Restore as list next to Full Virtual Machine.
  5. Click View Content.

    A Client tab shows the contents of the most recent backup for the subclient.

  6. Select a virtual machine in the left pane.

    The configuration and VMDK files for the selected virtual machine are displayed in the right pane.

  7. Click Recover All Selected at the bottom of the window.
  8. On the Restore Options for All Selected Items dialog, select values for the conversion:
    Option Steps
    Amazon Key From this list, select the Amazon virtualization client that was created with appropriate access keys for the AWS account.
    Proxy Client By default, the proxy that was used for the backup is selected. You can select a different proxy from the list.
    Instance and Volume The Instance and Volume column shows the name of the instance and lists instance volumes.
    Change Instance display name to Enter a new name for the destination instance. 

    If you specify the same name as an existing instance and select the Unconditionally overwrite Instance and disk files in destination path option, the existing instance will be replaced by the converted instance only if it is the only instance with that name in the Amazon account. If there are multiple instances with the same name, or if you do not select the overwrite option, the restore job goes pending. You cannot submit a restore job that contains multiple instances with the same name.

    Availability Zone From this list, select the availability zone where the instance should be imported. Availability zones are provided through your Amazon account.
    Amazon Options Click Configure to specify Amazon Cloud Options:
    • VM Display Name: Displays the instance name.
    • Availability Zone: Select the availability zone where the instance is imported. Availability zones are provided through your Amazon account.
    • Instance Type: From this list, select an instance type that provides the available CPU cores and memory for the instance.  If you choose Auto (the default option), the instance type is selected based on the corresponding settings for the source VM.
    • Operating System: Select Windows 64-bit, Windows 32-bit, or Linux 64-bit to match the operating system of the source VM. If necessary, you can select Auto to automatically detect the operating system of the source VM.
    • Network Settings: Select an EC2 or a VPC network for the restored instances.
      • Network: If you select an EC2 network, the second Network and Private IP fields are not displayed. 

        For a VPC network, select a subnet and network interface for the primary network interface.

      • Private IP: (Applicable only to VPC) If you select a new network interface as a VPC, specify a private IP that corresponds with the VPC. 

        If you specify a specific Private IP, we will create and attach the network interface with that IP. If you leave the Private IP field blank, we will create a new network interface that will match with the chosen VPC, and then attach it.

      • Network: (Applicable only to VPC) For a VPC network, select a subnet and network interface for the secondary network.
      • Private IP: (Applicable only to VPC) If you select a new network interface as a VPC, specify a private IP that corresponds with the VPC.

        If you specify a specific Private IP, we will create and attach the network interface with that IP. If you leave the Private IP field blank, we will create a new network interface that will match with the chosen VPC, and then attach it.

      • Security Groups: Select a security group for the specified network.
    Power ON Instance after restore Select this option to power on the converted instance automatically after it is created in Amazon.
    Unconditionally overwrite Instance and disk files in destination path If you are replacing an existing instance in Amazon, select this option to overwrite the existing instance and its volumes and replace them with the newly converted instance and volumes. The overwrite option succeeds only if there is a single instance in Amazon with the same name. If there are multiple instances with the same name, the job goes pending.
    Amazon Bucket From this list, select a bucket that can be used as temporary storage for disks until they are imported into Amazon. 
  9. Click OK.

Results

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. As noted in Description of Disk Groups in Windows Disk Management, import the entire disk group in one operation rather than performing a partial import.

RAID partitioned volumes are not supported for conversion and import into Amazon.

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