Updated on 2024-03-12 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 (_).

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 the vmtools-windows.iso file, and then decompress the vmtools-windows.iso file 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 Destination image file (name and type), select the ISO format, and click Create Now.

    After the ISO file is generated, view it in the save path specified in the Select image file name, as shown in Figure 5.

    Figure 5 Viewing the ISO file integrated with the VMTools driver

Registering a private image

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

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

    For details about how to download, install, and log in to OBS Browser+, see "OBS Browser+" in the Tools Guide of OBS.

    • If no OBS bucket is available, create one by referring to "Creating a Bucket" in the Getting Started of OBS.
    • The bucket file and the image to be registered must in 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 and the image file 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 ISO file.
  7. On the Image Information page, 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, 60 GB.

    Name

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

    Enterprise Project

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

    NOTE:

    This parameter is mandatory if the enterprise project has been enabled.

  8. Confirm the image parameters, select I have read and agree to the Statement of Commitment to Image Creation and Image Disclaimer., and click Next.
  9. Click Submit.

    View the image status on the displayed private image list.

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