This topic describes how to add tags to one or more ApsaraDB RDS for MySQL instances. You can use tags to classify a large number of RDS instances. Each tag consists of a key and a value. You can use tag keys and values to further classify RDS instances.
- You can add a maximum of 20 tags to each RDS instance. Each tag must have a unique key. If two tags have the same key, the tag that is created later overwrites the earlier tag.
- You can add tags to a maximum of 50 RDS instances at a time.
- RDS instances in different regions do not share the same tag namespace.
- After you remove a tag from an RDS instance, ApsaraDB RDS checks whether the tag is added to other RDS instances. If the tag is not added to other RDS instances, ApsaraDB RDS deletes the tag.
- Log on to the ApsaraDB RDS console. In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instances reside.
- Add tags to your RDS instances.
- If you want to add tags to a single RDS instance, find the RDS instance. Then, click
+Add Label in the Tags column.
Note After you find the RDS instance, you can also choosein the Actions column.
- If you want to add tags to multiple RDS instances at a time, select these RDS instances. Then, click Edit Tag below the instance list.
- If you want to add tags to a single RDS instance, find the RDS instance. Then, click +Add Label in the Tags column.
- Click Create a label, enter the key and value of each tag that you want to create, and then click OK to the right of the value.
Note If tags are created, you can select each tag that you want to add from the Select the label drop-down list.
- If you add tags to multiple RDS instances at a time, specify the The binding way parameter. Then, click OK.
- If you select Append Tag, ApsaraDB RDS does not remove the existing tags from the RDS instances. ApsaraDB RDS directly adds the specified tags. For example, the key1:value1 tag is added to the RDS instances. In this case, after you add the key2:value2 tag to the RDS instances, a total of two tags are added to these instances. These tags are key1:value1 and key2:value2.
- If you select Overwrite Existing Tag, ApsaraDB RDS removes the existing tags from the RDS instances. Then, ApsaraDB RDS adds the specified tags to the RDS instances. For example, the key1:value1 tag is added to the RDS instances. In this case, after you add the key2:value2 tag to the RDS instances, only one tag is added to these instances. The tag is key2:value2.
|Create and bind tags||Creates and adds tags to one or more RDS instances.|