A tag is a key-value pair provided to identify resources on the Tencent Cloud. Tags allow you to flexibly classify and manage your CVM resources by service, purpose, owner, and other aspects.
Note that tags are not used by Tencent Cloud. They only help you to manage CVM resources.
Note the following limits when using tags:
project, because they are reserved for the system.
+=.@-. It cannot exceed 255 characters in length.
+=.@-. It cannot exceed 127 characters in length.
Case: A company purchased six CVM instances. The following table lists the information about the deployment departments, business scope, and owners of the six CVM instances.
|Instance ID||Deployment Department||Business Scope||Owner|
|ins-abcdef1||E-commerce||Marketing campaigns||John Smith|
|ins-abcdef3||Games||Game A||Jane Smith|
For example, we can add the following tag key-value pairs to the ins-abcdef1 instance:
|Tag Key||Tag Value|
Similarly, you can add tag key-value pairs to other instances based on the different settings of deployment departments, business scopes, and owners.
Take the preceding case as an example. After designing the tag key-value pairs, you can log in to the CVM console to specify the tags.
If you need to query instances bound to a specified class of tags, you can perform filtering as follows: