You can view the bills and consumption details of elastic container instances in the Billing Management console.
View bills by using the Elastic Container Instance console
Log on to the Elastic Container Instance console.
In the top navigation bar, click Expenses to go to the Billing Management console.
In the left-side navigation pane, choose Spending Summary > Spending Summary.
On the Bills page, switch tabs to view bills and consumption details.
Click the Overview tab to view overall consumption information.
On the Overview tab, consumption information is displayed by service and billing cycle. Each service has one entry of consumption information for each billing cycle.
Click the Bills tab to view consumption information by bill.
On the Bills tab, the consumption information is displayed by order and settlement cycle.Notice
Bills are generated for elastic container instances every hour. Typically, a latency of about 3 hours exists between when bills are generated for a one-hour billing cycle and when the bills can be viewed in the Billing Management console. For example, at 11:00:00, you can view the bills generated for the billing cycle from 08:00:00 to 09:00:00 that day.
Click the Details tab to view consumption details.
You can filter consumption details by statistic item and period. The consumption details include the billable item, usage, price, and deduction details of a specific service.
For example, if you want to view the consumption details of elastic container instances for December 2020, configure filter conditions on the Details tab, as shown in the following figure.
Click Customize Column Options in the upper-right corner of the consumption detail list to select billable items to be displayed.
To analyze bills, click Export Billing Overview (CSV) to export and view bills on your local computer.
Query bills by calling an API operation
You can call the API operations listed 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 and set ProductCode to eci.
Queries the overview of bills or overall consumption information.
Queries bill information, including the consumption information of each order and each settlement cycle.
Queries consumption details by statistic item such as instance or billable item.