Creating a Private Image from an External Image File
Scenarios
You can create and register a private image using an external image file. Figure 1 shows the procedure.
The procedure contains the following steps:
- Prepare an image file. For details, see Bare Metal Server Private Image Creation Guide.
- Upload the image file to your OBS bucket. For details, see Upload an External Image File.
- On the management console, select the uploaded image file and register it as a private image. For details, see Register a Private Image.
Upload an External Image File
You can import an image file in VHD, VMDK, QCOW2, RAW, VHDX, QCOW, VDI, QED, ZVHD, or ZVHD2 format to create a private image.
Use OBS Browser to upload external image files. For details, see Object Storage Service User Guide.
When uploading the external image file, you must select an OBS bucket with standard storage.
Register a Private Image
- Log in to the management console.
- Under Computing, click Image Management Service.
The IMS console is displayed.
- Click Create Image in the upper right corner.
- Configure the following information:
- Type: Select System disk image.
- Source: Select Image file.
In the bucket list, select the bucket that stores the image file and select the image file.
Image Information
- Function: Select BMS system disk image.
Ensure that you have completed initialization configuration on the image file by following the instructions in Bare Metal Server Private Image Creation Guide.
- OS: (Optional) Select the OS of the image file.
To ensure that the image can be created and used properly, select the OS consistent with that of the image file.
- System Disk (GB): Set the system disk size. You are advised to set the value to the image system disk size plus 2 GB.
- Name: Enter a name for the image to be created. The value can contain only letters, digits, spaces, hyphens (-), underscores (_), and periods (.), and cannot start or end with a space.
- Description: (Optional) Enter description of the image.
- Click Create Now.
On the displayed Details page, confirm the configuration and click Submit.
- Return to the image list. If the status of the private image changes to Normal, the private image is registered successfully.
The time required for registering a private image varies depending on the size of the image file.
Follow-up Operations
You can use the private image to create a BMS by following the instructions in Creating a BMS Using a Private Image.
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