Log Service provides the Cost Manager application. If you activate the application, bills are automatically imported to the application. You can also view the analysis reports of the bills in the application. This improves your efficiency of bill analysis.

Background information

Alibaba Cloud resources are highly elastic with multiple specifications. You can use the resources at any time based on your business requirements. When you use cloud resources, bills are generated. Alibaba Cloud provides the pay-as-you-go and subscription billing methods. However, the manual statistical analysis of bills for the pay-as-you-go billing method is time-consuming and error-prone. To resolve this issue, Log Service provides the Cost Manager application. You can use this application to collect and sort bills. This improves your efficiency of bill analysis.

Features

After you activate the application, bills are automatically imported from the billing center to the specified Logstore. A bill is a type of time series data. Log Service can collect, store, and analyze time series data in real time. If you use Log Service to analyze bills, you can reduce your labor costs by 80%. The Cost Manager application has the following features:
  • Near real-time bill collection: Bills are uploaded to Log Service within one hour after they are generated.
  • Custom reports: Basic bill analysis scenarios are provided and automatic reporting is supported.
  • Interactive analysis: You can enter query statements to analyze bills. The query results are returned in seconds. You can save the query statements as charts to custom reports.
  • Visualized results: You can select a type of chart to display query results. This makes your query results easier to comprehend.
  • Machine learning algorithms: Billing trends are forecasted and abnormal bills are identified.
  • Custom alerts: You can customize alerts to monitor bills in real time.
  • Free storage and analysis: Bill storage and analysis are provided free of charge.

Import bills

  1. Log on to the Log Service console.
  2. In the Log Application section, click Start on the Cost Manager card.
  3. In the left-side navigation pane, click Settings under Cost Manager.
  4. Configure bill imports.
    In the Import Bills step, complete the following settings:
    • Import Alibaba Cloud Bills: If you select this option, bills of all Alibaba Cloud services of the current account are imported to Log Service.
    • First Import of History Bills: Select the required time range of history bills when you import the bills for the first time.
    • Access to Bills: If the current account is not authorized to access bills, authorize the account as prompted.
  5. Configure report subscription.
    In the Subscribe to Reports step, complete the following settings:
    • Frequency: Set the frequency at which subscribed reports are sent.
    • Add Watermark: If you turn on this switch, bills are watermarked to prevent the leakage of sensitive data.
    • Notifications: You can select Email or WebHook-DingTalk Bot from the Notifications drop-down list to send subscribed reports. For information about the request URL of the DingTalk bot, see WebHook-DingTalk Bot.
  6. Optional:Configure alerts.
    You can set different alert conditions for different cloud services. When a bill meets the conditions of an alert, the alert is triggered to notify you of the bill details.
    1. Click Add Alert.
    2. Set alert conditions.
      Configure Select Product, Bill Type, Relationship, Value Type, and Value parameters based on your business requirements.
      Note You can click Add Alert multiple times to configure multiple alerts.
    3. Select a notification method.
      For more information, see Configure the alert notification method.
  7. Click Create/Modify Alerts.

Cost Manager description

After you import bills, you can click Introduction to view the introduction of the Cost Manager application. The introduction includes the description of the Cost Manager application, usage guide of bills, limits, and bill fields.

Custom analysis

On the Custom Analysis page, you can search and analyze imported bills, configure query statements as saved searches, save query results as charts on dashboards, and configure alerts.

  1. In the left-side navigation pane, click Custom Analysis under Cost Manager.
  2. On the Custom Analysis page, enter a query statement in the search box, and then click Search & Analyze.
    For more information, see Overview.

Billing summary and forecast

The Cost Manager application provides a built-in billing summary report. The report shows the fees that have incurred in the current month and the last three months. You can use these reports to forecast billing trends and plan your budgets. The report provides the features of a dashboard. For more information, see Dashboard overview.

  1. In the left-side navigation pane, click Summary under Cost Manager.
  2. On the Bill Summary & Forecast page, view the billing summary report and forecast.
    Billing summary and forecast

Billing details

The Cost Manager application provides a built-in billing detail report. The report shows the billing details and trends of each service, including abnormal bills. For more information, see Dashboard overview.

  1. In the left-side navigation pane, click Details under Cost Manager.
  2. On the Details page, view the billing details of each service.
    Billing details

Billing optimization

The Cost Manager application provides a built-in billing optimization report. The report shows how much you can save if you change the billing method of a service from pay-as-you-go to subscription.

  1. In the left-side navigation pane, click Optimization under Cost Manager.
  2. On the Optimization page, view the billing optimization suggestions.
    Billing optimization

Resource usage overview

The resource usage overview report provides an overview of cloud resources that you have used. You can also categorize resources by tag or alias and view billing details of the categorized resources.Cost Manager - 001

Bill analysis report of ECS instances

The bill analysis report of ECS instances provides a usage overview of ECS instances. You can also filter ECS instances by tag, alias, and region and view billing details of the instances. This report allows you to understand ECS instance usage from different angles. You can use this report to reduce costs and allocate ECS instances.Cost Manager - 002

Bill analysis report of OSS buckets

The bill analysis report of OSS buckets shows the costs of OSS buckets in different time periods. The report also shows the costs of OSS buckets of the Standard storage, Infrequent Access storage, and Archive storage classes, and the usage and cost of each billing item. You can adjust the storage class to save costs.Cost Manager - 003

Log Service bill analysis report

The Log Service bill analysis report shows the overall cost, cost trend, usage of each billing item, and projects and Logstores that incur most storage space and indexing traffic fees. You can use this report to reduce costs of Log Service.Cost Manager - 004