Updated on 2023-12-04 GMT+08:00

Registering a Private Image Using an ISO File

Scenario

This section describes how to create a Windows private image.

Prerequisites

  • You have obtained the username and password for logging in to the console.
  • You have prepared the OS ISO file. For details, see Table 1.

    The name of the ISO image file can contain only letters, digits, hyphens (-), and underscores (_). If the name does not meet the requirements, change it.

Procedure

Integrating the VMTools driver into an ISO File using AnyBurn

  1. Install AnyBurn on the local PC.
  2. Download the VMTools driver package and decompress it to your local PC.
  3. Use AnyBurn to open the ISO file.

    Open the AnyBurn software and select Edit Image File, as shown in Figure 1.

    Figure 1 Editing an image file

    Select the ISO file and click Next, as shown in Figure 2.

    Figure 2 Selecting the ISO file

  4. Edit the ISO file to integrate the VMTools driver.

    Decompress the vmtools-windows.zip file downloaded in 2 to obtain vmtools-windows.iso, and then decompress vmtools-windows.iso to obtain the vmtools-windows folder, as shown in Figure 3.

    Figure 3 vmtools-windows folder

    Drag the decompressed vmtools-windows folder to the parent node of the ISO file (or click Add and select the vmtools-windows folder), and click Next, as shown in Figure 4.

    Figure 4 Adding the vmtools-windows folder to the parent node of the ISO file

    Specify the save path and ISO file name, select the ISO format, and click Create Now.

    After the ISO file is generated, view the ISO file integrated with the VMTools driver in the save path, as shown in Figure 5.

    Figure 5 Viewing the ISO file integrated with the VMTools driver

Registering a private image

  1. Log in to the Huawei Cloud management console.
  2. Upload an image file.

    You are advised to use OBS Browser+ to upload external image files to an OBS bucket. For details, see OBS Browser+ Best Practices.

    For details about how to download, install, and log in to OBS Browser+, see section "Tools Guide" > "OBS Browser+" in OBS User Guide.

    • If no OBS bucket is available, create one by referring to section "Getting Started" in OBS User Guide.
    • The bucket file and the image to be registered must belong to the same region.
    • Only unencrypted external image files or those encrypted using SSE-KMS can be uploaded to the OBS bucket.
    • The storage class of the OBS bucket must be Standard.

  3. Click Service List. Under Compute, click Image Management Service.

    The IMS console is displayed.

  4. Click Create Image in the upper right corner of the page.
  5. In the Image Type and Source area, select Import Image for Type and ISO image for Image Type.
  6. In the image file list, select the bucket in 6 and then the image file.
  7. In the Image Information area, configure basic information about the image according to Table 1. Retain the default values for the parameters that are not listed below.

    Table 1 Image parameters

    Parameter

    Description

    Architecture

    Select x86.

    Boot Mode

    Select BIOS.

    OS

    Configure this parameter based on the OS version, for example, Windows Server 2016 Standard 64bit.

    System Disk (GiB)

    Configure this parameter based on the OS requirements, for example, 40 GiB.

    Name

    Enter the image name, for example, WindowsXXX-Template_ISO.

    Enterprise Project

    Select the enterprise project to which the resource belongs, for example, default.

  8. Click Create now.
  9. Confirm the image parameters, select I have read and agree to the Image Disclaimer, and click Submit.
  10. Return to the private image list to view the image status.

    When the image status becomes Normal, the image has been created.