Manage tags
Tags let you categorize Anycast EIP instances for easier searching and filtering.
How tags work
As your Anycast EIP instance count grows, tags help you organize, search, and filter instances by group.
Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
Each tag key added to an instance must be unique.
You cannot create tags without adding them to instances. All tags must be added to instances.
Tag information is not shared across regions.
For example, tags created in the China (Hangzhou) region are not displayed in the China (Shanghai) region.
You can modify the key and value of a tag or remove a tag from an instance. If you delete an instance, all tags added to the instance are deleted. This operation does not affect the tags added to other instances.
Limitations
You can attach a maximum of 20 tags to each Anycast EIP instance. This quota cannot be increased.
Add tags to an instance
Add tags to a single instance
-
Log on to the Anycast EIP console.
-
On the Anycast Elastic IP Addresses page, find the instance, hover over the
icon in the Tags column, and then click Edit or Edit in the tooltip.If the Tags column is not displayed, click the
icon in the upper-right corner of the Anycast EIP list to display it. -
In the Configure Tags dialog box, set the tag key and value, and then click OK.
Parameter
Description
Tag Key
Select an existing tag key or enter a new one.
A tag key can be up to 64 characters long, cannot start with
aliyunoracs:, and cannot containhttp://orhttps://.Tag Value
Select an existing tag value or enter a new one.
A tag value can be up to 128 characters long, cannot start with
aliyunoracs:, and cannot containhttp://orhttps://. -
In the Configure Tags successfully dialog box, review the changes and then click Close.
Add tags to multiple instances
-
Log on to the Anycast EIP console.
-
On the Anycast Elastic IP Addresses page, select the instances you want to tag, and then in the lower-left corner, choose Configure Tags>Batch Add Tags.
-
In the Configure Tags dialog box, set the Tag Key and Tag Value, and then click OK.
-
In the Configure Tags successfully dialog box, review the changes and then click Close.
Search for instances by tag
After you tag instances, you can filter the instance list by tag.
Remove tags from an instance
Removing a tag from one instance does not affect other instances that share the same tag.
Remove tags from a single instance
-
Log on to the Anycast EIP console.
-
On the Anycast Elastic IP Addresses page, find the instance, hover over the
icon in the Tags column, and then click Edit in the tooltip. -
In the Configure Tags dialog box, find the key-value pair to remove, click the
icon next to it, and then click OK. -
In the Configure Tags successfully dialog box, review the changes and then click Close.
Remove tags from multiple instances
-
Log on to the Anycast EIP console.
-
On the Anycast Elastic IP Addresses page, select the instances from which to remove tags. Then, in the lower-left corner, choose Configure Tags>Batch Delete Tags.
-
In the Delete Tags for Multiple Resources dialog box, select the key-value pairs that you want to remove, and then click Unbind N tags.
Here, N is the number of tags you selected to unbind.
-
In the Configure Tags successfully dialog box, review the changes and then click Close.
References
-
TagResources: Creates and binds tags to specified Anycast EIP instances.
-
ListTagResources: Lists the tags bound to Anycast EIP instances.
-
UntagResources: Unbinds tags from specified Anycast EIP instances.