tencent cloud

Feedback

Managing Resource with Tag

Last updated: 2024-01-03 11:42:22

    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 RabbitMQ 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 RabbitMQ 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 RabbitMQ clusters, with the department, business scope, and owner information as described below:
    Cluster ID
    Department
    Business Scope
    Owner
    amqp-78383dp8p8w1
    Ecommerce
    Marketing
    John
    amqp-78383dp8p8w2
    Ecommerce
    Marketing
    Harry
    amqp-78383dp8p8w3
    Gaming
    Game A
    Jane
    amqp-78383dp8p8w4
    Gaming
    Game B
    Harry
    amqp-78383dp8p8w5
    Entertainment
    Post-production
    Harry
    amqp-78383dp8p8w6
    Entertainment
    Post-production
    John
    You can add the following three tags to the amqp-78383dp8p8w1 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 RabbitMQ console

    After designing the tag keys and values as detailed above, you can log in to the TDMQ for RabbitMQ console to set tags.
    1. Log in to the TDMQ for RabbitMQ 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 amqp-78383dp8p8w1 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