Updated on 2024-08-07 GMT+08:00

WAF Billing Modes

WAF supports yearly/monthly (prepaid) and pay-per-use (postpaid) billing. For cloud WAF, both billing modes are supported. For dedicated WAF instances, only pay-per-use billing is supported. For details about different billing modes, see WAF Pricing Details.

  • Yearly/monthly billing: The longer you use, the more you save. You need to pay the bill for the required duration.
  • Pay-per-use billing: This billing mode allows you to make a subscription or unsubscription at any time.
    • For a pay-per-use cloud WAF instance, you are billed for the number of added domain names, number of customized rules, and number of forwarded requests.
    • For a pay-per-use dedicated WAF instance, you are billed for the required duration (accurate to second), which starts when the instance is created and ends when the instance is deleted.
  • To use cloud load balancer WAF, you need to submit a service ticket to enable it for you first. Cloud load balancer WAF is available in some regions. For details, see Functions.
  • If you want to use the load balancer access mode, make sure you are using standard, professional, or platinum cloud WAF. When you are using cloud WAF, the quotas for the domain name, QPS, and rule expansion packages are shared between the cloud load balancer and cloud CNAME access modes.
Table 1 Differences between billing modes

Billing Mode

Yearly/Monthly

Pay-per-use

Payment Method

Prepaid

Postpaid

Metering Period

Billed by the purchase period specified in the order

  • Cloud mode: The bills for protected domain names are settled on an hourly basis. The bills for custom protection rules are settled every 24 hours. The bills for requests are settled monthly.
  • Dedicated mode: Instances are billed by the second, and bills are settled on an hourly basis.

Billing Item

Cloud mode: service edition, domain expansion package, QPS expansion package, and rule expansion package

Content moderation check: Text check

  • Cloud mode: the number of domain names, the number of custom rules, and the number of requests
  • Dedicated mode: the number of instances

Changing the Billing Mode

This billing mode cannot be directly switched to pay-per-use billing mode.

You can purchase a pay-per-use cloud WAF instance after the yearly/monthly WAF instance expires or has been unsubscribed from.

This billing mode cannot be directly switched to pay-per-use billing mode.

You can disable pay-per-use billing and purchase a yearly/monthly WAF instance.

Application Scenario

This billing mode is cost-effective and suitable when the duration of resource usage is predictable. The yearly/monthly mode is recommended for long-term users.

This mode is ideal when you want more flexibility and control on WAF usage.