All Products
Search
Document Center

ENS:Create a custom image

Last Updated:Aug 17, 2023

This topic describes how to create a custom image from an instance or by using an image builder.

Usage notes

  • After you create or import a custom image, the image is in the usable state. You can use the image to create instances, share the image with other Alibaba Cloud accounts, or export the image to an Object Storage Service (OSS) bucket. You can also delete the image if you no longer need the image.

  • After you create an Edge Node Service (ENS) instance, you can customize the instance by performing operations such as installing software and deploying application environments, and then create a custom image from the instance. Instances that are created by using the custom image contain all the custom items. This eliminates the need to configure the items for new instances.

Create a custom image from an instance

Note
  • An ENS instance is created. For more information, see Create and manage instances.

  • Sensitive data is removed from the instance. This helps prevent data security risks.

  • The instance is in the Stopped state.

  1. Log on to the ENS console.

  2. In the left-side navigation pane, choose Computing Capacity and Images > Instances.

  3. On the Instances page, find the instance from which you want to create an image, click the image.png icon in the Actions column, and then select Create Image.

  4. In the Create Image dialog box, specify a name for the image.

  5. Click OK.

Create a custom image by using an image builder

  1. Log on to the ENS console.

  2. In the left-side navigation pane, choose Computing Capacity and Images > Images.

  3. On the Mirror builder tab, click Make a mirror.

    Note

    Advanced settings are optional. In most cases, you do not need to configure advanced settings. If you want to verify the attaching and partitioning of a data disk, you can configure the advanced settings to specify the data disk requirements and attach the data disk when you create the image.

  4. Click OK.

  5. On the Mirror builder tab, obtain the IP address of an image builder. Then, log on to the image builder by using SSH and deploy the software and application on the image builder.

  6. Click Upload Image. After the image is uploaded, click Release Builder.