Image Attribute | Requirements |
OS | CentOS、CentOS Stream、Ubuntu、Debian、OpenSUSE、CoreOS、FreeBSD、AlmaLinux、Rocky Linux、Fedora、Kylin、UnionTech、TencentOS Both 32-bit and 64-bit OSs are supported |
Image format | RAW, VHD, QCOW2, and VMDK Run qemu-img info imageName | grep 'file format' to check the image format. |
File system type | GPT partition is not supported |
Image size | The actual image size cannot exceed 50 GB. Run qemu-img info imageName | grep 'disk size' to check the image size.The image vsize cannot exceed 500 GB. Run qemu-img info imageName | grep 'virtual size' to check the image vsize.Note: size of an image in QCOW2 format is used upon check during import. |
Network | By default, Tencent Cloud provides the eth0 network interface for the instance. You can use the metadata service to query the network configuration of the instance. For more information, see Instance Metadata. |
Driver | Virtio driver of the virtualization module KVM must be installed for an image. For more information, see Checking Virtio Drivers in Linux. We recommend installing cloud-init for the image. For more information, see Installing Cloud-Init on Linux. |
File System | To ensure the Linux system can accurately recognize the disk when enabling the file system, please check and accurately configure the GRUB file disk identification method. For more information, refer to the Setting the GRUB File Disk Identification Method to UUID. To ensure the Linux system can accurately recognize the disk when mounting the file system, please check and accurately configure the fstab file disk identification method. For more information, refer to Setting the Fstab Disk Identification Method to UUID. |
Kernel | Native kernel is preferred for an image. Any modifications on the kernel may cause the import to fail. |
Region | Importing images from COS in another region is unavailable for the Shanghai Finance and Shenzhen Finance. |
Image Attribute | Requirements |
OS | Windows Server 2008, Windows Server 2012, Windows Server 2016 related versions, Windows Server 2019 related versions, and Windows Server 2022 related versions Both 32-bit and 64-bit OSs are supported. |
Image format | RAW, VHD, QCOW2, and VMDK Run qemu-img info imageName | grep 'file format' to check the image format. |
File system type | Only NTFS with MBR partition is supported. GPT partition is not supported. Logical Volume Manager (LVM) is not supported. |
Image size | The actual image size cannot exceed 50 GB. Run qemu-img info imageName | grep 'disk size' to check the image size.The image vsize cannot exceed 500 GB. Run qemu-img info imageName | grep 'virtual size' to check the image vsize.Note: size of an image in QCOW2 format is used upon check during import. |
Network | By default, Tencent Cloud provides local area connection network interface for the instance. You can use the metadata service to query the network configuration of the instance. For more information, see Instance Metadata. |
Driver | Virtio driver of the virtualization module KVM must be installed for an image. The Windows system does not come with a Virtio driver by default, so first install the Windows Virtio driver before exporting a local image. Choose the download address based on the network environment: Public network download address: http://mirrors.tencent.com/install/windows/virtio_64_1.0.9.exe Private network download address: http://mirrors.tencentyun.com/install/windows/virtio_64_1.0.9.exe |
Region | Importing images from COS in another region is unavailable for the Shanghai Finance and Shenzhen Finance. |
Others |
qcow2
,vhd
, vmdk
, and raw
.Error Code | Reason | Recommended Solution |
InvalidUrl | Invalid COS link. | Check whether the COS URL is the same as the imported image URL. |
InvalidFormatSize | Format or size does not meet requirements. | |
VirtioNotInstall | Virtio driver not installed. | |
PartitionNotPresent | Partition information not found. | Image is corrupted possibly due to incorrect image creation method. |
CloudInitNotInstalled | Cloud-init software not installed. | |
RootPartitionNotFound | Root partition not found. | Image is corrupted possibly due to incorrect image creation method. |
InternalError | Other errors. | Contact our customer service. |
Was this page helpful?