All Products
Search
Document Center

Elastic Compute Service:Manage image templates and image components

Last Updated:Apr 01, 2024

Image Builder allows you to view the detailed information of image templates, clone image templates, and delete image components or image templates.

View the details of an image template

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Deployment & Elasticity > icon1 > Image Builder.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Image Templates tab of the Image Builder page, find the target image template and click its ID in the Template ID/Template Name column.

    On the Template Details page, you can perform the following operations:

    • In the Basic Information section, view the basic information of the image template.

    • On the Building History tab, view the execution history of image building tasks or execute image building tasks.

    • On the View Template tab, view the content of the image template.

Clone an image template

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Deployment & Elasticity > icon1 > Image Builder.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Image Templates tab of the Image Builder page, find the target image template and click Clone in the Actions column.

  5. On the Clone Image Template page, modify the parameters of the image template based on your business requirements and click OK.

    After the image is cloned, a new image template is added to the Image Builder page.

Delete Image Template

The content of image templates cannot be modified. You can only delete image templates and create new ones. You may need to delete an image template in the following scenarios:

  • It has exceptions. In this case, you can delete it and create another template.

  • It is no longer needed by your business.

Note

Deleting an image template does not affect the images that have been created using the template.

Prerequisites

The image building tasks of the image template are in the Succeeded, Failed, or Canceled state. An image template cannot be deleted if there is a running image building task that was created based on that template. For information about how to view the status of building tasks, see the View image templates section of this topic.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Deployment & Elasticity > icon1 > Image Builder.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Image Templates tab of the Image Builder page, find the target image template and click Delete in the Actions column.

Delete an image component

The content of image components cannot be modified. You can only delete image components. You may need to delete an image component in the following scenarios:

  • It has exceptions. In this case, you can delete it and create another component.

  • It is no longer needed by your business.

Precautions

Take note of the following items before you delete an image component:

  • You can only delete custom image components that you created. System components cannot be deleted.

  • Deleting an image component does not affect the existing images that use the image component.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Deployment & Elasticity > icon1 > Image Builder.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Image Builder page, click the Image Components tab.

  5. Find the image component that you want to delete. Click Delete in the Actions column.

  6. Verify the name and ID of the image component that you want to delete. Then, click OK.