tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Editing Instance Tag

PDF
Focus Mode
Font Size
Last updated: 2025-02-06 18:03:38
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

TencentDB for MongoDB version 3.2 and later 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

You have created a TencentDB for MongoDB instance. For more information, see Creating TencentDB for MongoDB Instance.

Directions

2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Shard 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 Info section on the Instance Details page.
6. On the Edit Tags 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.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback