Log Service provides resource plans (Subscription Plan). You can purchase a resource plan to offset the fees of billable items. These billable items include occupied storage space, index traffic, read and write traffic, requests, data transformation, data shipping, alert notification messages (text messages), and alert notification calls. You can purchase one resource plan to offset the fees of all Log Service billable items. Each resource plan has a monthly quota. If you exceed the quota, you are charged for the excess resource usage based on the pay-as-you-go billing method.

Notice
  • Log Service provides yearly subscription resource plans. Discounts are offered on these resource plans, and the discounts vary based on the quotas of the resource plans. For more information about the prices for different resource plans, visit the buy page of Log Service. The prices of billable items that use the pay-as-you-go billing method are unchanged. Only when you purchase yearly subscription resource plans (Subscription Plan), discounts are offered.
  • You must pay all the fees of your resource plan when you purchase the resource plan. For example, if you purchase a 1-year and 100-CU/month resource plan, you must pay all the fees on the day you purchase the resource plan.
  • For more information about the billable items and billing methods of Log Service, see Billable items. For more information about the pricing of Log Service, see Log Service pricing.

Introduction

A resource plan can be used to offset the fees of billable items. Resource plans that have a higher quota and a longer validity period can be more cost effective. The following list describes the details of resource plans:

  • Purchase link: Log Service Subscription
  • Quota description:
    • A resource plan provides the same quota on resource usage for each month within the validity period. If you exceed the monthly quota, you are charged for the excess resource usage based on the pay-as-you-go billing method. For more information about billing details, see View billing details.

      For example, if you purchase a resource plan with 100,000 CUs per month and a validity period of three years, you can use 100,000 CUs each month within the 3-year validity period to offset your Log Service fees.

    • The quota in a resource plan is cleared at the end of each month and is reset at the start of the next month.
    • You can purchase and use multiple resource plans.
    • Resource plans can be renewed, but cannot be upgraded.
  • Options:
    • Quota (CUs/month): 20, 100, 1,000, 10,000, 100,000, 500,000, and 1,000,000
    • Validity period: 6 months, 1 year, 2 years, and 3 years.
    • Quantity: the number of resource plans that you want to purchase

Billable items and resource usage quotas

Log Service provides resource plans that are measured in cost units (CUs). The price of each CU is USD 1.

The fee of each billable item is offset from a resource plan by using CUs. The number of CUs used to offset the fee of a billable item is consistent with the unit price of the billable item in the pay-as-you-go billing method. For example, the unit price of read and write traffic on Log Service is USD 0.045 per GB in the pay-as-you-go billing method. In a resource plan, 0.045 CUs are used to offset the fee of 1 GB of read and write traffic. The following table describes billing details in a resource plan.

Billable item Resource plan
Storage space occupied by log data (per GB for each day) 0.002875 CU
Storage space occupied by cold log data (per GB for each day), with hot and cold-tiered storage enabled 0.000762 CU
Storage space occupied by time series data (per GB for each day) 0.00048 CU
Read and write traffic (per GB) 0.045 CU
Index traffic of log data (per GB) 0.0875 CU
Index traffic of time series data (per GB) 0.02721 CU
Read traffic over the Internet (per GB) 0.2 CU
Active shards (per shard for each day) 0.01 CU
Number of read and write requests (per million requests) 0.03 CU
Data transformation (per GB) 0.0204 CU
Data shipping to OSS in the JSON or CSV format (per GB) 0.0068 CU
Data shipping to OSS in the Parquet format (per GB) 0.0272 CU
Data shipping to MaxCompute (per GB) 0.0272 CU
Data shipping to AnalyticDB for MySQL (per GB) 0.0272 CU
Data shipping to TSDB (per GB) 0.0272 CU
Data shipping to ApsaraDB for ClickHouse (per GB) 0.0272 CU
Alert notification messages (per message) 0.0068 CU
Alert notification calls (per call) 0.02041 CU
Dedicated SQL (per core for each hour) 0.05174 CU

Billing examples

A customer uses two shards to read data from and write data to Log Service each day. The read and write traffic is 100 GB per day, the index traffic is 400 GB per day, and 10,000 GB of log data is stored each day. The following tables describe billing details.
Billable item Description
Read and write traffic The fee of the read and write traffic is USD 4.5. Formula: 100 GB × USD 0.045/GB = USD 4.5.
Index traffic of log data The fee of the index traffic is USD 35. Formula: 400 GB × USD 0.0875/GB = USD 35.
Storage space occupied by log data The fee of the occupied storage space is USD 28.75. Formula: 10,000 GB × USD 0.002875/GB/day = USD 28.75.
Active shards The fee of the active shards is USD 0.02. Formula: 2 shards × USD 0.01 = USD 0.02.
Note If you set Shards to 2 when you create a Logstore, two shards are rented each day. The monthly fee of the two shards is equal to the fees of 60 shards in 30 days.
Note The actual prices of resource plans in the Log Service console shall prevail.
Billing method Pay-as-you-go 1-year subscription resource plan Cost saving
Monthly fee Monthly fee = (USD 4.5 + USD 35 + USD 28.75 + USD 0.02) × 30 days = USD 2,048.1 You can purchase five 1-year subscription resource plans: two with 1,000 CUs per month and three with 20 CUs per month. The monthly fee is calculated by using the following formula:

Monthly fee = 2 × USD 8,520/12 months + 3 × USD 180/12 months = USD 1,465

If you purchase 1-year subscription resource plans, you can reduce costs by USD 583.1 per month. Formula: USD 2,048.1 - USD 1,465 = USD 583.1.
Yearly fee Yearly fee = (USD 4.5 + USD 35 + USD 28.75 + USD 0.02) × 30 days × 12 months = USD 24,577.2 You can purchase five 1-year subscription resource plans: two with 1,000 CUs per month and three with 20 CUs per month. The yearly fee is calculated by using the following formula:

Yearly fee = 2 × USD 8,520 + 3 × USD 180 = USD 17,580

If you purchase 1-year subscription resource plans, you can reduce costs by USD 6997.2 per year. Formula: USD 24577.2 - USD 17,580 = USD 6,997.2.