tencent cloud

Elastic MapReduce

Release Notes and Announcements
Release Notes
Announcements
Security Announcements
Product Introduction
Overview
Strengths
Architecture
Features
Use Cases
Constraints and Limits
Technical Support Scope
Product release
Purchase Guide
EMR on CVM Billing Instructions
EMR on TKE Billing Instructions
EMR Serverless HBase Billing Instructions
Getting Started
EMR on CVM Quick Start
EMR on TKE Quick Start
EMR on CVM Operation Guide
Planning Cluster
Administrative rights
Configuring Cluster
Managing Cluster
Managing Service
Monitoring and Alarms
TCInsight
EMR on TKE Operation Guide
Introduction to EMR on TKE
Configuring Cluster
Cluster Management
Service Management
Monitoring and Ops
Application Analysis
EMR Serverless HBase Operation Guide
EMR Serverless HBase Product Introduction
Quotas and Limits
Planning an Instance
Managing an Instance
Monitoring and Alarms
Development Guide
EMR Development Guide
Hadoop Development Guide
Spark Development Guide
Hbase Development Guide
Phoenix on Hbase Development Guide
Hive Development Guide
Presto Development Guide
Sqoop Development Guide
Hue Development Guide
Oozie Development Guide
Flume Development Guide
Kerberos Development Guide
Knox Development Guide
Alluxio Development Guide
Kylin Development Guide
Livy Development Guide
Kyuubi Development Guide
Zeppelin Development Guide
Hudi Development Guide
Superset Development Guide
Impala Development Guide
Druid Development Guide
TensorFlow Development Guide
Kudu Development Guide
Ranger Development Guide
Kafka Development Guide
Iceberg Development Guide
StarRocks Development Guide
Flink Development Guide
JupyterLab Development Guide
MLflow Development Guide
Practical Tutorial
Practice of EMR on CVM Ops
Data Migration
Practical Tutorial on Custom Scaling
API Documentation
History
Introduction
API Category
Cluster Resource Management APIs
Cluster Services APIs
User Management APIs
Data Inquiry APIs
Scaling APIs
Configuration APIs
Other APIs
Serverless HBase APIs
YARN Resource Scheduling APIs
Making API Requests
Data Types
Error Codes
FAQs
EMR on CVM
Service Level Agreement
Contact Us

Cost Allocation by Tag

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-03-27 14:22:22

Overview

Tencent Cloud implements custom management of your resource bills from the perspective of statistical analysis by leveraging its tag tool and cost allocation capabilities. This well meets your need for multidimensional management and analysis of bills and costs. If you want to allocate your costs from the perspective of an EMR cluster or a user of certain nodes in the cluster, you can use Cost Allocation Tags.
Cost allocation by cluster: This feature allows you to view cluster bills by business department. When different departments use different EMR clusters, it is necessary to allocate costs by department. Cluster tags can be set for different departments for cost allocation and associated with other resources in the EMR cluster, such as EMR nodes, cloud disks, and metadata.
Cost allocation by node: This feature allows you to view node bills by business department. When multiple departments share the same EMR cluster, it is necessary to allocate costs by task node used by different departments. Node tags can be set for different departments for cost allocation and associated with other resources on the EMR node, such as CVM, system disks, and data disks.

Preparations

You have set Tag to a cost allocation tag as described in Cost Allocation Tags. After the cost allocation tag takes effect, it will be displayed in bills within 24 hours, subject to the data caching mechanism.

Directions

Cost allocation by cluster

1. Configure a cost allocation tag.
Configure a cost allocation tag for a new cluster:
Create a cluster: Log in to the EMR console and select Create cluster on the Cluster list page.
Configure a cost allocation tag: Choose Basic Configurations > Advanced Settings and select the configured cost allocation tag in the module. For example, the tag (EMR&Cluster).
Configure a cost allocation tag for an existing cluster:
Add a cost allocation tag for a cluster: Log in to the EMR console, select the target cluster on the Cluster list page, and click More > Edit tag at the top.
In the Edit tag pop-up window, add, modify, or delete tags as needed.
Note:
You can batch edit tags for up to 20 clusters at a time.
2. View the cluster's cost allocation tag.
Set the Tag field in the list: Click the set icon in the Cluster list.
Select the Tag field.
View the cost allocation tag in the cluster list. The tag displays as (EMR&Cluster).
3. View the node's cost allocation tag. A cost allocation tag assigned to a cluster will be automatically inherited by CDB (such as TencentDB for MySQL), CBS (system disks and data disks), and CVM in the cluster.
Configure a cost allocation tag for a node: In the cluster list, click the ID/Name of the target cluster to enter the cluster details page. Then, select Cluster resources > Resources, and click the Set icon.
Select the Tag field.
View the node cost allocation tag in the resource management list. The tag displays as (EMR&Cluster).
4. Configure a cost allocation tag for an added node. After a cluster is created, new MetaDB instances or manually /automatically added nodes will not automatically inherit the cluster's cost allocation tag; instead, they need to be manually associated with the tag.
Configure a cost allocation tag for an added node: Click the ID/Name of the target cluster to enter the cluster details page, select Cluster Resources > Resources, click Scale out and configure the tag (EMR&Cluster) in the pop-up scale-out window to associate an added node with a cost allocation tag (cluster-level).
Configure a cost allocation tag for a MetaDB instance: Click the ID/Name of the target cluster to enter the cluster details page, select Cluster services > Add component, Click Add Component. For example, choose Hive Component > Configure Tag (EMR&Cluster). The newly-added MetaDB will then be linked to a cost allocation tag (cluster-level).
Note:
Cluster fees = fees incurred by existing resources + fees incurred by new resources; therefore, new resources must be associated with the cluster's cost allocation tag in order to be included in the calculation of cluster fees.
5. View the cluster's bills.
Choose Billing Center > View Bill > Multidimensional Bill Summary, select the desired monthly bills, click By Tag, then select the tag key (EMR) and tag value (Cluster) to view the cluster fees under that tag key and tag value.
Note:
As you have selected the Hive metadata storage location for association with MetaDB when creating the cluster, the fees here consist of the fees of nodes, CBS, and TencentDB for MySQL.
As a new pay-as-you-go cluster is charged on an hourly basis, the detailed billing data will be displayed after 1 hour. For a yearly/monthly subscription cluster, the billing fees can be queried at the beginning of the next month.
6. Download bills.
Choose Billing Center > Bills > Bill Export Center to download bills for different months by bill type (L0, L1, L2, or L3).
Note:
L0: Electronic bill in PDF format, which can be easily used for requesting payments or archiving bills.
L1: Multidimensional consolidated bill, which provides billing data by product, project, region, or tag for you to view bills easily.
L2: Resource bill, which provides billing data by resource ID (instance).
L3: Detailed bill, which provides billing data at the finest granularity. For example, if a product is billed by hour, a new billing data entry will be displayed per hour per component. For all bills except L3 bills, the billing data for the previous month can be queried in the current month, while the billing data for the current month can be queried only after the first day of the next month.

Cost allocation by node

1. Configure a cost allocation tag for a node.
1.1 Click the ID/Name of the target cluster to enter the cluster details page. Then, select Cluster resources > Resources, select the target node, and click More > Edit tag.
1.2 In the Edit Tag pop-up window, configure the tags. For example, the tag (Cluster&Node). The selected nodes will be associated with the node-level cost allocation tag.
2. Set the Tag field of a node.
2.1 Click the ID/Name of the target cluster to enter the cluster details page. Then, select Cluster resources > Resources, and click the Set icon. Select the Tag field.
2.2 View the node's cost allocation tag.
2.3 View the node cost allocation tag in the resource management list. The tag displays as (Cluster&Node).
3. View the node's bill.
Choose Billing Center > Bill Overview, select the desired monthly bills, click By Tag, then select the tag key (Cluster) and tag value (Node) to view the node fees under that tag key and tag value.
4. Download bills.
The steps are the same as those for downloading cluster bills.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック