All Products
Search
Document Center

Cloud Enterprise Network:Tags

Last Updated:Nov 21, 2025

Cloud Enterprise Network (CEN) supports tags. You can use tags to classify and label your CEN resources, which makes searching for and grouping them easier. This topic uses a CEN instance as an example to describe how to manage and use tags. The process for other CEN resources is similar.

Overview

Usage notes

标签使用示例图

As shown in the preceding figure, managing instances becomes more difficult as their number grows. You can group instances using tags to simplify searching and filtering.

A tag is a label that you assign to an instance. Each tag consists of a key-value pair. Note the following when you use tags:

  • The tag key for each tag on an instance must be unique.

  • A tag key is required, but the tag value is optional.

  • A tag must be attached to an instance. You cannot create a tag that is not attached to an instance.

  • Tags for different resources are not interchangeable.

    For example, a tag added to a CEN instance cannot be attached to a transit router instance.

  • You can modify the key and value of a tag. You can also remove a tag from an instance at any time.

  • If you delete an instance, all of its attached tags are also deleted. This does not affect tags attached to other instances.

  • You can attach a maximum of 20 tags to an instance. This quota cannot be increased.

Resource types that support tags

The following resources in Cloud Enterprise Network support tags:

CEN instances, bandwidth plan instances, transit router instances, VPC connections, VBR connections, VPN connections, inter-region connections, route tables of Enterprise Edition transit routers, flow log instances, and multicast domain instances.

Note
  • Transit router instances in Cloud Connect Network (CCN) regions do not support tags.

  • VPC connections, VBR connections, and inter-region connections of Basic Edition transit routers do not support tags.

Add tags to a CEN instance

  1. Log on to the CEN console

  2. On the Instances page, follow these steps to add tags to a CEN instance.

    • Add tags to a single CEN instance

      1. In the Tag column for the target CEN instance, hover over the Tag icon. Then, click Edit.

      2. In the Configure Tags dialog box, add one or more tags to the CEN instance and click OK.

        Configuration item

        Description

        Tag Key

        The tag key.

        Cannot be an empty string. The key can be up to 64 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

        Tag Value

        The tag value.

        Can be an empty string. The value can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

    • Add tags to multiple CEN instances

      1. Select the check boxes for the CEN instances to which you want to add tags. In the lower-left corner of the page, choose Set Tags > Add Tags.

      2. In the Configure Tags dialog box, set Tag Key and Tag Value and then click OK.

    After you add tags, you can view them by hovering over the Tagged icon in the Tag column of the target CEN instance.View tags

Use tags to search for CEN instances

After you add tags to CEN instances, you can use them to quickly filter for the required CEN instances.

  1. Log on to the CEN console

  2. On the Instances page, click Filter by Tag.

  3. In the menu, select a tag.

    标签筛选

  4. View the filtering results.

    Under Create CEN Instance, you can view the active tag filters.Selected tags

Edit tags of a CEN instance

After you add tags to a CEN instance, you can add more tags, or modify or delete the existing tags.

  1. Log on to the CEN console

  2. On the Instances page, you can edit the tags for a CEN instance as follows.

    • Edit tags of a single CEN instance

      1. In the Tag column of the target CEN instance, hover over the 已经打标 icon. Then, click Edit.

      2. In the Configure Tags dialog box, perform the following operations and click OK.

        • Add tags: You can append new tags to the current tag list.

        • Modify tags: You can select a tag and modify its key or value.

        • Delete tags: You can click the 删除 icon next to a tag to delete it.

    • Modify tags of multiple CEN instances

      1. Select the check boxes for the CEN instances whose tags you want to modify. In the lower-left corner of the page, choose Set Tags > Add Tags.

      2. In the Configure Tags dialog box, modify the tags for the CEN instances and click OK.

        • If you enter a new tag key, a new tag is added to the CEN instances.

        • If you enter an existing tag key and a new tag value, the tag value is updated for the CEN instances.

    • Delete tags from multiple CEN instances

      1. Select the check boxes for the CEN instances whose tags you want to remove. Then, in the lower-left corner of the page, select Set Tags > Remove Tags.

      2. In the Delete Tags for Multiple Resources dialog box, select the check box for the target tag, and then click Unbind tags.

    After editing a tag, hover over the Tagged icon in the Tag column of the target instance to view the updated information.View tag

References

  • TagResources: Creates and attaches tags to specified instances.

  • UntagResources: Detaches and deletes tags from a list of specified resources.

  • ListTagResources: Queries the list of tags that are attached to Cloud Enterprise Network resources.