Help Center> Web Application Firewall> Billing> Billing FAQs> Can I Switch Between Yearly/Monthly and Pay-per-Use Payments for WAF?
Updated on 2024-03-06 GMT+08:00

Can I Switch Between Yearly/Monthly and Pay-per-Use Payments for WAF?

For cloud WAF, directly switching the billing mode between yearly/monthly and pay-per-use is not supported. To that end, you can take the following steps:

To buy pay-per-use WAF instances, submit a service ticket to enable the service.

Changing Pay-per-use to Yearly/Monthly

For a cloud WAF instance billed on a pay-per-use basis, you can disable the pay-per-use billing mode and then enable yearly/monthly billing for it.

  • After the pay-per-use billing mode is disabled, the WAF billing stops. The WAF Mode changes to Suspended. In this situation, WAF forwards your website traffic without detecting.
  • To avoid repeated configuration workloads, it is recommended that the new and original cloud WAF instances be under the same project in the same region.

The pay-per-use billing mode is a postpaid payment method. For a pay-per-use cloud instance, you are billed for the number of added domain names, number of customized rules, and number of requests you use in the entire billing period.

If you want to use WAF for a long time, change its billing mode from pay-per-use to yearly/monthly to reduce costs. Perform the following steps:

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
  4. Disable the WAF instance billed on a pay-per-use basis.

    1. In the navigation pane on the left, choose Instance Management > Product Details.
    2. Click Disable Pay-per-Use Billing.
    3. In the displayed dialog box, select "The involved domain names have been resolved to corresponding origin servers, or they have been brought offline" and click Confirm.

      The working Mode of the WAF instance for all domain names on the website settings page changes to Suspended.

  5. Buy a WAF instance billed on a yearly/monthly basis.

    For details, see Buying a WAF Instance Billed on a Yearly/Monthly Basis.

  6. Enable the WAF protection.

    1. In the navigation pane on the left, choose Website Settings.
    2. In the row containing the desired website, locate the Mode column, click , and select Enabled. Then, click Confirm in the displayed dialog box.

      If the information under Mode changes to Enabled, WAF starts to detect your website.

Changing Yearly/Monthly to Pay-Per-Use

  • For a cloud WAF instance billed on a yearly/monthly basis, after it expires or you unsubscribe from it, you can enable another WAF instance billed on pay-per-use basis.
  • To avoid repeated configuration workloads, it is recommended that the new and original WAF instances be under the same project in the same region or project.

Yearly/Monthly is a prepaid billing mode in which a WAF instance is billed based on the service duration. This cost-effective mode is ideal when the duration of WAF instance usage is predictable.

If you require a more flexible billing mode, in which your WAF will be billed based on usage, you can change the billing mode from yearly/monthly to pay-per-use. Before doing so, ensure that the yearly/monthly subscription has expired or you have unsubscribed from the yearly/monthly cloud instance. Perform the following steps:

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security & Compliance.
  4. Unsubscribe from the yearly/monthly WAF instance or confirm that the yearly/monthly subscription has expired.

    To view the details about the WAF instance you are using, see information displayed in the upper right corner of the Dashboard page.

    For details about unsubscription, see How Do I Unsubscribe from WAF?

  5. Enable a pay-per-use WAF instance.

    For details, see Buying a WAF Instance Billed on a Pay-Per-Use Basis.

  6. Enable the WAF protection.

    1. In the navigation pane on the left, choose Website Settings.
    2. In the row containing the desired website, locate the Mode column, click , and select Enabled. Then, click Confirm in the displayed dialog box.

      If the information under Mode changes to Enabled, WAF starts to detect your website.