Registering an Image File as a Private Image for iMetal Servers
- Log in to the management console, click Service List, and choose Compute > Image Management Service.
- Click Create Image in the upper right corner.
- In the Image Type and Source area, set parameters as prompted.
- Region: Set it to the region where your iMetal servers will be created.
- Type: Select Import Image.
- Image Type: Select System disk image.
- Select Image File: Select the image file that has been uploaded to an OBS bucket in Uploading an Image File to an OBS Bucket.
You can enter a bucket name in the search box in the upper right corner of the list to search for the bucket.
- In the Image Information area, set parameters as prompted.
Table 1 Parameter description Parameter
Example Value
Description
Function
BMS system disk image
Select BMS system disk image.
Architecture
x86
Currently, only the x86 architecture is supported. Select x86.
Boot Mode
BIOS
This parameter is optional. The value can be BIOS or UEFI. For details about the differences between the two boot modes, see How Is BIOS Different from UEFI?
For details about which OSs support UEFI boot, see OSs Supporting UEFI Boot Mode.
The boot mode must be the same as that in the image file. You need to confirm which boot mode is used in the image file. After you select the right boot mode, the boot mode will be configured for the image at the background. Select a correct boot mode. Otherwise, the servers created from the image cannot be started.
OS
Ubuntu
20.04 server 64bit
To ensure that the image can be created and used properly, select an OS consistent with that in the image file. If you do not select an OS, the system attempts to automatically identify the OS in the image file.
NOTE:- If the system identifies that the OS in the image file is different from the one you select here, the identified OS prevails.
- If the system fails to identify an OS, the OS you select will be used.
- If the OS you selected or identified by the system is inconsistent with the actual one, servers created from the image file may be affected.
System Disk (GiB)
40
System disk capacity (value range: 40 GiB to 1024 GiB). Ensure that this value is not less than the system disk capacity in the image file.
NOTE:If you fail to upload a VHD image converted using qemu-img or other similar tools, see Why Did My VHD Upload Fail? Why Does the System Say the System Disk in the VHD Image File Is Larger Than What I Specified on the Management Console?
Data Disk
Not added
You can also add data disks to the image. You need to obtain an image file containing data disks in advance. This function is used to migrate VMs and data disks from other platforms to the current platform.
To add a data disk, click
, configure the data disk capacity, and click Select Image File. In the displayed dialog box, select a bucket and then an image file containing the data disk.
A maximum of three data disks can be added.
Name
UbuntuImage
Set a name for the image.
Encryption
Not selected
(Optional) If you want to encrypt the image, select KMS encryption and select a key from the drop-down list. After you select KMS encryption, the system will create a default key ims/default for you. You can also select a key from the key list.
For details about how to encrypt an image, see Creating Encrypted Images.
NOTE:If the encrypted image needs to be shared with other tenants, use a custom key to encrypt it. Otherwise, the key cannot be authorized to other tenants, causing a sharing failure.
Enterprise Project
default
Select an enterprise project from the drop-down list. This parameter is available only if you have enabled enterprise projects or your account is an enterprise account.
An enterprise project can be used to centrally manage cloud resources and members by project.
Tag
Tag key: usage
Tag value: project
(Optional) Set a tag key and a tag value for the image to make identification and management of your images easier. You are advised to create predefined tags in TMS. For details, see Creating Predefined Tags .
NOTE:If your organization has configured tag policies for images, you need to add tags to your images based on the policies. If you add a tag that does not comply with the tag policies, images may fail to be created. Contact the organization administrator to learn more about the tag policies.
- Each tag consists of a key and a value. A key contains a maximum of 36 characters, and a value contains a maximum of 43 characters. The key cannot be left blank or an empty character string. The value cannot be left blank but can be an empty character string.
- An image can have a maximum of 10 tags.
Description
imageTest
(Optional) Describe the image.
- Read and agree to the image disclaimer. Click Next.
- Confirm the parameter settings and click Submit.
- Go back to the private image list. When the image status changes to Normal, the image is created successfully.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot