Elastic IP Address (EIP) supports tag management. You can tag EIPs to facilitate resource search and aggregation.
Overview

As shown in the preceding figure, it is difficult to manage a large number of EIPs. You can use tags to group EIPs. This allows you to search and filter EIPs in a more efficient way.
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.
Limits
You can add up to 20 tags to each EIP. You cannot increase the quota.
Add tags
Add tags to an EIP
- Log on to the Elastic IP Address console .
In the top navigation bar, select the region of the EIP.
On the Elastic IP Addresses page, find the EIP, move the pointer over
in the Tags column, and then click Bind or Edit in the pop-up box. If the Tags column is not displayed, click
in the upper-right corner of the EIP list. In the Configure Tags dialog box, specify the key and the value, and click OK.
Parameter
Description
Tag Key
Specify a tag key. You can select or enter a tag key.
The key cannot exceed 64 characters in length and cannot start with
aliyunoracs:. The key cannot containhttp://orhttps://.Tag Value
Specify a tag value. You can select or enter a tag value.
The value cannot exceed 128 characters in length and cannot start with
aliyunoracs:. The value cannot containhttp://orhttps://.In the Configure Tags successfully message, confirm the information and click Close.
Add tags to multiple EIPs at a time
- Log on to the Elastic IP Address console .
- In the upper-left corner, select the region where the EIP is created.
On the Elastic IP Addresses page, select the EIPs to which you want to add tags, and choose Configure Tags>Batch Add Tags in the lower-left corner.
In the Configure Tags dialog box, select or enter a key-value pair, and then click OK.
In the Configure Tags successfully message, confirm the information and click Close.
Filter EIPs by tag
You can filter EIPs by tag.
- Log on to the Elastic IP Address console .
- In the upper-left corner, select the region where the EIP is created.
On the Elastic IP Addresses page, click Filter by Tag above the EIP list.
In the list that appears, select or enter a key-value pair.
The EIPs that meet the conditions are displayed in the EIP list.
Remove tags
If a tag is added to more than one EIP and you remove the tag from an EIP, the tag is not removed from other EIPs.
Remove tags from an EIP
- Log on to the Elastic IP Address console .
- In the upper-left corner, select the region where the EIP is created.
On the Elastic IP Addresses page, find the EIP, move the pointer over
in the Tags column, and then click Edit in the pop-up box. In the Configure Tags dialog box, find the tag that you want to delete, click
on the right side, and then click OK. You can also add tags in this dialog box.
In the Configure Tags successfully message, confirm the information and click Close.
Remove tags from multiple EIPs at a time
- Log on to the Elastic IP Address console .
- In the upper-left corner, select the region where the EIP is created.
On the Elastic IP Addresses page, select the EIP from which you want to remove tags and choose Configure Tags>Batch Delete Tags in the lower-left corner.
In the Delete Tags for Multiple Resources dialog box, select the key-value pairs and click Unbind N tags.
N indicates the number of tags to be removed.
In the Configure Tags successfully message, confirm the information and click Close.
References
TagResources: creates tags and adds the tags to resources.
ListTagResources: queries tags added to resources.
UnTagResources: removes tags from resources.