This topic describes how to add tags to an AnalyticDB for PostgreSQL instance. Each tag consists of a key and a value. You can use tag keys and values to classify a large number of instances.
Limits
You can add up to 20 tags to each 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 up to 50 instances at a time.
Instances in different regions do not share the same tag namespace.
After you remove a tag from an instance, AnalyticDB for PostgreSQL checks whether the tag is added to other instances. If not, AnalyticDB for PostgreSQL deletes the tag.
Procedure
Log on to the AnalyticDB for PostgreSQL console.
In the upper-left corner of the console, select the region where the instance resides.
Find the instance to which you want to add tags and move the pointer over the
icon in the Tag column.
Click Edit.
In the Edit Tags dialog box, specify values for the Tag Key and Tag Value parameters, and then click OK.
NoteTo add multiple tags, repeat this step.