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

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

Scenarios

If you want to use other images except the OS images and application images provided by FlexusL instances, you can create a private image on the IMS console. Then, you can use the private image to quickly create a FlexusL instance with the same configurations as the private image or use the private image to change the OS of a Flexus L instance.

Constraints

Table 1 Constraints on FlexusL private images

Constraint

Description

Region

A FlexusL instance can only use a private image that is in the same region as the instance, or the image cannot be selected.

Cloud server architecture

Only private images created using x86 servers are supported in FlexusL.

Image type

Only system disk private images are supported. Data disk private images and full-server private images are not supported.

  • Linux system disk images only support the following image sources: free Huawei Cloud public Linux images, images created from FlexusL instances that are created using application images, and images you have imported. Other billed Linux images provided by Huawei Cloud are not supported.
  • Windows system disk images with the Bring Your Own License (BYOL) are supported.

Use SMS to migrate an entire server or migrate an OS unavailable on the cloud to a FlexusL instance.

Specifications

The FlexusL instance specifications (vCPUs, memory, and system disk capacity) must meet the requirements of the private image, or the FlexusL instance may fail to start.

For example, Windows private images require at least 2 GiB of memory.

One-click password reset plug-in

If a private image is created from a server on another cloud platform or downloaded from a third party, the private image may fail to be used to create a FlexusL instance or change the OS of an existing FlexusL instance because the onekey_resetpasswd tag is missing. For details, see What Should I Do If a Private Image Cannot Be Used to Create a FlexusL Instance or Change the OS of an Instance Because the Password Reset Plug-in Is Not Installed on the Image or the onekey_resetpasswd Tag Is Missing?

Preparations

Before using a private image to create or change the OS of a FlexusL instance, create a private image on the IMS console. Private images can be used by FlexusL instances only after they are created on the IMS console.

The FlexusL instance and private image must be in the same region, or no private image is available for the FlexusL 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 images across regions, replicate the images from other regions to the current region first. For details, see Replicating Images Across Regions.

Table 2 Creating or sharing an image using IMS

Image Source

Related Operations

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.

Refer to the operation guide based on the image file format:

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

Scenario 3

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

Procedure

When creating or changing the OS of a FlexusL instance, you can click Private Images and select a private image from the list. For details about how to create or change the OS of a FlexusL instance, see Purchasing a FlexusL Instance and Changing an OS.

If the private image is not displayed in the list, check whether the private image is in the same region as the FlexusL instance.

Related Operations