Updated on 2026-11-24 GMT+08:00

Managing Resource Tags

As an enterprise grows, its cloud account accumulates more resources, such as multiple cloud servers, multiple cloud databases, and storage resources in different regions. Frequent resource filtering and permission assignment become necessary, but distinguishing resources by name or group alone is difficult, which fails to meet efficient management requirements.

How can we efficiently filter, classify, and precisely control resources when an account holds a growing number of them? The Tag Management Service (TMS) helps you manage cloud resources under an account.

To add the same tag to different cloud resources, use TMS to create predefined tags. For details, see Creating Predefined Tags.

TMS enables you to use tags on the management console to manage resources. TMS works with other cloud services to enable tag management. TMS manages tags globally, and other cloud services use these tags to manage their specific tasks.

  • A tag consists of a key and value. You can add only one value for each key.
  • Each instance can have up to 10 tags.

Adding a Resource Tag

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. In the resource list, locate the target instance and move the cursor to in the tag column. In the displayed window, click Tag Management.

    If the tag column is not displayed in the resource list, click on the right of the filter box and select Label.
    Figure 1 Managing tags

  4. On the tag management page, click Add Tag to add a tag to the resource.

    • When you enter a tag key and value, the system automatically displays all predefined tags associated with the current user.
    • The tag key can contain a maximum of 128 characters and cannot start or end with a space, or start with _sys_. It can contain letters, digits, spaces, and the following special characters: _.:=+-@
    • The tag value cannot start or end with a space. It can contain letters, digits, spaces, and the following special characters: _.:=+-@. A maximum of 256 characters are allowed.

  5. Click OK. The tag is added.

    After adding a tag, you can filter resources by tag key or value.

    Figure 2 Filtering resources

Modifying Resource Tags

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. In the resource list, locate the target instance and move the cursor to in the tag column. In the displayed window, click Tag Management.

    If the tag column is not displayed in the resource list, click on the right of the filter box and select Label.

    Figure 3 Managing tags

  4. In the tag list, click the key or value text box of a tag and enter a new key or value.
  5. Click OK. The tag is modified.

    After the tag is modified, you can use the new tag to filter resources.

Deleting a Resource Tag

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. In the resource list, locate the target instance and move the cursor to in the tag column. In the displayed window, click Tag Management.

    If the tag column is not displayed in the resource list, click on the right of the filter box and select Tag.

    Figure 4 Managing tags

  4. In the tag list, locate the tag to be deleted and click .
  5. Click OK. The tag is deleted.

    After a tag is deleted, the number of tags displayed in the resource tag column decreases.

Helpful Links

You can use tags to manage instances by group and perform automated O&M. For details, see Saving Costs Through Scheduled Startup and Shutdown on COC.