Limitations and Constraints
This topic describes some limitations and constraints on using WAF.
Protection Object Limitations
| Access Mode | Protected Object |
|---|---|
| Cloud mode - CNAME access |
|
| Dedicated mode |
|
Service Edition Limitations
- Only one edition can be selected in a larger geographical region using the same account.
- CN North: CN North-Beijing1, CN North-Beijing4, CN North-Beijing2, CN North-Ulanqab1, CN North-Ulanqab201, CN North-Ulanqab202, and CN North-Beijing3
- CN East: CN East-Shanghai1, CN East-Shanghai2, CN East-Qingdao, and CN East 2
- CN South: CN South-Guangzhou and CN South-Shenzhen
- Service edition selection:
- In dedicated mode, your dedicated instances and origin servers should be in the same VPC. If they are not in the same VPC, you need to use a VPC peering connection to connect the two VPCs. For details, see VPC Peering Connection Overview.
Constraints on Protected Domain Names
- If a domain name is added to WAF in cloud CNAME access mode, make sure the domain name has been registered with an ICP license. WAF will check the domain name ICP license. Domain names that are not licensed cannot be added to WAF.
- A protected object can only be added to WAF once.
Each combination of a domain name and a non-standard port is counted towards the domain name quota of the WAF edition you are using. For example, www.example.com:8080 and www.example.com:8081 use two domain names of the quota. If you want to protect web services over multiple ports with the same domain name, add the domain name and each port to WAF.
Certificate Constraints
Only .pem certificates can be used in WAF.
- Only .pem certificates can be used in WAF.
- Currently, certificates purchased in Huawei Cloud SCM can be pushed only to the default enterprise project. For other enterprise projects, SSL certificates pushed by SCM cannot be used.
- Only accounts with the SCM Administrator and SCM FullAccess permissions can select SCM certificates.
ELB Load Balancer Constraints
- Dedicated WAF instances can use only dedicated ELB load balancers. For details about load balancer types, see Differences Between Dedicated and Shared Load Balancers.
Dedicated WAF instances issued before April 2023 cannot be used with dedicated network load balancers. If you use a dedicated network load balancer (TCP/UDP), ensure that your dedicated WAF instance has been upgraded to the latest version (issued after April 2023).
Specifications Limitations
- For details about the service specifications supported by each WAF edition, see Specifications Supported by Each Edition.
- After your website is connected to WAF, the size of the file each time you can upload to the website is limited as follows:
- Cloud mode - CNAME access: 1 GB