Import an on-premises image to create ECS instances or replace the system disk OS of existing instances.
Import a Linux image
-
Review the Alibaba Cloud image requirements (Linux).
-
Prepare an on-premises image file.
-
Create a virtual machine and install an operating system in VirtualBox.
-
Install required plug-ins.
-
Install cloud-init for proper instance initialization.
-
Install virtio driver for proper instance startup.
-
Customize a Linux image (Optional): If your OS is unsupported and cloud-init cannot be installed, select Customized Linux during import.
-
-
Check and fix the image with the
image compliance tool. -
Convert the image format: ECS supports RAW, VHD, QCOW2, and VMDK formats only. Convert your image if it uses a different format.
-
-
Import the custom image: Upload the image file to OSS and import it to ECS.
Import a Windows image
-
Review the Windows image requirements.
-
Prepare an on-premises image file.
-
Create a virtual machine and install an operating system in VirtualBox.
-
Install required plug-ins.
-
Install Vminit for proper instance initialization.
-
Install the Alibaba Cloud virtio driver for proper instance startup.
-
-
Convert the image format: ECS supports RAW, VHD, QCOW2, and VMDK formats only. Convert your image if it uses a different format.
-
-
Import the custom image: Upload the image file to OSS and import it to ECS.