tencent cloud

Feedback

Managing Resource with Tag

Last updated: 2024-01-18 10:04:39

    Overview

    Tag is a key-value pair provided by Tencent Cloud to identify a resource in the cloud. It can help you easily categorize and manage TDMQ for RocketMQ resources in many dimensions such as business, purpose, and owner.
    Note:
    Tencent Cloud will not use the tags you set, and they are only used for your management of TDMQ for RocketMQ resources.

    Use Limits

    You need to pay attention to the following use limits of tags:
    Limit
    Description
    Quantity
    One Tencent Cloud resource can have up to 50 tags.
    Tag key
    You cannot place qcloud, tencent, or project at the beginning of a tag key as they are reserved by the system.
    A tag key can contain up to 255 digits, letters, and special symbols (+=.@-).
    Tag value
    It can contain up to 127 digits, letters, and special symbols (+=.@-) or be an empty string.

    Directions and Use Cases

    Use case

    A company has 6 TDMQ for RocketMQ clusters, with the department, business scope, and owner information as described below:
    Cluster ID
    Department
    Business Scope
    Owner
    rocketmq-qzga74ov5gw1
    Ecommerce
    Marketing
    John
    rocketmq-qzga74ov5gw2
    Ecommerce
    Marketing
    Harry
    rocketmq-qzga74ov5gw3
    Gaming
    Game A
    Jane
    rocketmq-qzga74ov5gw4
    Gaming
    Game B
    Harry
    rocketmq-qzga74ov5gw5
    Entertainment
    Post-production
    Harry
    rocketmq-qzga74ov5gw6
    Entertainment
    Post-production
    John
    You can add the following three tags to the rocketmq-qzga74ov5gw1 cluster:
    Tag Key
    Tag Value
    dept
    ecommerce
    business
    mkt
    owner
    zhangsan
    
    Similarly, you can also set appropriate tags for other resources based on their department, business scope, and owner information.

    Setting tag in TDMQ for RocketMQ console

    After designing the tag keys and values as detailed above, you can log in to the TDMQ for RocketMQ console to set tags.
    1. Log in to the TDMQ for RocketMQ console.
    2. On the Cluster Management page, select the target region and cluster and click Edit Resource Tag at the top of the page.
    
    
    3. Set tags in the Edit Tag pop-up window. For example, add three tags for the rocketmq-qzga74ov5gw1 cluster.
    
    
    Note:
    If existing tags cannot meet your needs, go to Tag Management to create more.
    4. Click OK, and you will be prompted that the tags have been modified successfully. You can view the tags bound to a cluster in its Resource Tag column.
    
    

    Filtering resource by tag key

    You can filter out clusters bound to a specific tag in the following steps:
    1. Select Tag in the search box at the top-right corner of the page.
    2. In the window that pops up, select the tag you want to search for and click OK. For example, if you select Tag: owner:zhangsan, you can filter out clusters bound to the tag key owner:zhangsan.
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support