This topic describes how to obtain the image file of a Windows virtual machine (VM). After you properly configure a Windows VM, you can obtain the Windows image file generated for the VM.

Procedure

  1. Open Oracle VM VirtualBox Manager and select a VM. Example:Windows VM.
  2. Click Settings.
  3. Choose Storage > Windows VM.vhd.
  4. In the Information section on the right side, find the path of the disk file. Example: C:\Users\Administrator\VirtualBox VMs\Windows VM\Windows VM.vhd.
  5. Access the path to obtain the generated Windows image file.

What to do next

Only image files in RAW, VHD, and QCOW2 formats can be imported to Elastic Compute Service (ECS). If your image file is in another format, you must convert the file to a supported format before you can import the file to ECS. For more information, see Convert the format of an image.