All Products
Search
Document Center

Elastic Container Instance:Query bills

Last Updated:Apr 09, 2024

You can view the bills and consumption details of elastic container instances in the Billing Management console.

Query bills by using the Elastic Container Instance console

  1. Log on to the Elastic Container Instance console.

  2. In the top navigation bar, click Expenses to go to the Billing Management console.

  3. In the left-side navigation pane, choose Bills > Bill Details.

  4. On the Bill Details page, click a tab to view specific billing information.

    The following table describes the tabs on this page.

    Tab

    Description

    Consumption by Bill

    You can view each order and the bill for each billing cycle.

    To view the bills of your elastic container instances, select Elastic Container Instance from the Product Name drop-down list.

    Billing Details

    You can filter consumption details by billable item and billing cycle. The consumption details include the billable items, usage, price, and deduction details of each service.

    To view the bills of your elastic container instances, select Elastic Container Instance from the Product Name drop-down list or specify an instance for an exact search. The following billable items are supported:

    • vCPU and memory: Elastic container instances are billed based on the number of vCPUs and memory size.

    • Instance type: Elastic container instances are billed based on the ECS instance type.

    • System disk: Elastic container instances are billed based on the temporary storage space that is added for them.

    Usage Records

    To view usage records, you must export the usage records in CSV files. On the Usage Records tab, select eci from the Product drop-down list and configure the Billable Item, Time Period, and Time Unit parameters based on your business requirements. Enter the verification code and click Export CSV. Then, the Export Record page appears. Wait until the status of the files becomes Exported, and click Download in the Actions column to download the exported files to your computer.

    For example, if you want to view the billing details of an elastic container instance in August 2023, you can click the Billing Details tab and specify the billing cycle and instance name that you want to query.

    国际站明细账单-en.png

    Note
    • You can click Customize Column Options in the upper-right corner of the billing details list and select the columns that you want to display.

    • You can click Export Billing Overview (CSV) in the upper-right corner of the billing details list to export the billing details to your computer. This way, you can view and analyze the billing details on your computer.

Query bills by calling API operations

You can call the API operations described in the following table to query bills. When you call the API operations to query the bills of elastic container instances, specify the BillingCycle parameter based on your business requirements and set the ProductCode parameter to eci.

API

Description

References

QueryBillOverview

Queries the overview of bills or overall consumption information.

QueryBillOverview

QueryBill

Queries bill information, including the consumption information of each order and each settlement cycle.

QueryBill

QueryInstanceBill

Queries consumption details by statistical item such as instance or billable item.

QueryInstanceBill