All Products
Search
Document Center

Elastic Compute Service:Remove or delete a tag

最終更新日:Mar 14, 2024

If you no longer need a tag to manage or retrieve resources, you can remove the tag from the resources. If you remove a tag from all resources, the tag is automatically deleted. This topic describes how to remove a tag from resources in the Elastic Compute Service (ECS) console.

Precautions

Before you remove tags from resources, take note of the following items:

  • Up to 20 tags can be removed at a time.

  • If you remove a tag from all resources, the tag is automatically deleted.

Procedure

The following section provides an example on how to remove a tag named ECS:Documentation from one or more ECS instances.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, click Tags.

  3. On the Custom Tags tab, select Instance from the Resource Type drop-down list.

  4. In the tag list, find the ECS:Documentation tag that you want to remove. Go to the Resources tab by using one of the following methods.

    Note

    In the ECS:Documentation tag, the tag key is ECS and the tag value is Documentation.

    • Method 1: Click the ECS tag key, and then click View Resources in the Actions column corresponding to the Documentation tag value.

    • Method 2: In the Actions column corresponding to the ECS tag key, click View Resources.

  5. On the Resources tab, remove the tag from one or more resources.

    • To remove the tag from a single resource, find the resource and click Remove from Resources in the Actions column.

    • To remove the tag from multiple resources at a time, select the resources and click Remove from Resources in the lower part of the tab.

    remove resources

  6. In the Remove from Resources message, click OK.

    After the tag is removed from one or more resources, click the tag1.png icon on the Resources tab. The resources from which the tag is removed are no longer displayed on the tab.