Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Enabling Cost Insights

Updated on 2025-01-07 GMT+08:00

Cost Insights uses in-house cost profile algorithms to split costs by department, cluster, namespace, or application, based on your bills and cluster resource usages. Cost Insights helps cost management personnel analyze cluster costs and resource usages and identify resource waste for cost optimization.

This section describes how to enable Cost Insights.

NOTICE:
  • After Cost Insights is enabled, Cloud Native Cluster Monitoring will be installed automatically, and metrics will be reported to the selected AOM instance. Basic metrics are free, but custom metrics are charged by AOM. For details, see Pricing Details. Cost Insights only uses basic metrics.
  • After Cost Insights is enabled, an OBS bucket will be created in AP-Singapore to store your bills subscribed from the billing center. Then, you will be billed for the OBS storage. For details, see Pricing Details.

Prerequisites

You have an account in the admin user group to delegate CCE and its dependent services.

When you access Cloud Native Cost Governance, the Authorize dialog box is automatically displayed. After you click Authorize, CCE automatically completes the authorization. For details about permission types, see Table 1.

Table 1 Resource permissions

Assigned To

Permission

Description

CCE

IAM ReadOnlyAccess

IAM users need to access Cloud Native Cost Governance.

CCE

Tenant Guest

Cloud Native Cost Governance checks the configurations of global resources (such as OBS and DNS) associated with a cluster.

CCE

CCE Administrator

Cloud Native Cost Governance needs to access CCE to obtain information about clusters, nodes, and workloads for health checks.

CCE

AOM Administrator

Cloud Native Cost Governance needs to access AOM to obtain metrics.

CCE

OBS Administrator

Cloud Native Cost Governance needs to access the OBS bucket where your bills are stored.

CCE

CBC Finance

Cloud Native Cost Governance needs to periodically store your bills in the OBS bucket for later use.

AOM

DMS UserAccess

AOM retrieves data from DMS.

AOM

ECS CommonOperations

AOM obtains system metrics and logs from the UniAgent and ICAgent installed on an ECS.

AOM

CES ReadOnlyAccess

AOM synchronizes metrics from Cloud Eye.

AOM

CCE FullAccess

AOM synchronizes container metrics from CCE.

AOM

RMS ReadOnlyAccess

AOM CMDB manages cloud service instance data.

AOM

ECS ReadOnlyAccess

AOM obtains system metrics and logs from the UniAgent and ICAgent installed on an ECS.

AOM

LTS FullAccess

AOM obtains logs from LTS.

AOM

CCI FullAccess

AOM synchronizes container metrics from CCI.

Constraints

  • Cloud Native Cost Governance is only available in clusters v1.17 or later.
  • Before using Cloud Native Cost Governance, you need to use an account in the admin user group to delegate CCE and its dependent services. After the authorization is complete, users with the CCE Administrator role or CCE FullAccess permission can perform all operations on Cloud Native Cost Governance.

Enabling Cost Insights for a Region

  1. Log in to the CCE console. In the navigation pane, choose Cloud Native Cost Governance.

    Figure 1 Cloud Native Cost Governance

  2. Click Enable, select clusters that require Cost Insights, and click Connect Now.

    The system will automatically perform the following operations. After 3 to 5 minutes, the Cost Insights page is displayed.
    1. Install Cloud Native Cluster Monitoring to provide basic metrics for Cost Insights.
    2. Activate cost tags. Cluster tags will be added to the bills exported from the billing center. The Cost Insights background classifies the bills by cluster. After this step is complete, the CCE-Cluster-ID and CCE-Dynamic-Provisioning-Node tags are activated on the cost tag page of Cloud Native Cost Governance.
    3. Create an OBS bucket named cce-cost-{region}-{domain_id} for the default tenant to store bills exported from the billing center.
    4. Subscribe to bills. After bills are subscribed, the billing center will periodically push bills to the OBS bucket for cost insights.
    Figure 2 Enabling Cost Insights for clusters

  3. (Optional) Click Create Department.

    Figure 3 Creating departments
    1. Customize departments based on the service requirements and associate them with clusters or namespaces as follows:
      • Department Name: Use the actual name of a business department.
      • Department Scope: Select the cluster or namespace for the business department. In the following example, department1 and department2 are configured by namespace.
      Figure 4 Customizing departments
    2. Allocate shared costs in a cluster to departments. Management costs and unallocated costs in the default cluster are evenly allocated among departments. The allocation ratio can be changed.
      Figure 5 Allocating shared costs
    3. Manage costs by department. After departments are created, click Submit. The configurations are displayed on the department management page. The following shows example department configurations.
      Figure 6 Department configurations

Enabling Cost Insights for a Cluster

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. In the navigation pane, choose Cloud Native Cost Governance > Cost Insights.
  3. Click Enable. The system automatically installs Cloud Native Cluster Monitoring, activates cost tags, creates an OBS bucket for the default tenant, and subscribes to bills. Wait for 3 to 5 minutes. The Cost Insights page is displayed.

    Figure 7 Enabling Cost Insights

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback