All Products
Search
Document Center

Elastic Compute Service:View billing details

Last Updated:Dec 04, 2024

You can view the bills and consumption details of your Elastic Compute Service (ECS) instances in the Expenses and Costs console.

View bills in the Expenses and Costs console

  1. Log on to the Expenses and Costs console.

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

  3. On the Bill Details page, click a tab to view consumption information.

    The following table describes the tabs.

    Tab

    Description

    Consumption by Bill

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

    If you want to view ECS bills, click the Filter icon in the upper part of the Product Name column and select Elastic Compute Service from the drop-down list.

    Billing Details

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

    If you want to view ECS bills, select Elastic Compute Service from the Product drop-down list or specify an ECS instance for exact search. You can click the Filter icon in the upper part of the Subscription Type column and select one of the following values from the drop-down list:

    • Subscription: applies to subscription ECS instances.

    • Pay-As-You-Go: applies to pay-as-you-go or preemptible ECS instances.

    View Usage Details

    You must export usage records as a CSV file and download the file to your computer to view the records. Set the Product parameter to Elastic Compute Service (ECS) and configure the Billable Item, Time Period, and Time Unit parameters based on your business requirements. Click Export CSV to export usage records as a CSV file. Then, the Export Record page appears. When the status of the file changes from Generating to Exported, click Download in the Actions column to download the file to your computer.

    For more information about bills, see Billing Management.

    image.png

    Note
    1. 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.

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

Example: View the bills for preemptible ECS instances

Preemptible ECS instances are provided at a lower price compared to pay-as-you-go ECS instances. You can view the bills for preemptible ECS instances to calculate the invoice discounts and actual costs of the instances.

Note

The key:acs:ecs:payType value:spot tag is automatically added to all preemptible ECS 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.

  1. Enable the acs:ecs:payType cost allocation tag.

    1. Log on to the Expenses and Costs console.

    2. In the left-side navigation pane, choose Manage Split > Cost allocation tags.

    3. Enter acs:ecs:payType in the Tag Key field and click Search.

      image

    4. Click Enable in the Actions column corresponding to the acs:ecs:payType tag.

      image

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

  3. Click the Billing Details tab to view the bills for preemptible ECS instances.

    • View the bills for a single preemptible ECS instance.

      In the second field to the right of the Resource Group parameter, select Instance ID from the drop-down list and enter the ID of a preemptible ECS instance. Then, click Search. In the search results, you can find the bills for the preemptible instance. The bills include the usage duration, pretax gross amount, invoice discount, and payable amount of the instance.查看抢占式实例账单

    • View the bills for multiple preemptible ECS instances.

      1. Select Elastic Compute Service from the Product drop-down list.

      2. Click Customize Column Options in the upper-right corner of the billing details list. In the Customize Column Options dialog box, select Instance Tag and click OK.

      3. Click Export Billing Overview (CSV).

      4. In the Export Billing Overview (CSV) dialog box, configure the Exported Content parameter and click OK.

      5. 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.优惠金额

The Manager service and health check service on the details page of orders

The Manager service and health check service displayed on the details page of each order are provided free of charge and do not affect the orders for ECS instances. You can ignore the services.

image