You can remove a tag from a resource when the tag is no longer needed to manage or retrieve the resource. This topic describes how to remove a tag from a resource in the Elastic Compute Service (ECS) console. If you remove a tag from a resource and the tag is not added to any other resources, this tag is automatically deleted.
A tag is added to specific resources.
- Up to 20 tags can be removed at a time.
- If you remove a tag from all of its resources such as ECS instances, snapshots, and security groups, the tag is deleted.
The following section provides an example on how to remove a tag named ECS:Documentation from one or more ECS instances.
- Log on to the ECS console.
- In the left-side navigation pane, click Tags.
- On the Custom Tags tab, select Instance from the Resource Type drop-down list.
- In the tag list, find the ECS:Documentation tag that you want to remove. Then, 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.
- On the Resources tab, remove the tag from one or more resources.
- Remove the tag from a single resource: Find the resource from which you want to remove the tag and click Remove from Resources in the Actions column.
- Remove the tag from multiple resources at a time: Select multiple resources from which you want to remove the tag and click Remove from Resources in the lower part of the tab.
- In the Remove from Resources message, click OK.
After the tag is removed from one or more resources, you can click the icon on the Resources tab to verify the removal.
What to do next
If you implement access control or automated O&M, or generate bill reports based on tags, you need to pay attention to the business changes caused by removing the tags. For more information, see Considering ramifications of future changes.