This is going to be the first of two blogs. This first blog will be about the manual migration from AWS to AHV. The second will use a product called Sureline.
Prerequisites
Make sure that you have an Amazon EC2 Windows instance with a large volume to accommodate the size of the machine you want to migrate. This secondary drive must be excluded from the conversion. Ensure VirtIO drivers are installed on the Linux Server or the Nutanix drivers on the Windows system.
Procedure
- Install vCenter Converter Standalone on the Amazon EC2 Windows instance you want to convert.
- Create a conversion task to import the source Amazon EC2 Windows instance as a Workstation destination:
- First, start vCenter Converter Standalone on the Amazon EC2 Windows instance.
- Next, click Convert a Machine in the application menu to start the Conversion wizard.
- Select Powered-on machine from the Select source type menu on the Specify Source page and connect This local machine.
- Click Next to proceed to the Specify Destination page.
- Select VMware Workstation (Latest version) from the Specify Destination page from the VMware product list.
- Type a name for the destination virtual machine and browse to the temporary volume containing the virtual machine.
- Click Next to proceed to the View/Edit Options page.
- On the View/Edit Options page, select Data to Copy in the list of options.
- Select the check box before the temporary volume to exclude it from the conversion task.
- Click Next to proceed to the View Summary page.
- Check the summary of the conversion task and click Finish to submit it to the tasks list.
A
*.vmx
and a*.vmdkthe
file is created during the conversion. - On the temporary volume/drive on the Amazon EC2 Windows instance, locate the VMware Workstation virtual machine files created during the conversion (the
*.vmx
and the*.vmdk
file). - You will need to transfer the VMware Workstation virtual machine files to a location accessible to your destination environment. You have several options to transfer the files:
- First, upload the files to a local FTP server using an FTP client.
- Second, upload the files to an Amazon S3 server and download them to a location accessible to your environment.
- Upload the files from the Amazon EC2 Windows instance to an Amazon S3 server and use Amazon AWS Import/Export to retrieve the data on a physical storage device.
- Use a third-party site like Box or DropBox to move the files.
- Start Nutanix image configuration upload and conversion task to import the VMDK files into the AHV:
- On the PRISM main page, select Image Configuration in the task icon pull-down list of the main menu.
- To upload an image file to the cluster, click the Upload Image button.
- When all the fields are correct, click the Save button.
- Wait for the disk to finish uploading before moving to step 6.
- Create a New guest VM with the disk you just uploaded
- In the VM dashboard, click the Create VM button.
- Do the following in the indicated fields:
- Name: Enter a name for the VM.
- Description (optional)
- vCPU(s): Enter the number of virtual CPUs to allocate to this VM.
- Number of Cores per vCPU: Enter the number of cores assigned to each virtual CPU.
- Memory: Enter the amount of memory (in MiBs) to allocate to this VM.
- Click the Add New Disk button to attach a disk to the VM.
- Click the Save button to create the VM and close the Create VM dialog box.
The new VM appears in the VM table view.
You can start using the Windows instance after completing the image configuration conversion task.