Overview
Tags help you manage your resources. You can use tags to categorize, search for, and aggregate your Tencent Cloud resources. Tags are the labels you attach to Tencent Cloud resources and can be used for cost allocation. A tag consists of a tag key and a tag value. A tag key can have multiple values.
To display a tag in your bills, you need to set the tag as a cost allocation tag. Each cost allocation tag is a column in bills, and the values of a tag are displayed in the corresponding rows of the resources they are attached to. Tags not set as cost allocation tags are not displayed in bills.
Prerequisites
Directions
Creating tag
1. On the left sidebar, click Tag List.
2. Click Create Tag.
3. In the pop-up window, enter a tag key and value, and click OK.
Attaching tag
1. On the left sidebar, click Resource Tag.
2. Select a region and resource type based on your needs and click Query resource.
Note:
You can query and tag resources on this page. A tag can be attached to multiple resources, and a resource can have multiple tags.
Setting cost allocation tag
1. Go to the Billing Center. On the left sidebar, click Bills > Cost Allocation Tags. 2. Select the target tag keys and click Set as Cost Allocation Tag.
3. In the pop-up window, click Confirm.
Note:
You can set up to 15 cost allocation tags, but we recommend you set only one as this makes cost management easier. Each cost allocation tag occupies a column in bills, based on which you can filter and categorize your costs.
Tag Display
You will see tag information in your bills starting from the month of setting cost allocation tags.
Note:
Bills generated before the setting will not change and will not include tag information.
In Bill Overview
2. Select the By Tag tab and choose a tag key. You will see a list of the tagged resources and a bar graph.
In Bill Details
1. Go to Bill Details.
2. Based on your needs, select the Bill by Instance or Bill Details tab. You will find in the list below a column for each cost allocation tag.
The column name is in the format of “Tag Key: xxx”. You can filter bills by tag.
In bill files
After setting cost allocation tags, you will see the tags in the bill files you download, regardless of the bill type. You can use tag keys to filter your bills or perform other operations.
1. Tag display in L1 bills (by product and project).
In L1 bills, you will find a sheet named “summaryByTagAndProduct”, in which you can view bill details by tag key. If you haven’t assigned a tag value for a resource, the content of the corresponding cell will be -
.
2. Tag display in L2 bills (by resource ID).
In L2 bills, you will see tag key columns on the right and tag values in the cells of the columns. If you haven’t assigned a tag value for a resource, the content of the corresponding cell will be -
.
3. Tag display in L3 bills (bill details).
In L3 bills, you will see tag key columns on the right and tag values in the cells of the columns. If you haven’t assigned a tag value for a resource, the content of the corresponding cell will be -
.
Products Supporting Split Billing
|
Direct Connect | TencentDB for CTSDB | Cloud-native etcd |
Tencent Real-Time Communication | Cloud Block Storage Snapshot | Tencent Container Registry (TCR) |
Cloud Block Storage (CBS) | Tencent Kubernetes Engine (TKE) | TencentDB for Tendis |
Cloud Log Service | TencentDB for MongoDB | Global Application Acceleration Platform (GAAP) |
TencentDB for SQL Server | TencentCloud Lighthouse | TencentDB for Redis |
Stream Computing Oceanus | TencentDB for PostgreSQL | IM |
TencentDB for MySQL | Tencent Interactive Whiteboard | TencentDB for KeeWiDB |
Bandwidth Package | TencentDB for MariaDB | Public IP |
CDWPG | Cloud Load Balancer | Cloud Data Warehouse Doris |
Service Mesh | Tencent Cloud House-C | Tencent Distributed SQL for MySQL |
Cloud Connect Network CCN | Distributed Framework TSF- Public Cloud | Cloud Development |
Video On Demand (VOD) | Tencent Cloud Observability Platform | Cloud Storage Gateway (CSG) |
SCF | VPN Gateway | Cloud Virtual Machine (CVM) |
T-Sec-Bastion Host(BH) | Cloud Automated Testing: New Version | T-Sec-Cloud Hardware Security Module (CloudHSM) |
Voice Message | T-Sec-Cloud Workload Protection(CWP) | Game Database TcaplusDB |
T-Sec Web Application Firewall (WAF) | Game Multimedia Engine | T-Sec-Anti-DDoS (Anti-DDoS) |
Application Observation | TSE Service Registry Center | TPNS |
TDSQL-C for PostgreSQL | HttpDNS | TDSQL-C for MySQL |
Message Service CKafka | TencentDB for TBase | TDMQ |
SSL Certificate | Cloud File Storage (CFS) | Tencent Kubernetes Engine for Serverless |
TencentCloud TI Platform TI-ONE | NAT Gateway | Tencent Cloud Block Chain TBaaS |
HTAP Database TDSQL-H | Tencent Cloud Elastic Microservice | Elasticsearch Service |
Elastic MapReduce | Cloud Object Storage (COS) | Cloud Infinite (CI) |
API Gateway | Database Backup Service | SMS |
WeData Data Development and Governance Platform | Cloud Streaming Services (CSS) | Data Lake Compute |
Content Delivery Network (CDN) | Data Subscription (DSS) | Enterprise Content Delivery Network (ECDN) |
Data Transmission Service (DTS) | TencentCloud EdgeOne | - |
Note:
Products to be allowlisted: Short Message Service (SMS), Cloud Streaming Service (CSS), Content Delivery Network (CDN), Enterprise Content Delivery Network (ECDN), TencentCloud EdgeOne, and Cloud Block Storage Snapshot.
For some products, the resource ID bound with tags cannot be used for corresponding cost allocation if it is not a push volume settlement resource ID or a prepaid resource ID.
Query by API
You can also use APIs to query tag information starting from the month of setting cost allocation tags.
Call the DescribeBillDetail
, DescribeBillResourceSummary
, DescribeBillSummaryByProject
, or DescribeBillSummaryByTag
API and you will get bill data and the corresponding tag information.
FAQs
Tagging takes effect immediately, but there is a delay in bill data, so tags will not be displayed until the cache data of bills is refreshed.
Note:
The resource tag information at the end of the month is taken for the months when bills were generated in the past. Subsequent changes to the resource tags will not be refreshed after billing.
この記事はお役に立ちましたか?