Updated on 2024-09-12 GMT+08:00

Bills

You can view the bill of a resource in the Billing section of Billing Center to learn about its usage and billing information in a certain period.

Bill Reporting Period

After yearly/monthly resources are paid, a bill is reported to the billing system for settlement.

The usage of pay-per-use resources is reported to the billing system at a fixed interval. Pay-per-use resources can be settled by hour, day, or month based on usage type. Pay-per-use DCS resources are settled by hour.

The fee deduction time of pay-per-use resources may be later than the settlement period. For example, if a DCS instance (settled by hour) is deleted at 08:30, the fees generated during 08:00 to 09:00 are usually deducted at about 10:00. On the Billing Center > Billing > Expenditure Details page, Expenditure Time indicates the time when a pay-per-use product is used.

Viewing Bills of a Specific Resource

  1. Log in to the console.
  2. Click in the upper left and choose Middleware > Distributed Cache Service (for Redis).
  3. In the navigation pane, choose Cache Manager.
  4. Click the icon shown in the following figure to copy the resource ID.

    Figure 1 Obtaining the resource ID

  5. On the top menu bar, choose Billing & Costs > Bills.
  6. In the navigation pane, choose Billing > Expenditure Details. Select Resource ID as the filter condition, enter the resource ID copied in 4, and click to locate the bill of the resource.

    Figure 2 Querying a resource bill

    You can view the fees deducted for the DCS instance, which depend on the DCS billing mode and billing items. For details, see Billing Overview.

Scenario Example: Check the Consistency Between the Actual Usage and Billed Usage

Assume that you purchased a pay-per-use DCS instance (basic edition | Redis 5.0 | master/standby | x86 | 2 replicas | 128 MB) at 10:09:06 on July 13, 2023, and deleted it at 12:53:16 on July 13, 2023.

  • Expenditure items

    Pay-per-use DCS instances are billed by second and are settled on the hour. You can check whether the information about each billing period in the transaction bill is consistent with the actual information. For details, see Table 1.

    Table 1 Transaction bill of a DCS instance

    Service Type

    Distributed Cache Service (DCS)

    Resource Type

    Distributed Cache Service V2

    Billing mode

    Pay-per-use

    Expenditure time

    From 10:09:06 on July 13, 2023 to 12:53:16 on July 13, 2023, three transaction bills are generated for the following periods:

    • July 13, 2023, 10:09:06–July 13, 2023, 11:00:00
    • July 13, 2023, 11:00:00–July 13, 2023, 12:00:00
    • July 13, 2023, 12:00:00–July 13, 2023, 12:53:16

    List price

    List price = Usage x Unit price

    In this example, the usage of the DCS instance in the first billing period is 3054 seconds. You can query the unit price from DCS Pricing Details. For example, if the unit price for the instance flavor is USD0.004/hour, the list price = (3054/3600) x 0.004 = USD0.00339333. Similarly, you can calculate the list price for the other periods.

    Discount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. It is the discounted amount based on the list price.

    Truncated

    Huawei Cloud bills a resource with the price (USD) accurate 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 amount.

    Take the first period as an example. The truncated amount is USD0.00339333.

    Amount

    Amount = List price – Discount amount – Truncated amount

    Take the first billing period as an example. If the discount amount is 0, the amount due is 0.00339333 – 0 – 0.00339333 = USD0.00.

  • Expenditure details

    Expenditure details display detailed information of bills from multiple dimensions. By default, the expenditure details of a resource are displayed by usage and by billing period. Table 2 illustrates the DCS bill details, which can be used to check against the actual usage.

    Table 2 Bill details of a DCS instance

    Service Type

    Distributed Cache Service (DCS)

    Resource Type

    Distributed Cache Service V2

    Billing Mode

    Pay-per-use

    Resource name/ID

    Name and ID of a DCS instance

    Example: dcs-272f, 19482898-a061-41f9-bd9d-e4265dba3a8a

    Specifications

    DCS instance type and specifications

    Example: DCS master standby 128 MB 2 replica instance (X86)

    Usage type

    Duration for pay-per-use

    Unit price

    Pay-per-use pricing provides unit prices, and the bill amount is equal to the used number of units multiplied by the unit price.

    For details about the unit price of pay-per-use DCS instances, see DCS Pricing Details.

    Unit

    USD/hour for pay-per-use

    Total usage

    The usage is displayed by the resource's unit price, which is USD/hour for a DCS instance. Therefore, the DCS instance usage is measured by hour.

    In this example, the total usage from July 13, 2023, 10:09:06 to July 13, 2023, 12:53:16 is (3054 + 3600 + 3196)/3600 = 2.7361111111 hours.

    Usage unit

    Hour

    List price

    List price = Usage x Unit price

    In this example, the usage of the DCS instance is 2.7361111111 hours. You can query the unit price from DCS Pricing Details. For example, if the unit price for the instance flavor is USD0.004/hour, the list price = 2.7361111111 x 0.004 = USD0.01094444.

    Discount

    Discounts offered for cloud services, for example, commercial discounts, partner authorized discounts, and promotional discounts. It is the discounted amount based on the list price.

    Amount

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