Help Center> Log Tank Service> Billing> Billing Examples
Updated on 2023-09-14 GMT+08:00

Billing Examples

Billing Scenario 1: Free of Charge

LTS provides a free quota of 500 MB/month.

Assume that you have one server that generates 10 MB raw logs per day, full-text index is enabled, and logs are stored for seven days. (Only logs of the past seven days are stored. Logs of the first day are deleted on the eighth day.) After using LTS for one month, you want to use LTS to analyze daily logs.

Billing Analysis: Free of Charge

The billing details in this scenario are described in Table 1.

The prices in the table are only examples. The actual prices are subject to those in Price Calculator.

Table 1 Billing details (free of charge)

Billing Item

Description

Monthly Usage

Monthly Billing

Read/Write traffic

Daily read/write traffic: 10/5 (compression rate) = 2 MB. Accumulated read and write traffic for 30 days: 30 x 2 = 60 MB.

60 MB

Free

Index traffic

Accumulated index traffic for 30 days: 10 x 30 = 300 MB

300 MB

Free

Storage space

Log volume = 7 x 10 MB = 70 MB

70 MB

Free

Billing Scenario 2: Disabling Full-Text Index and Enabling the Index Field

Assume that you have one server that generates 100 GB raw logs per day, full-text index is disabled, logs are written to LTS, and the index for five fields is enabled. The data volume of these five fields is 50 GB.

Logs are stored for 30 days. (Only logs of the past 30 days are stored. Logs of the first day are deleted on the 31st day.) After using LTS for one month, you want to use LTS to analyze daily logs.

Billing Analysis: Disabling Full-Text Index and Enabling the Index Field

The billing details in this scenario are described in Table 2.

Unit prices in this example are used for reference only, and the calculated prices are estimated prices. As unit prices may change from time to time, the calculated prices may differ from actual prices. For details, see the data released on the Huawei Cloud official website. For price details, see Price Calculator.

Table 2 Billing details (disabling full-text index and enabling the index field)

Billing Item

Description

Monthly Usage

Unit Price

Monthly Billing

Read/Write traffic

Daily read/write traffic: 100 GB/5 (compression rate) = 20 GB. Accumulated read and write traffic for 30 days: 20 GB x 30 = 600 GB.

600 GB

$0.05 USD/GB

(600 GB – 500 MB/1024) x 0.05 = $29.98 USD

Index traffic

50 GB x 30 = 1500 GB

1500 GB

$0.08 USD/GB

(1500 GB – 500 MB free quota/1024) x 0.08 = $119.96 USD

Storage space

Log volume = 100 GB/day x 30 days = 3000 GB

3000GB

$0.000125 USD/GB-hour

(3000 GB – 500 MB free quota/1024) x 0.000125 x 24 hours x 30 days = $269.96 USD