TencentDB for MongoDB allows you to edit instance tags in the console for easier instance management.
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.
Currently, TencentDB for MongoDB 4.4, 4.2, 4.0, 3.6, and 3.2 support tag management.
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.
You have created a TencentDB for MongoDB instance.
Log in to the TencentDB for MongoDB console.
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.
Above the instance list on the right, select the region.
In the instance list, find the target instance.
Enter the Edit Tag page in any of the following ways:
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.
(Optional) If existing tags don't meet your business requirements, perform the following operations:
In the top-right corner of the current page, click Manage Tags.
On the Manage Tags page, click Create Tag.
On the Create Tag page, carefully read the notes on tag configuration.
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:
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.
For more information on tag management, see Tag.