All Products
Document Center

Web Application Firewall:Terminate the WAF service

Last Updated:Sep 19, 2023

If you no longer require a Web Application Firewall (WAF) instance, you can terminate the WAF service. This topic describes how to terminate the WAF service.

Background information

We recommend that you terminate the WAF service in the following scenarios:

  • You no longer require your pay-as-you-go WAF instance.

  • Your subscription WAF instance expired and you no longer require the instance.

  • Before you terminate the WAF service, make sure that the DNS records of the websites that are added to your WAF instance point to the origin server. For information about how to modify a DNS record, see Modify a DNS record.

  • After you terminate the WAF service, all the configurations of the websites that are added to your WAF instance are deleted. If a request is still redirected to your WAF instance, the request cannot be forwarded to the origin server, and the website cannot be accessed.


  • If you use a subscription WAF instance: The subscription WAF instance expired.

  • If you use a pay-as-you-go WAF instance: No requests or a few requests are redirected to the pay-as-you-go WAF instance in the previous two days.


  1. Log on to the WAF 3.0 console. In the top navigation bar, select the resource group and the region in which the WAF instance is deployed. You can select Chinese Mainland or Outside Chinese Mainland.

  2. In the Protected Assets section of the Overview page, click Terminate WAF Service.


    If your WAF instance is a subscription instance, the Terminate WAF Service button appears only after the instance expires.

  3. Confirm that the DNS records of your websites point to the origin servers. Then, click OK.

What to do next

If you want to continue using WAF after terminating an existing WAF service, you can purchase a new WAF 3.0 instance on the Web Application Firewall buy page. For more information, see Purchase a subscription WAF 3.0 instance and Purchase a pay-as-you-go WAF 3.0 instance.