Updated on 2024-10-29 GMT+08:00

Bills

You can view the resource usage and bills for a different billing cycles under Billing > Dashboard of Billing Center.

Bill Generation

You are not charged immediately after a record is generated. For example, if a pay-per-use pod is deleted at 08:30, you will still have expenditures for 08:00 to 09:00, but you will not likely be billed for 08:00 to 09:00 until about 10:00. In Billing Center, choose Billing > Expenditure Items in the left navigation pane. Expenditure Time in the bill indicates the time when the pay-per-use resource is used.

Viewing Bills of a Specific Pod

Use the pod name to search for a bill.

  1. Log in to the console. Under Containers, click Cloud Container Instance.

    The Dashboard page is displayed.

  2. In the navigation pane on the left, choose Workloads > Pods. In the pod list, click the pod name.

    The pod details page is displayed.

  3. Click the icon shown in the following figure to copy the pod name.

    Figure 1 Obtaining a pod name

  4. Choose Billing > Transactions and Detailed Bills.
  5. Select Resource Name as the filter, paste the pod name obtained in 3, and click the icon.

    The vCPUs and memory are billed. For details, Billing Overview.

Checking the Resource Usage

Assume that you purchased a pay-per-use general-computing pod (2 vCPUs and 4 GiB of memory) at 10:09:06 on April 8, 2023 and deleted it at 12:09:06 on April 8, 2023.

  • Transaction records

    Pay-per-use pods are calculated by the second but billed on an hourly basis. You can check the transaction records against the actual usage. For details, see Table 1.

    Table 1 CCI transaction records

    Service Type

    CCI

    Resource Type

    Pod

    Billing Mode

    Pay-per-use

    Expenditure Time

    From 10:09:06 to 12:09:06 on April 8, 2023, three transaction records was generated for the resource usage in the following periods:

    • 10:09:06 to 11:00:00
    • 11:00:00 to 12:00:00
    • 12:00:00 to 12:09:06

    List Price

    List price on the official website = Unit price x Number of vCPUs x Required duration + Unit price x Memory size x Required duration

    In this example, the pod in the first billing cycle is used for 3,054 seconds, and the unit price of the pod is $0.0000339 USD/s. The price in this period is $0.1035306 USD ($0.0000339 USD x 3,054). Similarly, you can calculate the list price for the other periods.

    Discounted Amount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. Discounts are based on the list prices.

    Truncated Amount

    Huawei Cloud billing is calculated to the 8th decimal place. However, the amount due is truncated to the 2nd decimal place. The third and later decimal places are referred to as the truncated amounts.

    Take the first period as an example. The truncated amount is $0.0035306 USD.

    Amount Due

    Amount due = List price – Discounted amount – Truncated amount

    Take the first period as an example. If the discounted amount is 0, the amount due is $0.10 USD ($0.1035306 USD – $0 – $0.0035306 USD).

  • Bill details

    Bill details display details of your bills in multiple dimensions. By default, expenditure details are displayed by usage and by billing cycle. Check whether the information shown in Table 2 is consistent with the actual situation.

    Table 2 CCI bill details

    Service Type

    CCI

    Resource Type

    Pod

    Billing Mode

    Pay-per-use

    Resource Name/ID

    Pod name and ID

    Example: cci-272f, 4cdeb1cd-7071-4890-9ce4-e6c2299e960e

    Specifications

    Pod type and specifications

    In this example, a general-computing pod with 2 vCPUs and 4 GiB of memory is used.

    Usage Type

    Required duration for pay-per-use pod

    Unit Price

    When pay-per-use billing is used, the unit price is only provided if the amount is equal to the usage multiplied by the unit price. No unit price is provided in other pricing modes, for example, tiered pricing.

    Query the unit price in the CCI Pricing Details.

    Price Unit

    CCI Pricing Details

    Usage

    The usage is displayed by the resource's unit price, which is USD/s for a pod. In this example, the total duration is 2 hours.

    Usage Unit

    Hour

    List Price

    List price on the official website = Unit price x Capacity x Required duration

    In this example, the pod is used for 2 hours, and the unit price of the pod is $0.0000339/s. The price in this period is $0.244 USD ($0.0000339 USD x 2 x 60 x 60). You can check the unit price in the CCI Pricing Details.

    Discounted Amount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. Discounts are based on the list prices.

    Amount Due

    Amount that should be paid for used cloud services after discounts are applied.