• Image Management Service

ims
  1. Help Center
  2. Image Management Service
  3. User Guide
  4. Creating a Private Image
  5. Creating a Windows System Disk Image Using an External Image File
  6. Uploading an External Image File

Uploading an External Image File

Before registering an external image file as a private image, you must upload the image file to an OBS bucket.

You can import an image file in VHD, VMDK, QCOW2, RAW, VHDX, QCOW, VDI, QED, ZVHD, or ZVHD2 format to create a private image. QCOW2 image files are recommended. If you need to import an image file in other formats, use the qemu-img tool to convert the image format before importing the image file. The image file to be imported must be a single image file. For example, you cannot use a pre-allocated image file which depends on two files: xxxx.vmdk and xxxx-flat.vmdk. Both files can be imported to the cloud platform only after being converted into common VMDK or QCOW2 files.

For details about image file format conversion, see Converting Image File Formats.

Use OBS Browser to upload the external image file. For details, see the Object Storage Service User Guide.

  • Only unencrypted external image files or those encrypted using SSE-KMS can be uploaded to the OBS bucket.
  • If you stop an ECS before uploading an external image file to an OBS bucket, you must stop the ECS gracefully. Otherwise, when you start an ECS created from the external image file, a blue screen may occur.
  • When uploading the external image file, you must select an OBS bucket with standard storage.
Perform the following steps to start OBS Browser:
  1. Download the OBS Browser software package.

    The OBS Browser software package is integrated in OBS Console. Log in to the OBS Console and download OBS Browser on the homepage.

    When you move the cursor to Download OBS Browser, you can view information about the package version, release date, and package size.

  2. Decompress the obtained software package to a folder whose absolute path length does not exceed 130 characters.
  3. Double-click the obs.exe file to run OBS Browser.

    You can directly add a user account to manage resources on OBS. Alternatively, disable OBS Browser temporarily and log in to OBS Browser to add an account when necessary.