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
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, click a tab to view specific billing information.
The following table describes the tabs on this page.
On the Overview tab, the billing information is displayed by service name and billing cycle. Each service has one billing record for each billing cycle.
To view the bills of your elastic container instances, select Elastic Container Instance from the Product Name drop-down list.Important
Typically, a latency of 2 to 3 hours exists between when bills are generated for a billing cycle and when the bills can be viewed in the Billing Management console. For example, you can view the bills generated for the billing cycle from 08:00:00 to 09:00:00 after 11:00:00 on the same day.
On the Bills tab, the consumption information is displayed by order and settlement cycle.
To view the bills of your elastic container instances, select Elastic Container Instance from the Product Name drop-down list.
You can filter billing details by statistical item and period. 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 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.
For example, if you want to view the billing details of an elastic container instance in March 2021, you can click the Details tab and specify the billing cycle and instance name that you want to query.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 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 based on your business requirements 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 statistical item such as instance or billable item.