Managing Tags

Scenarios

Tag Management Service (TMS) enables you to use tags on the management console to manage resources. TMS works with other cloud services to manage tags. TMS manages tags globally. Other cloud services manage only their own tags.

  • You are advised to set predefined tags on the TMS console.

  • A tag consists of a key and value. You can add only one value for each key.

  • Up to 20 tags can be added for each DB instance.

Adding a Tag

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.

  4. On the Instances page, click the target DB instance.

  5. On the Tags page, click Add Tag. In the displayed dialog box, enter a tag key and a tag value, and click OK.

    • The tag key must be unique. It can consist of up to 128 characters. Each tag key allows letters, numbers, spaces, and the following characters: _ . : = + - @. It cannot start or end with a space, or start with _sys_.

    • The tag value (optional) can consist of up to 255 characters. Each tag value allows letters, numbers, spaces, and the following characters: _ . : / = + - @. The tag value can start or end with a space, and it will be truncated.

  6. After a tag has been added, you can view and manage it on the Tags page.

Editing a Tag

  1. Log in to the management console.

  2. Click image2 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.

  4. On the Instances page, click the target DB instance.

  5. On the Tags page, locate the tag to be edited and click Edit in the Operation column. In the displayed dialog box, change the tag value and click OK.

    • Only the tag value can be edited.

    • The tag value (optional) can consist of up to 255 characters. Each tag value allows letters, numbers, spaces, and the following characters: _ . : / = + - @. The tag value can start or end with a space, and it will be truncated.

  6. After a tag has been edited, you can view and manage it on the Tags page.

Deleting a Tag

  1. Log in to the management console.

  2. Click image3 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.

  4. On the Instances page, click the target DB instance.

  5. On the Tags page, locate the tag to be deleted and click Delete in the Operation column. In the displayed dialog box, click Yes.

  6. After a tag has been deleted, it will no longer be displayed on the Tags page.