Resource plans let you prepay for Simple Log Service (SLS) capacity at a discounted rate compared to pay-as-you-go pricing. Each plan is measured in Cost Units (CUs) per month and billed on a subscription basis.
For help choosing the right plan size, see How do I select a quota for a resource plan?.
Buy a resource plan
Go to the Simple Log Service Subscription page.
Specify the quota, quantity, and subscription duration.
Click Buy Now.
Complete the payment as prompted.
Billing example
The following example compares pay-as-you-go costs with a 1-year subscription resource plan.
Scenario:
| Parameter | Daily usage |
|---|---|
| Shards | 2 |
| Read and write traffic | 100 GB |
| Index traffic | 400 GB |
| Log storage | 10,000 GB |
Daily cost breakdown
| Billable item | Usage | Unit price | Daily cost | Formula |
|---|---|---|---|---|
| Read and write traffic | 100 GB | USD 0.045/GB | USD 4.5 | 100 GB x USD 0.045/GB |
| Index traffic of log data | 400 GB | USD 0.0875/GB | USD 35 | 400 GB x USD 0.0875/GB |
| Storage space occupied by log data | 10,000 GB | USD 0.002875/GB/day | USD 28.75 | 10,000 GB x USD 0.002875/GB/day |
| Active shards | 2 shards | USD 0.01/shard | USD 0.02 | 2 shards x USD 0.01 |
If you set Shards to 2 when you create a Logstore, two shards are rented each day. The monthly fee of the two shards equals the fee of 60 shard days (2 shards x 30 days).
Total daily cost: USD 4.5 + USD 35 + USD 28.75 + USD 0.02 = USD 68.27
Pay-as-you-go vs. resource plan
Monthly fee based on the daily cost above:
(USD 4.5 + USD 35 + USD 28.75 + USD 0.02) x 30 days = USD 2,048.1
For this workload, purchase five 1-year subscription resource plans: two with 1,000 CUs per month and three with 20 CUs per month.
| Period | Pay-as-you-go | 1-year subscription resource plan | Cost saving |
|---|---|---|---|
| Monthly | USD 2,048.1 | 2 x USD 8,520/12 months + 3 x USD 180/12 months = USD 1,465 | USD 2,048.1 - USD 1,465 = USD 583.1 |
| Yearly | USD 2,048.1 x 12 = USD 24,577.2 | 2 x USD 8,520 + 3 x USD 180 = USD 17,580 | USD 24,577.2 - USD 17,580 = USD 6,997.2 |
The actual prices of resource plans in the SLS console shall prevail.