A tag consists of a tag key and value. It can be used to tag TencentDB for Redis 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.
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.
- 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.
- Log in to the TencentDB for Redis console.
- 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:
- 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.
- 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, 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:
- It can contain 1–127 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.
- Click OK.
- 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.
- Click OK.
For more information on tag management, see Tag.