Home > Article > Operation and Maintenance > How to implement ECS restrictions on imported images to ensure the availability of imported images
This article introduces how ECS should impose restrictions on imported images to ensure the availability of imported images, and focuses on the specific steps.
Must-read when importing images
To ensure the availability of imported images and improve the efficiency of image import, you need to consider the restrictions imposed by ECS on imported images.
Depending on different operating systems, such as Windows type images and Linux type images, the precautions for importing images are different.
Windows type image
Important suggestions
Before importing the image of Windows operating system, please Confirm file system integrity.
Please check the remaining space of the system disk to ensure that the system disk is not full.
Close the firewall and allow RDP 3389 port.
The login password for the administrator account must be 8-30 characters and contain uppercase or lowercase letters, numbers, and special symbols. The special characters can be ( ) ` ~ ! @ # $ % ^ & * - = | { } [ ] : ; ' , . ? /
Based on the virtual disk size of the image instead of using Capacity configures the imported system disk size. The system disk capacity range supports 40GiB−500GiB.
Do not modify critical system files.
Support items
Supports multi-partition system disks.
Supports NTFS file system and MBR partition.
Support RAW, qcow2 and VHD format images.
Note
Before importing images in other formats, please convert the image format before importing. It is recommended that you convert to VHD format with smaller transmission capacity.
ECS supports importing images containing the following operating system versions:
Microsoft Windows Server 2016
Microsoft Windows Server 2012 R2 (Standard Edition)
Microsoft Windows Server 2012 (Standard Edition and Datacenter Edition)
Microsoft Windows Server 2008 R2 (Standard Edition, Datacenter Edition, and Enterprise Edition)
Microsoft Windows Server 2008 (Standard Edition, Datacenter Edition, and Enterprise)
Windows Server 2003 (Standard, Datacenter, and Enterprise) with Service Pack 1 (SP1) or later
Not supported item
It is not supported to install qemu-ga in the image, otherwise some services required by ECS will be unavailable.
Windows XP, Professional and Enterprise editions of Windows 7, Windows 8 and Windows 10 are not supported.
Linux type image
Important suggestions
Before importing the image of the Linux operating system, please Confirm file system integrity.
Please check the remaining space of the system disk to ensure that the system disk is not full.
Close the firewall and allow TCP port 22.
Install the virtualization platform XEN or KVM driver.
It is recommended to install cloud-init to ensure that the hostname, NTP source and yum source can be successfully configured.
Need to enable DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol).
The login password for the root account must be 8-30 characters and contain uppercase or lowercase letters, numbers, and special symbols. The special characters can be ( ) ` ~ ! @ # $ % ^ & * - = | { } [ ] : ; ' , . ? /
Do not modify key system files, such as / Directories such as sbin, /bin and /lib*.
Support items
Support RAW, qcow2 and VHD format images.
Note
Before importing images in other formats, please convert the image format before importing. It is recommended that you convert to VHD format with smaller transmission capacity.
Supports xfs, ext3 and ext4 file systems, and supports MBR partitions.
Unsupported items
Multiple network interfaces are not supported.
IPv6 addresses are not supported.
Does not support adjusting the system disk partition. Currently, only a single root partition is supported.
Notes
Depending on whether the Linux system image you import is a standard platform image, you need to pay attention to different issues.
We define the officially released operating system release version as a standard platform image. Currently supported system versions include Aliyun Linux, CentOS 5/6/7, CoreOS 681.2.0, Debian 6/7, FreeBSD, OpenSUSE 13.1 , RedHat, RHEL (Red Hat Enterprise Linux), SUSE Linux 10/11/12 and Ubuntu 10/12/13/14.
Operating system platform images that are not in the public image list provided by ECS are non-standard platform images. Although the image comes from a standard platform, there are no images that comply with the requirements of the standard platform in terms of key system configuration files, system basic environment, and applications. If you need to use a non-standard platform image, you can only choose:
Others Linux: ECS is uniformly identified as other system types when importing the image. If you import the Others Linux platform image, ECS will not do any processing on the created instance. If you enable DHCP before creating the image, ECS will automatically configure the network for you. After completing the instance creation, you need to connect to the instance through the remote connection function of the management console, and then configure the IP, routing, password, etc. yourself.
Customized Linux: customized image. After importing the Customized Linux image, please configure the instance's network and password according to the ECS standard system configuration method. For more details, see Configuring a Customized Linux custom image.
The above is the detailed content of How to implement ECS restrictions on imported images to ensure the availability of imported images. For more information, please follow other related articles on the PHP Chinese website!