This topic describes how to view the bills of a preemptible instance.
Background information
Preemptible instances are offered at a discounted price compared to pay-as-you-go instances. You can view the bills of preemptible instances to calculate the invoice discounts and actual costs of the instances.
Note ECS automatically adds the
key:acs:ecs:payType value:spot
tag to all preemptible instances. You can filter ECS instances that have the key:acs:ecs:payType value:spot
tag in exported bills, and calculate the invoice discounts and pretax gross amounts of the instances. Procedure
- Log on to the ECS console.
- In the top navigation bar, choose .
- In the left-side navigation pane, choose .
- Click the 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 the bills, you can view the usage duration, pretax gross amount, invoice discount, and payable amount of the instance.
- View the bills of multiple preemptible instances at a time.
- Click the Filter icon at the top of the Product Name column and select Elastic Compute Service 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 discounts and pretax gross amounts of the preemptible instances based on your business requirements.
- View the bills of a single preemptible instance.