Introduction
Tags are markers provided by Tencent Cloud to identify cloud resources, represented as a key-value pair (Key-Value). For details, see Tag Overview. You can use tags to classify and manage TDSQL Boundless resources based on various dimensions (such as business, purpose, responsible person, and so on). Tags make it very convenient to filter out corresponding resources. Tag key-value pairs (Key-Value) have no linguistic meaning in Tencent Cloud and are strictly parsed and matched as strings. When using them, you only need to pay attention to the Use Limits. Below, we introduce the use of Tags through a specific case.
Case Background
A company has 10 TDSQL Boundless instances on Tencent Cloud, distributed under three departments: E-commerce, Gaming, and Media & Entertainment. These instances serve workloads such as marketing campaigns, Game A, Game B, and post-production. The corresponding Ops owners for the three departments are Tom, Jack, and Harry.
Setting Tags
To facilitate management, the company uses Tags to classify and manage corresponding TDSQL Boundless resources, defining the following tag keys/values.
|
Department | E-commerce, Gaming, and Entertainment |
Workload | Marketing, game A, game B, and post-production |
Ops Owner | Tom, Jack, and Harry |
Bind these tag keys/values to TDSQL Boundless resources. The relationship between resources and tag key/value pairs is as shown in the table below:
|
tdsql-abc1 | E-commerce | Marketing campaigns | Harry |
tdsql-abc2 | E-commerce | Marketing campaigns | Harry |
tdsql-abc3 | Gaming | Game A | Tom |
tdsql-abc4 | Gaming | Game B | Jack |
tdsql-abc5 | Gaming | Game B | Jack |
tdsql-abc6 | Gaming | Game B | Jack |
tdsql-abc7 | Gaming | Game B | Jack |
tdsql-abc8 | Entertainment | Post-production | Harry |
tdsql-abc9 | Entertainment | Post-production | Harry |
tdsql-abc10 | Entertainment | Post-production | Harry |