The bandwidth cap function sets the maximum bandwidth value for average bandwidth measured during each statistical cycle (five minutes). If the average bandwidth exceeds the maximum, the domain name automatically goes offline to protect your domain name security. In this situation, all requests are sent back to the origin site. When the bandwidth cap is reached, CDN stops acceleration services to avoid excessive fees produced by abnormal traffic volumes. After your domain name goes offline, you can restart it in the console.
RAM subaccounts require CloudMonitor authorization to use this function. To grant authorization, use the AliyunCloudMonitorFullAccess policy group.
- Log on to the CDN console.
- On the Domain Names page, choose the domain name, then click Manage.
- Choose Advanced Settings, then click Modify under the Peak Bandwidth label.
- Enable the bandwidth cap function. Choose the unit from Mbps, Gbps, or Tbps.
Note Bandwidth value can be set in powers of thousand.
- Click Confirm. Then the peak bandwidth is successfully enabled.
You can choose to enable or disable the peak bandwidth function based on the actual usage of your domain name.