This is going to be the first of two blogs. This first blog will be 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 that has a volume that is large enough to accommodate the size of the machine you are wanting to migrate. This secondary drive must be excluded from the conversion. Make sure VirtIO drivers are installed on the Linux Server or install the Nutanix drivers on the Windows system.
Procedure
- Install vCenter Converter Standalone on the Amazon EC2 Windows instance that you want to convert.
- Create a conversion task to import the source Amazon EC2 Windows instance as a Workstation destination:
- Start vCenter Converter Standalone on the Amazon EC2 Windows instance.
- Click Convert a Machine in the application menu to start the Conversion wizard.
- On the Specify Source page, select Powered-on machine from the Select source type menu and click This local machine.
- Click Next to proceed to the Specify Destination page.
- On the Specify Destination page, select VMware Workstation (Latest version) from the VMware product list.
- Type a name for the destination virtual machine and browse to the temporary volume that will contain the destination 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.
- Deselect the check box in front of 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*.vmdk
file are created during the conversion. - On the temporary volume/drive on the Amazon EC2 Windows instance, locate the VMware Workstation virtual machine files that were created during the conversion (the
*.vmx
and the*.vmdk
file). - You will need to transfer the VMware Workstation virtual machine files to a location that is accessible to your destination environment. You have several options to transfer the files:
- Upload the files to a local FTP server using an FTP client.
- Upload the files to an Amazon S3 server and download them to a location that is 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, in the task icon pull-down list of the main menu, select Image Configuration.
- 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.
- To attach a disk to the VM, click the Add New Disk button.
- 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 the image configuration conversion task is completed.