Creating a Private Image from a FlexusL Instance
Scenarios
You can use an existing FlexusL instance to create a private image, which can be a system disk image, data disk image, or full-server image.
- A system disk image is created from the system disk of a FlexusL instance and contains an OS and application software for running services. You can migrate your services to the cloud using the image.
- A data disk image is created from the data disk of a FlexusL instance and contains only user service data. You can export the data disk of a FlexusL instance by creating a data disk image. You can use a data disk image to create EVS disks and use them to migrate your service data to the cloud.
- A full-server image is created from the system and data disks of a FlexusL instance and contains user service data. It can be used to quickly provision cloud servers that contain user service data.
You can create a private image on the FlexusL console or the IMS console. This section describes how to create a private image on the FlexusL console.
Precautions
- Creating an image from a FlexusL instance does not affect services running on the instance or cause data loss.
- When creating an image from a FlexusL instance, do not stop, start, or restart the instance, or the image creation may fail.
- The time required for creating an image from a FlexusL instance is affected by the data size, network status, and number of concurrent tasks of the instance.
- The FlexusL instance and the image created from it must belong to the same region. For example, if a FlexusL instance is located in the CN North-Beijing4 region, the image created from the FlexusL instance must also be located in the region. If you want to use an image in other regions, copy the image to the destination region first. For details, see Replicating Images Across Regions.
- When you create a full-server image from a FlexusL instance running Windows, the FlexusL instance cannot have any spanned volume. Otherwise, data may be lost when you create a cloud server using that full-server image.
- When you create a full-server image from a FlexusL instance running Linux, the instance cannot have a volume group or a logical volume consisting of multiple physical volumes. Otherwise, data may be lost when you create cloud servers using the full-server image.
- When a FlexusL instance is stopped, the FlexusL instance cannot be started during the full-server image creation.
Billing
Creating system disk images and data disk images is free of charge. Creating full-server images will be charged. For details, see Billing.
Constraints
- You can create private images only from FlexusL instances that are running or stopped.
- Images cannot be created in batches.
For details about constraints on creating a private image, see Constraints.
Procedure
- Log in to the FlexusL console.
By default, FlexusL instances are displayed in the card view. You can also click
to switch to the list view. - Select the card of the FlexusL instance from which you want to create an image. You can create an image in any of the following ways:
- On the Create Image page, set Image Type and Source and Image Information as required. For details about the parameters, see Table 1 and Table 2. Figure 4 Configuring the image type and source
Figure 5 Configuring the image information
Table 1 Image type and source Parameter
Description
Region
The FlexusL instance and the image created from it must belong to the same region.
For example, if a FlexusL instance is located in the CN North-Beijing4 region, the image created from the FlexusL instance must also be located in the region. If you want to use an image in other regions, copy the image to the destination region first. For details, see Replicating Images Across Regions.
Type
Retain the default setting: Create Image.
Image Type
Select System disk image, Full-ECS image, or Data disk image as required.
- A system disk image is created from the system disk of a FlexusL instance and contains an OS and application software for running services. You can migrate your services to the cloud using the image.
- A data disk image is created from the data disk of a FlexusL instance and contains only user service data. You can export the data disk of a FlexusL instance by creating a data disk image. You can use a data disk image to create EVS disks and use them to migrate your service data to the cloud.
- A full-server image is created from the system and data disks of a FlexusL instance and contains user service data. It can be used to quickly provision cloud servers that contain user service data.
Source
Select the FlexusL cloud server from which an image is to be created. The system automatically configures the cloud server. Retain the default configuration.
If you select Full-ECS image, you also need to select Server Backup Vault. If no vault is available, follow the prompts to create a vault. For details about how to purchase a server backup vault, see Creating a Server Backup.
Table 2 Image information Parameter
Description
Encryption
Determines whether the image is encrypted. The setting cannot be changed.
- Images created using an unencrypted cloud server will not be encrypted.
- Images created using an encrypted cloud server will automatically be encrypted.
Name
Set a name for the image.
- A name can contain 1 to 128 characters.
- The name cannot start or end with a space.
- The name can contain the following characters:
- Uppercase letters
- Lowercase letters
- Digits
- Special characters: hyphens (-), periods (.), underscores (_), and spaces.
Enterprise Project
Select an enterprise project from the drop-down list. This parameter is available only if you have enabled Enterprise Project or your account is an enterprise account. To enable this function, contact your customer manager.
An enterprise project can be used to centrally manage cloud resources and members by project.
Tag
(Optional) Set a tag key and a tag value for the image to make identification and management of your images easier.
Description
(Optional) Enter a description of the image.
- Read and select the agreement, click Next, and perform operations as prompted.
After the image is created, you can view the image creation progress in the private image list. When the image status becomes Normal, the image creation is complete.
Figure 6 Image status
Follow-Up Operations
After creating an image, you can use the image to quickly create servers with the same configurations.
- Creating or switching the OS of a FlexusL instance:
Use a private image to create a FlexusL instance or change the OS of an existing FlexusL instance. For details, see Creating a FlexusL Instance from a Private Image or Using a Private Image to Change the OS.
FlexusL instances support only system disk images.
- Creating or switching the OS of a FlexusX instance:
Use a private image to create a FlexusX instance or change the OS of an existing FlexusX instance. For details, see Creating a FlexusX Instance from a Private Image or Using a Private Image to Change the OS.
- Creating or switching the OS of an ECS:
- Use a private image to create an ECS. For details, see Creating an ECS from an Image.
- Use an image to change the OS of an existing ECS. For details, see Changing the OS.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot




