OSS DDoS protection billing covers three charge types: instance reservation, protected Internet traffic, and protected API requests. If you release an instance within its 7-day minimum usage period, an early-release charge also applies.
This topic covers billable items and billing methods only. For unit prices, visit the OSS pricing page.
Billable items
| Billable item | Billing rule | Billing cycle | Billing method |
|---|---|---|---|
| Instance reservation fees (SecReserved) | Charged by number of instances multiplied by usage duration. | Hourly. Bills are generated after each billing cycle ends. | Pay-as-you-go: number of instances × usage duration (hours) × unit price per hourResource plan: Go to OSS Resource Plan and select DDoS Protection Basic Plan. |
| Early-release fees (SecEarlyReleased) | If you release an instance within 7 days of creation, you are charged for the remaining hours in that 7-day window: 168 hours − actual usage duration. | Pay-as-you-go: unit price per hour × (168 hours − actual usage duration)Resource plan: Go to OSS Resource Plan and select DDoS Protection Basic Plan. | |
| Protected traffic fees (SecFlow) | Charged by the higher of outbound or inbound Internet traffic for buckets attached to the instance. | Pay-as-you-go: max(outbound traffic, inbound traffic) × unit price per GBResource plan: Not supported. | |
| Protected API request fees (SecRequest) | Charged by the total number of API requests to buckets attached to the instance. Both successful and failed requests count. | Pay-as-you-go: number of requests × unit price per 10,000 requests ÷ 10,000Resource plan: Not supported. |
Early-release fee example
The minimum usage duration for an OSS DDoS protection instance is 7 days (168 hours). If you release an instance before 7 days have elapsed, you are charged for the unused portion of that 7-day window.
Example: If you create an instance on January 1 and release it on January 4 (72 hours of actual use):
Remaining duration = 168 − 72 = 96 hours
Early-release fee = unit price per hour × 96
Check the actual usage duration before releasing an instance.
What's next
To query OSS billing data at the hourly level, see Query OSS billing data generated on an hourly basis.
To view billing details for each billable item, see Query bills.