Help Center/ Huawei Cloud Flexus_Huawei Cloud Flexus X Instance/ User Guide/ Managing Images/ Creating a FlexusX Instance from a Private Image or Using a Private Image to Change the OS
Updated on 2024-09-25 GMT+08:00

Creating a FlexusX Instance from a Private Image or Using a Private Image to Change the OS

Scenarios

You can use a private image to quickly create FlexusX instances with the same configurations or change the OS of a FlexusX instance. For more information, see Image Management Service.

Billing

Creating a FlexusX instance from a private image or using a private image to change the OS does not cost anything.

Constraints

Item

Description

Region

A private image is a regional resource. The FlexusX instances you want to create or change the OS for and the image you want to use must be in the same region. Otherwise, the image cannot be selected.

Cloud server architecture

Only x86 is supported.

Image type

Only Linux images are supported.

Specifications

When you use a private image to create a FlexusX instance or change the OS, ensure that the instance specifications (vCPUs, memory, and system disk capacity) meet the requirements of that private image. Otherwise, the private image cannot be used.

Preparations

First, you need to create a private image based on one of the three scenarios described here.

Table 1 Creating or importing an image using IMS

Image Source

Reference

Scenario 1

If your private image is created from a Huawei Cloud ECS or BMS, it can be used in the current region.

If you want to use the private image in another region, replicate the image to the region where you want to use it first.

Scenario 2

If your private image is created on another cloud platform or downloaded from a third party, import the private image using IMS.

The import process depends on the image file format. The following formats are supported:

  • VMDK, VHD, QCOW2, RAW, VHDX, QED, VDI, QCOW, ZVHD2, and ZVHD
  • ISO

Scenario 3

If you want to use a private image from another account, ask the account owner to share the image with you, and you can replicate the shared image as a private image.

Creating a FlexusX Instance from a Private Image

After creating or importing a private image using IMS, you can select the private image from the image list when creating a FlexusX instance. For details about how to purchase a FlexusX instance, see Purchasing a FlexusX Instance.

Figure 1 Creating a FlexusX instance from a private image

Using a Private Image to Change the OS of a FlexusX Instance

After creating or importing a private image using IMS, you can use the private image to change the OS of your FlexusX instance. For details, see Changing the OS of a FlexusX Instance.

Figure 2 Using a private image to change the OS of a FlexusX instance