You can go to the User Center to view the bills and consumption details of your Elastic Compute Service (ECS) instances.
View bills in the ECS console
Sample scenario: View the bills of preemptible instances
key:acs:ecs:payType value:spot
tag to all preemptible instances. Therefore, you can filter ECS instances that have
the key:acs:ecs:payType value:spot
tag in the exported bill, and calculate the invoice discount and pretax gross amount
of the instances.
- Log on to the ECS console.
- In the top navigation bar, choose .
- In the left-side navigation pane, choose .
- Clickthe Details tab to view the bills of preemptible instances.
- View the bills of a single preemptible instance.
Enter the ID of a preemptible instance in the Instance ID field, and then click Search to view the bills of the preemptible instance. In these bills, you can view the service duration, pretax gross amount, invoice discount, and payable amount of the instance.
- View the bills of multiple preemptible instances at a time.
- Select Elastic Compute Service for Product Name from the drop-down list.
- Click Customize Column Options in the upper-right corner of the billing details list. In the dialog box that appears, select the Instance Tag option. Then, click OK.
- Click Export Billing Overview (CSV).
- In the exported bill, filter preemptible instances based on the
key:acs:ecs:payType value:spot
tag.You can calculate the invoice discount and pretax gross amount of the preemptible instances based on your business requirements.
- View the bills of a single preemptible instance.