Help Center/Cloud Container Engine/Best Practices/Cluster/Implementing Cost Visualization for a CCE Cluster
Updated on 2026-03-10 GMT+08:00

Implementing Cost Visualization for a CCE Cluster

Background

CCE billing is displayed at the granularity of the entire CCE service by default, without distinguishing the costs incurred by individual clusters.

Solution

Add the CCE-Cluster-ID tag to the resources used in a cluster, obtain the costs by searching for this tag in cost center, and then analyze the costs by cluster to improve efficiency and cut costs.

Notes and Constraints

Generally, tags appear on the Cost Tags page 24 hours after resource expenditures are generated.

You can filter or group cost data by tag only after the tag is activated. If you activate the tags, they will be used to organize your resource costs generated thereafter.

Procedure

  1. Activate the CCE-Cluster-ID tag.

    In Cost Center, choose Cost Allocation > Cost Tags in the navigation pane. Select Tag from the drop-down list for the filter criteria, search for CCE-Cluster-ID, and click Activate in the Operation column.

    Figure 1 Activating the cost tag

    The information similar to that shown in the figure below will be displayed.

    Figure 2 Tag activated

  2. Add the tag to resources used in a cluster.

    Resources used in a cluster include master nodes, worker nodes, storage resources (such as EVS disks, SFS file systems, and OBS buckets), and network resources (such as load balancers and EIPs). By default, the CCE-Cluster-ID tag is added to the worker nodes.

    • Add the tag to a cluster.

      On the CCE console, click the cluster name to access the cluster console. On the Overview page, add the tag in the Resource Tag area.

    • Add the tag to an EVS disk.

      On the EVS console, click the name of the disk to go to its details page. On the Tags tab, add the tag.

    • Add the tag to an OBS bucket.

      On the OBS console, click the name of the bucket to go to its details page. Choose Basic Configurations > Tags and add a tag.

    • Add the tag to an SFS Turbo file system.

      On the SFS console, click the name of the SFS Turbo file system to go to its details page. On the page displayed, click the Tags tab and add the tag.

    • Add the tag to a load balancer.

      On the Network Console, click the name of the load balancer to go to its details page. On the page displayed, click the Tags tab and add the tag.

    • Add the tag to an EIP.

      On the Network Console, click the name of the EIP to go to its details page. Click the Tags tab and add the tag.

  3. Analyze the cluster's costs.

    On the Cost Analysis page, choose CCE-Cluster-ID and the cluster ID from the drop-down list.
    Figure 3 Analyzing costs

    Click OK.

    Figure 4 Viewing the cluster's costs