Help Center> Intelligent EdgeCloud> User Guide> Edge Images> Using an Edge Instance to Create an IEC Private Image

Using an Edge Instance to Create an IEC Private Image

Scenarios

If you already have an edge instance (created during edge service creation) and you have configured it (software installation and application environment deployment configuration) based on your service requirements, you can create an IEC private image from the edge instance. The system will apply the configurations to all the new edge instances that you create based on this image.

A Linux edge instance is used as an example to describe how to create a Linux system image.

Prerequisites

  • Delete sensitive data from the edge instance to prevent data leak.
  • Ensure that the edge instance is in the Running or Stopped state. When you create the private image, do not stop, start, or restart the edge instance. Otherwise, the image creation may fail.
  • Check network configuration of the edge instance and ensure that DHCP is configured for the NICs (default for an edge instance).
  • Delete network rule files to prevent NIC name drift on the edge instances created from the image. For details, see Deleting Files in the Network Rule Directory.
  • If multiple data disks are attached to the edge instance that you use to create an IEC private image, and you use the IEC private image to create edge instances, these edge instances may not be available. Detach all data disks from the edge instance before you use it to create a private image. For details, see Detaching Data Disks from an Edge Instance.

Constraints and Limitations

By default, you can use one HUAWEI CLOUD account to create a maximum of 50 IEC private images (created from both edge instances and IMS). If you want to create more IEC private images, increase the quota by referring to Quota Adjustment.

Procedure

  1. Log in to the management console.
  2. Hover on the left menu to display Service List. Under Content Delivery & Edge Computing, select Intelligent EdgeCloud.

    The IEC Overview page is displayed.

  3. In the navigation pane on the left, choose Edge Images, and click Create Private Image in the upper right corner.
  4. On the Create Private Image page, select Edge Instance for Source.
  5. Select an edge instance that has been initialized from the list.

    If no appropriate edge instance is available, click Create Edge Service to create an edge instance.

  6. In the Image Information area, set Name to an image name that is easy to identify.
  7. Confirm the parameters. Read and select the check box, and click Create Now.
  8. Go back to the IEC private image list and view the image status.

    The time required for creating an image depends on the size of the edge instance system disk, network status, and number of concurrent tasks. When the image status changes to Normal, the image is created successfully.

Follow-up Operations

After you create the system disk image, you can use the image to create an edge instance or change the OS of an existing edge instance to migrate data between the two edge instances. For details, see