Create tags and add them to instances to classify and filter instances by tag.
Precautions
-
A tag is a key-value pair. Each key must be unique within an Alibaba Cloud account in a region. Values have no uniqueness constraint.
NoteA key can have zero or more values.
-
You can edit tags for up to 50 instances at a time.
-
You can add up to 20 tags to an instance.
-
You can add or remove up to 20 tags at a time.
Create tags
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides.
Perform one of the following steps to create tags for one or more instances:
Create tags for a single instance
In the Tag column corresponding to the instance that you want to manage, click the
icon. Create tags for multiple instances
Select the instances and click Edit Tags below the instance list.
In the dialog box that appears, specify tag keys and tag values.
NoteYou can select an existing tag to add the tag to the instance.
In the lower-right corner of the dialog box, click OK.
Filter instances by tag
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides.
-
On the Instances page, click Select one or more tags and select a tag key and value.
NoteAfter you create or update a tag, refresh the page to view the updated tag list.
-
Click Search.
Remove or delete tags
Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides.
-
In the Tag column of the target instance, click the
icon and click Edit. -
In the dialog box, click the
icon next to the tag that you want to remove or delete. Note-
You can remove up to 20 tags at a time.
-
If a tag is removed from all instances, the tag is automatically deleted.
-
An instance keeps running when you remove its tags. After all tags are removed from an instance, the instance cannot be filtered by tag.
-
-
Click OK.
Related API operations
|
Operation |
Description |
|
Add tags to one or more instances. |
|
|
Query tags added to an instance. |
|
|
Remove tags from one or more instances. |