tencent cloud

Tencent Cloud EdgeOne

Release Notes and Announcements
Release Notes
Security Announcement
Announcements
Product Introduction
Overview
Strengths
Use Cases
Comparison Between EdgeOne and CDN Products
Use Limits
Purchase Guide
Description of Trial Plan Experience Benefits
Free Plan Guide
Billing Overview
Billing Items
Subscriptions
Renewals
Instructions for overdue and refunds
Comparison of EdgeOne Plans
About "clean traffic" billing instructions
DDoS Protection Capacity Description
Getting Started
Choose business scenario
Quick access to website security acceleration
Quick deploying a website with Pages
Domain Service&Origin Configuration
Domain Service
HTTPS Certificate
Origin Configuration
Site Acceleration
Overview
Access Control
Smart Acceleration
Cache Configuration
File Optimization
Network Optimization
URL Rewrite
Modifying Header
Modify the response content
Rule Engine
Image&Video Processing
Speed limit for single connection download
DDoS & Web Protection
Overview
DDoS Protection
Web Protection
Bot Management
API Discovery(Beta)
Edge Functions
Overview
Getting Started
Operation Guide
Runtime APIs
Sample Functions
Best Practices
Pages
L4 Proxy
Overview
Creating an L4 Proxy Instance
Modifying an L4 Proxy Instance
Disabling or Deleting an L4 Proxy Instance
Batch Configuring Forwarding Rules
Obtaining Real Client IPs
Data Analysis&Log Service
Log Service
Data Analysis
Alarm Service
Site and Billing Management
Billing Management
Site Management
Version Management
General Policy
General Reference
Configuration Syntax
Request and Response Actions
Country/region and Corresponding Codes
Terraform
Overview
Installing and Configuring Terraform
Practical Tutorial
EdgeOne Skill User Guide
Automatic Warm-up/Cache Purge
Resource Abuse/hotlinking Protection Practical
HTTPS Related Practices
Acceleration Optimization
Scheduling Traffic
Data Analysis and Alerting
Log Platform Integration Practices
Configuring Origin Servers for Cloud Object Storage (Such As COS)
CORS Response Configuration
API Documentation
History
Introduction
API Category
Making API Requests
Site APIs
Acceleration Domain Management APIs
Site Acceleration Configuration APIs
Edge Function APIs
Alias Domain APIs
Security Configuration APIs
Layer 4 Application Proxy APIs
Content Management APIs
Data Analysis APIs
Log Service APIs
Billing APIs
Certificate APIs
Origin Protection APIs
Load Balancing APIs
Diagnostic Tool APIs
Custom Response Page APIs
API Security APIs
DNS Record APIs
Content Identifier APIs
Legacy APIs
Ownership APIs
Image and Video Processing APIs
Multi-Channel Security Gateway APIs
Version Management APIs
Data Types
Error Codes
FAQs
Product Features FAQs
DNS Record FAQs
Domain Configuration FAQs
Site Acceleration FAQs
Data and Log FAQs
Security Protection-related Queries
Origin Configuration FAQs
Troubleshooting
Reference for Abnormal Status Codes
Troubleshooting Guide for EdgeOne 4XX/5XX Status Codes
520/524 Status Code Troubleshooting Guide
521/522 Status Code Troubleshooting Guide
Tool Guide
Agreements
Service Level Agreement
Origin Protection Enablement Conditions of Use
TEO Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Usage Cap Policy

PDF
Focus Mode
Font Size
Last updated: 2025-07-28 14:25:31

Feature Overview

Once you've exhausted the Plan Fees and the Extra Package Description (Prepaid), you'll transition to EdgeOne's Fees for Out-of-plan Resource Usage (Pay-as-You-Go). If you're concerned about potentially high costs due to abnormal traffic in your operations, a usage cap policy can be implemented to control the traffic and requests for your service.
EdgeOne periodically calculates business traffic, bandwidth and request numbers. You can independently configure the thresholds for business traffic, bandwidth and request numbers. When the usage consumption generated within the statistical period reaches the alarm threshold you configured, EdgeOne will push a notification to inform you and immediately disable EdgeOne secure acceleration services to avoid incurring more abnormal charges.
Note:
1. The usage cap configuration takes effect with some delay (approximately 10 minutes), and during this period, the incurred consumption will be billed normally.
2. Usage cap policies are calculated based on the subdomain dimension. When the effective scope is set to a site or all subdomains, it means that all subdomains under the site share a single usage cap policy.
3. When both traffic, bandwidth and request policies exist for the same domain, triggering the threshold for either one will result in the deactivation of the domain's service.
4. Currently, only L7 (application layer) traffic, L7 (application layer) bandwidth and HTTP/HTTPS request configuration support usage capping policies. The data comes from the real-time monitoring data of Data Analysis - Metric Analysis, rather than the billing usage data.

Directions

1. Log in to the Tencent Cloud EdgeOne console, enter Service Overview in the left menu bar, and click the site to be configured under Website Security Acceleration.
2. On the site details page, click on Usage Policy > Usage Capping Policy. This will take you to the Usage Cap Policy page. Click on Add capping policy.

3. In the Add capping policy window, configure the cap policy based on your actual requirements.

Configuration Item
Description
Scope of Effectiveness
Choose the scope of effectiveness for the cap policy:
Site: All subdomains under the site share a single cap policy.
Subdomain: All selected subdomains share a single cap policy.
Statistics Period
Choose the data statistics period for the cap policy, and periodically compare the statistical data with the capping threshold:
5 minutes: Statistics for usage generated within 5 minutes.
Hour: Statistics for usage generated within 1 hour.
Day: Statistics for usage generated within 24 hours.
Note:
When the statistics period is set to "5 minutes", it will calculate usage for each complete 5-minute interval. For example, if you configure and save an L7 traffic capping policy at 15:26:00 on October 25, 2023, the first 5-minute interval will calculate L7 traffic from 15:25:00 to 15:29:59, and the second 5-minute interval will calculate L7 traffic from 15:30:00 to 15:34:59, and so on.
When the statistics period is set to "1 hour", it will calculate usage for each complete 1-hour interval. For example, if you configure and save an L7 traffic capping policy at 15:26:00 on October 25, 2023, the first 1-hour interval will calculate L7 traffic from 15:00:00 to 15:59:59, and the second 1-hour interval will calculate L7 traffic from 16:00:00 to 16:59:59, and so on.
When the statistics period is set to "day", it will calculate usage for each complete 24-hour interval. For example, if you configure and save an L7 traffic capping policy at 15:26:00 on October 25, 2023, the first day interval will calculate L7 traffic from 00:00:00 to 23:59:59 on October 25.
When usage exceeds the set threshold during the statistics period, the service will be disabled. It is recommended to adjust the cap threshold first, then go to the domain management page to re-enable the domain name. Otherwise, the next scan will disable the service again because the usage has exceeded the current cap threshold setting.
Cap Configuration
Choose the policy type for cap configuration. When both the traffic, bandwidth and request policy for the same domain exist simultaneously, triggering the threshold for either will disable the domain service:
L7 Traffic: represents setting the highest cap threshold for L7 traffic, with the option to choose units in MB, GB, TB.
HTTP/HTTPS Request Number: represents setting the highest cap threshold for HTTP/HTTPS request numbers, with the option to choose units in ten thousand times, million times, and hundred million times.
L7 Bandwidth: represents setting the highest cap threshold for L7 bandwidth, with the option to choose units in Mbps, Gbps, and Tbps.
Exceeding Threshold
Service Deactivation: indicates that when the cap threshold is triggered, service will be deactivated for all subdomains within the effective scope.
Alarm Threshold
When the usage/usage threshold within the statistical period reaches the configured alarm threshold (10% - 90%), an alarm message will be issued.
Note:
If the alarm threshold is already enabled: due to a scanning granularity of 5 minutes, if there is a significant increase in usage within a short period and the value is large, it is possible that the previous scan has not triggered the percentage alarm threshold, and the next scan directly reaches the access threshold. In this scenario, both percentage and access threshold alarm notification messages will be sent.
4. After completing the capping policy configuration, click Save to deploy the capping policy configuration.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback