Updated on 2024-07-05 GMT+08:00

Cost Insights for a Region

Cost Insights for a region provides enterprise management personnel with an overall analysis report of container costs in that region. From the perspective of cloud native, enterprise management personnel can flexibly organize costs. Costs can be allocated to departments by cluster or namespace to generate department cost analysis reports. In addition, cost reports can be exported.

Prerequisites

  • Cost Insights has been enabled.

Constraints

  • Processing bills takes some time. After Cost Insights is enabled, there is about two days delay before you can view your costs.
  • Cloud Native Cluster Monitoring must run normally to ensure accurate data displays of namespaces, workloads, and node pools on the Cost Insights page.

Access Management

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

    Figure 1 Cloud Native Cost Governance

  2. Click Connection Management to view the cluster connection status.

    Figure 2 Cluster connection

  3. Select the clusters that are not connected to Cloud Native Cost Governance and click Batch Connect. After Cloud Native Cost Governance is enabled, you can view the cluster connection status in the list. If your cluster is connected to Cloud Native Cost Governance for the first time, you need to wait for two days before viewing your costs.

    Figure 3 Batch connection
    Figure 4 Cluster connection management

Department Management

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

    Figure 5 Cloud Native Cost Governance

  2. Click Department Management to view the department configurations.

    Figure 6 Viewing the department configurations

  3. Click Edit Department to modify the custom department configurations.

    Figure 7 Modifying the department configurations

  4. Click Next to modify the percentages of shared costs allocated to departments.

    Figure 8 Modifying shared costs allocation

  5. Click Submit. The configurations are displayed on the department management page.

    Figure 9 Submitting the modification

  6. Close the department management page and view cost analysis reports in Department Cost Analysis.

    Figure 10 Viewing cost analysis reports

Using Cost Insights

After Cloud Native Cost Governance is enabled, go to the Cost Insights page to view the annual, quarterly, or monthly cost analysis reports of connected clusters.

Figure 11 Viewing the cost status
Table 1 Functions on the Cost Insights page

Parameter

Report

Description

Year-to-date costs/Last year same-period costs/YoY change

Annually

Year-to-date costs: costs generated from the start of the current year to the date of the most recent bill

Last year same-period costs: costs generated during the same period in the last year

YoY change: (Year-to-date costs – Last year same-period costs)/Last year same-period costs

Forecasted year-end costs/Last year same-period costs/YoY change

Annually

Forecasted year-end costs: estimated total costs by the end of the current year

Last year same-period costs: costs generated in last year

YoY change: (Forecasted year-end costs – Last year same-period costs)/Last year same-period costs

Quarter-to-date costs/Last quarter same-period costs/QoQ change

Quarterly

Quarter-to-date costs: costs generated from the start of the current quarter to the date of the most recent bill

Last quarter same-period costs: costs generated during the same period in the last quarter

QoQ change: (Quarter-to-date costs – Last quarter same-period costs)/Last quarter same-period costs

Forecasted quarter-end costs/Last quarter same-period costs/QoQ change

Quarterly

Forecasted quarter-end costs: estimated total costs by the end of the current quarter

Last quarter same-period costs: costs generated in last quarter

QoQ change: (Forecasted quarter-end costs – Last quarter same-period costs)/Last quarter same-period costs

Month-to-date costs/Last month same-period costs/MoM change

Monthly

Month-to-date costs: costs generated from the start of the current month to the date of the most recent bill

Last month same-period costs: costs generated during the same period in the last month

MoM change: (Month-to-date costs – Last month same-period costs)/Last month same-period costs

Forecasted month-end costs/Last month same-period costs/MoM change

Monthly

Forecasted month-end costs: estimated total costs by the end of the current month

Last month same-period costs: costs generated in last month

MoM change: (Forecasted month-end costs – Last month same-period costs)/Last month same-period costs

Changes in Total Costs

Annual, quarterly, and monthly

Cost details of the current year, quarter, and month, as well as cost changes compared with the last year, quarter, and month

Department Cost Analysis

View department cost analysis reports in Department Cost Analysis.

Figure 12 Viewing department cost analysis reports
Table 2 Parameters in Department Cost Details

Parameter

Report

Description

Department Name

Annual, quarterly, and monthly

Department name you set.

YTD Costs

Annually

Costs generated from the start of the current year to the date of the most recent bill

Last Year Same-Period Costs

Annually

Costs generated during the same period in the last year

Last Year Total Costs

Annually

Costs generated in last year

YoY Cost Increase

Annually

Year-to-date costs – Last year same-period costs

YoY Cost Increase (%)

Annually

(Year-to-date costs – Last year same-period costs)/Last year same-period costs

Current Year CPU Costs

Annually

CPU costs generated from the start of the current year to the date of the most recent bill

CPU Costs/Current Year Total Department Costs

Annually

Current year CPU costs/Year-to-date costs (department costs)

YoY CPU Cost Increase

Annually

Current year CPU costs – Last year same-period CPU costs

QTD Costs

Quarterly

Costs generated from the start of the current quarter to the date of the most recent bill

Last Quarter Same-Period Costs

Quarterly

Costs generated during the same period in the last quarter

Last Quarter Total Costs

Quarterly

Costs generated in last quarter

QoQ Cost Increase

Quarterly

Quarter-to-date costs – Last quarter same-period costs

QoQ Cost Increase (%)

Quarterly

(Quarter-to-date costs – Last quarter same-period costs)/Last quarter same-period costs

Current Quarter CPU Costs

Quarterly

CPU costs generated from the start of the current quarter to the date of the most recent bill

CPU Costs/Current Quarter Total Department Costs

Quarterly

Current quarter CPU costs/Quarter-to-date costs (department costs)

QoQ CPU Cost Increase

Quarterly

Current quarter CPU costs – Last quarter same-period CPU costs

MTD Costs

Monthly

Costs generated from the start of the current month to the date of the most recent bill

Last Month Same-Period Costs

Monthly

Costs generated during the same period in the last month

Last Month Total Costs

Monthly

Costs generated in last month.

MoM Cost Increase

Monthly

Month-to-date costs – Last month same-period costs

MoM Cost Increase (%)

Monthly

(Month-to-date costs – Last month same-period costs)/Last month same-period costs

Current Month CPU Costs

Monthly

CPU costs generated from the start of the current month to the date of the most recent bill

CPU Costs/Current Month Total Department Costs

Monthly

Current month CPU costs/Month-to-date costs (department costs)

MoM CPU Cost Increase

Monthly

Current month CPU costs – Last-month same-period CPU costs