Help Center/ Huawei Cloud Flexus/ User Guide/ FlexusX/ Managing Images/ Creating a FlexusX Instance from a Private Image or Using a Private Image to Change the OS
Updated on 2024-07-10 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.

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.

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.

Preparations

The FlexusX instance you are creating and the private image you want to select must belong to the same region. Otherwise, the image cannot be selected for the FlexusX instance. For example, if you want to create a FlexusX instance in the CN-Hong Kong region, you can only select images from the CN-Hong Kong region. If you want to use an image from another region, replicate that image to the current region. For details, see Replicating Images Across Regions.

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 an OS.

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