tencent cloud

Feedback

Editing Instance Tag

Last updated: 2022-10-09 15:30:13

    TencentDB for MongoDB allows you to edit instance tags in the console for easier instance management.

    Background

    A tag consists of a tag key and value. It can be used to tag TencentDB for MongoDB instances. If you have multiple types of resources under your Tencent Cloud account which are correlated in many ways, and your resources are growing and becoming increasingly difficult to manage, you can use tags to group and categorize resources that serve the same purpose or are associated with each other. In this way, when performing daily Ops or troubleshooting, you can quickly search for resources and perform batch operations for more efficient Ops.

    Version requirements

    Currently, TencentDB for MongoDB 4.4, 4.2, 4.0, 3.6, and 3.2 support tag management.

    Billing

    Tag management is a free service provided by Tencent Cloud for your Tencent Cloud account. You can simply go to the console to use this service.

    Notes

    • A tag consists of one tag key and one tag value (tagKey:tagValue).
    • Up to 50 tags can be bound to an instance.
    • For each instance, a tag key can correspond to only one tag value.

    Prerequisites

    You have created a TencentDB for MongoDB instance.

    Directions

    1. Log in to the TencentDB for MongoDB console.

    2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Cluster Instance. The directions for the two types of instances are similar.

    3. Above the instance list on the right, select the region.

    4. In the instance list, find the target instance.

    5. Enter the Edit Tag page in any of the following ways:

      • In the Operation column of the target instance, select More > Edit Tag.
      • Click the target instance ID and click on the right of Tag in the Configuration section on the Instance Details page.
    6. On the Edit Tag page, select an appropriate tag key in the Tag Key drop-down list and select the tag value in the Tag Value drop-down list.

    7. (Optional) If existing tags don't meet your business requirements, perform the following operations:

    8. In the top-right corner of the current page, click Manage Tags.

    9. On the Manage Tags page, click Create Tag.

    10. On the Create Tag page, carefully read the notes on tag configuration.

    11. Set a new tag key in the Tag Key input box and enter the tag value in the Tag Value input box. The requirements for the tag key are as follows:

      • It can contain 1–63 characters.
      • It can contain letters and digits.
      • It can contain the following special symbols: plus sign, equal sign, underscore, hyphen, dot, colon, slash, @, parentheses, and brackets.
    12. Click OK.

    13. Go back to the Edit Tag page of the database instance. Click Reload in the Tag Key drop-down list, select the created tag key, and select the tag value.

    14. Click OK.

    References

    For more information on tag management, see Tag.

    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