Elastic Cloud Server

Create a Linux private image from a cloud server

2025-11-24 08:40:06

Scenario

You can create a customized Linux image through the cloud server. By creating a Linux private image, you can get a higher degree of customization and flexibility, ensuring the consistency and repeatability of the application environment.

This section describes how to create a Linux private image through cloud server.

Prerequisites

· A cloud server running the Linux OS already installed.

· It is necessary to ensure that the cloud server NIC used to create the private image is set to DHCP to dynamically obtain the network address, which is satisfied by default.

· Clean up the udev configuration rules.

· Configure the Linux cloud server password initialization execution command created by the private image.

· Unmount all data disks mounted on the cloud server used to create the private image.

· Only cloud servers that are currently Shutdown can be used to create private images. If the selected cloud server status is Running, please shut down it first.

Procedure

1. Log in to the console.

2. Click Service List in the left navigation bar, select Image Management Service.

3. On the Private Image page, click Create Private Image.

4. Select the corresponding Linux cloud server from the pop-up list of cloud servers.

5. Enter the Image Name and click the Next button.

6. Check and confirm the parameters for creating a private image, then check "I have read" and click Confirm Order.

7. The image creation time may be slightly slower depending on the size of the image file itself. When the status of the image is Normal, it means that the creation is complete.


qjEMdDTkX.y4