To guarantee the usability of an imported image and improve the importing efficiency, the following considerations must be noted before importing an image:

Depending on the operating system, the notes vary for Windows images and Linux images.

Windows images

Considerations
  • Verify the integrity of the file system before importing images for Windows.
  • Check that there is adequate space on the system disk for the image to be installed.
  • Disable the firewall and allow access to RDP port 3389.
  • The logon password for the administrator account must be 8-30 characters in length and can contain letters, numbers, and the following special characters ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ‘ < > , . ? /
  • Configure the system disk size for the importing based on the virtual disk size rather than the usage of the image. The size of the disk to be used for the image import must be a minimum of 40 GiB, and cannot exceed 500 GiB.
  • Do not modify critical system files.
What are supported
  • Multi-partition system disks.
  • NTFS file systems and MBR partitions.
  • Images in RAW, qcow2, or VHD format.
    Note If you want to import an image in another format, you need to convert image file format before importing it. We recommended that you convert the format to VHD because it offers smaller transmission capacity.
  • Images with the following operating system versions can be imported:
    • Microsoft Windows Server 2016
    • Microsoft Windows Server 2012 R2 (standard edition)
    • Microsoft Windows Server 2012 (standard edition and data center edition)
    • Microsoft Windows Server 2008 R2 (standard edition, data center edition, and enterprise edition)
    • Microsoft Windows Server 2008 (standard edition, data center edition, and enterprise edition)
    • Microsoft Windows Server 2003 with Service Pack 1 (SP1) (standard edition, data center edition, and enterprise edition) or higher
What are not supported
  • The installation of qemu-ga in an image is not supported because some services needed by ECS will become unavailable.
  • Windows XP, Windows 7 (professional and enterprise editions), Windows 8, and Windows 10.

Linux images

Considerations
  • Verify the integrity of the file system before importing images for Linux.
  • Check that there is adequate space on the system disk for the image to be installed.
  • Disable the firewall and allow access to TCP port 22.
  • Install the virtualization platform XEN or KVM drives.
  • We recommended that you install cloud-init, so as to guarantee that hostname, NTP, and yum sources can be configured successfully.
  • Dynamic Host Configuration Protocol (DHCP) needs to be enabled.
  • The logon password for the root account must be 8-30 characters long and must contain uppercase/lowercase letters, numbers, and special characters simultaneously. The special characters can be: ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ‘ < > , . ? /
  • Do not modify critical system files, such as /sbin, /bin, and /lib*.
What aresupported
  • Images in RAW, qcow2, or VHD format.
    Note If you want to import an image in another format, you need to convert image file format before importing it. We recommended that you convert the format to VHD because it offers smaller transmission capacity.
  • The xfs, ext3, and ext4 file systems and MBR partitions.
What are not supported
  • Multiple network interfaces.
  • IPv6 addresses.
  • System disk partitions cannot be adjusted. Currently, only a single root partition is supported.
Non-standard image usage notes

Depending on whether the Linux system image you are importing is a standard platform image, the following issues must be noted.

  • Official operating system releases are defined as standard platform images. Currently, supported system releases include Aliyun Linux, CentOS 5/6/7, CoreOS 681.2.0+, Debian 6/7, FreeBSD, OpenSUSE 13.1, RedHat, Red Hat Enterprise Linux (RHEL), SUSE Linux 10/11/12, and Ubuntu 10/12/13/14.
  • Operating system images that are not listed as public images provided by ECS are non-standard platform images. Such images, though based on the standard operating system, do not comply with the requirements for a standard operating system regarding critical system configuration files, basic system environments, and applications. If you want to use a non-standard platform image, you can only choose the following when importing an image:
    • Other Linux: Alibaba Cloud identifies all of these images as other Linux systems. Alibaba Cloud does not handle the instances created if you import an image of Other Linux type. If you enable DHCP before creating an image, Alibaba Cloud automatically configures your network. After creating the instance, you need to connect to the instance by using the Management Terminal feature in the console, and then manually configure the IP address, router, and password.
    • Customized Linux: Customized images. After importing a customized Linux image, configure the network and password of the instance according to the standard system configuration mode of Alibaba Cloud. For more information, see customize Linux images.
Item Standard platform image Non-standard platform image
Requirements for critical system configuration files
  • Do not modify /etc/issue*. Otherwise, ECS cannot properly identify the system release, leading to system creation failure.
  • Do not modify /boot/grub/menu.lst, or the ECS instance cannot be started.
  • Do not modify /etc/fstab, or the exception partition cannot be loaded, leading to ECS instance start failure.
  • Do not change /etc/shadow to read only, or you may be unable to modify the password file, leading to system creation failure.
  • Do not enable SELinux by modifying /etc/selinux/config, or the system may fail to start.
Does not meet the requirements of standard platform images
Requirements for applications Do not install qemu-ga in an imported image, or some services required by Alibaba Cloud may become unavailable. Does not meet the requirements of standard platform images