TencentDB for MongoDB allows you to edit instance tags in the console for easier instance management.
Overview
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 Description
Currently, TencentDB for MongoDB 3.2, 3.6, 4.0, 4.2, 4.4, 5.0, and 6.0 support tag management.
Billing Overview
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. Note
A tag consists of 1 tag key and 1 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.
Prerequisite
Directions
2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Cluster Instance. The directions for replica set instances and sharded cluster 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 from the Tag Key drop-down list and select the tag value from the Tag Value drop-down list.
7. (Optional) If existing tags don't meet your business requirements, perform the following operations:
7.1 In the top-right corner of the current page, click Manage Tags.
7.2 On the Manage Tags page, click Create Tag.
7.3 On the Create Tag page, carefully read the notes on tag configuration.
7.4 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.
7.5 Click OK to complete the creation.
7.6 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.
8. Click OK.
References
For more information on tag management, see Tag.
Was this page helpful?