When migrating a local Windows virtual machine (VM) to Elastic Compute Service (ECS), you need to locate the disk image file generated by Oracle VM VirtualBox before you can import it.
Prerequisites
Before you begin, ensure that you have:
A Windows VM configured in Oracle VM VirtualBox Manager
Access to the local file system where VirtualBox stores VM disk files
Locate the image file
Open Oracle VM VirtualBox Manager and select your VM. For example, select _Windows VM_.
Click Settings.
Choose Storage > _Windows VM.vhd_.
In the Information section on the right, find the disk file path. For example:
C:\Users\Administrator\VirtualBox VMs\Windows VM\Windows VM.vhd.Go to that path on your file system to get the image file.
What to do next
ECS supports the following image formats for import: RAW, VHD, QCOW2, and Virtual Machine Disk (VMDK). If your image is in a different format, convert it to a supported format before importing. For conversion instructions, see Convert image formats.