Help Center> Web Application Firewall> User Guide> Enabling WAF> Buying a Dedicated WAF Instance

Buying a Dedicated WAF Instance

If your service servers are deployed on HUAWEI CLOUD, you can purchase a dedicated WAF instance to protect important domain names or web services with only IP addresses. To expand the protection capacities and eliminate single points of failure (SPOFs), buy an Elastic Load Balance (ELB) load balancer for your dedicated WAF instances.

Dedicated WAF instances are billed on a pay-per-use basis. You only pay for what you use.

Before purchasing a dedicated WAF instance, submit a service ticket to enable the dedicated mode. Otherwise, you cannot purchase dedicated WAF instances.

Prerequisites

You have obtained management console login credentials for an account with the WAF Administrator and BSS Administrator permissions.

Specification Limitations

The specifications of a dedicated WAF instance cannot be modified.

Constraints

If your dedicated WAF instance and origin server are not in the same VPC, enable communication between the instance and the subnet of the origin server in the security group.
You can buy dedicated WAF instances in the following regions:
  • CN East-Shanghai2
  • CN North-Beijing1
  • CN North-Beijing4
  • South China-Guangzhou

Generally, a WAF instance purchased in any region can protect web services in all regions. To make a WAF instance forward your website traffic faster, select the region nearest to your services.

Application Scenarios

Dedicated WAF instances are good choice if your service servers are deployed on HUAWEI CLOUD and you plan to protect your website by adding its domain names or IP addresses to WAF.

Suitable large enterprise websites that have a large service scale and have customized security requirements.

Procedure

  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. If you are a first-time user, click Buy WAF Now.

    If you are not a first-time user, click Buy/Upgrade WAF in the upper right corner.

  5. (Optional): Select an enterprise project from the drop-down list for Enterprise Project.

    This option is only available if you are logged in using an enterprise account, or if you have enabled enterprise projects. To learn more, see Enabling the Enterprise Center. You can use enterprise projects to more efficiently manage cloud resources and project members.

    • Value default indicates the default enterprise project. Resources that are not allocated to any enterprise projects under your account are listed in the default enterprise project.
    • The default option is available in the Enterprise Project drop-down list when you purchase WAF.

  6. On the Buy Web Application Firewall page, select Dedicated Mode.
  7. Configure instance parameters by referring to Table 1. Figure 1 shows an example.

    Figure 1 Configuring a dedicated WAF instance
    Table 1 Parameters of a dedicated WAF instance

    Parameter

    Description

    Region

    You can buy dedicated WAF instances in the following regions:
    • CN East-Shanghai2
    • CN North-Beijing1
    • CN North-Beijing4
    • South China-Guangzhou

    Generally, a WAF instance purchased in any region can protect web services in all regions. To make a WAF instance forward your website traffic faster, select the region nearest to your services.

    AZ

    Select an AZ in the selected region.

    Instance Name Prefix

    Set a prefix of the dedicated WAF instance name. If you purchase multiple instances, the prefix to each instance name is the same.

    Quantity

    Set the number of WAF instances you want to buy.

    You are advised to buy at least two WAF instances and use both of them to protect your services. With multiple WAF instances being used for your services, if one of them becomes faulty, WAF automatically switches the traffic to other running WAF instances to ensure continuous protection.

    Specifications

    Select specifications for your instance.

    CPU Architecture

    Select CPU architecture for your instance.

    CPU Specifications

    Select ECS specifications for your instance.

    VPC

    Select the VPC to which the origin server belongs.

    Service NIC

    Select a subnet configured in the VPC.

    Security Group

    Select a security group in the region or click Manage Security Group to go to the VPC console and create a security group. After you select a security group, the WAF instance will be protected by the access rules of the security group.

    NOTICE:

    If a dedicated WAF instance and the origin server are not in the same VPC, select a security group that can enable communication between the instance and the subnet of the origin server.

  8. In the lower right corner of the page, click Next.
  9. Check the order details and read the HUAWEI CLOUD Web Application Firewall Disclaimer. Then, select I have read and agree to the HUAWEI CLOUD WAF Disclaimer, and click Pay Now.
  1. On the payment page, select a payment method and pay for your order.
  2. After the payment is successful, click Back to Dedicated Engine List. On the Dedicated Engine page, view the instance status.

Verification

It takes about 5 minutes to create a dedicated WAF instance. If the instance status is Running, the instance creation is complete.

Other Operations

Dedicated WAF Instance Management

This topic describes how to manage your dedicated WAF instances, including viewing instance information, viewing instance monitoring configurations, upgrading the instance edition, or deleting an instance.

Authorizing WAF to Access Data in the VPC Your Website Resides

If you expect to use a dedicated WAF instance, authorize WAF to directly access data in the VPC by enabling certain security rules.

By purchasing a WAF dedicated instance, you agree to authorize WAF to enable such security rules. Currently, the security group rules listed in Table 2 will be automatically enabled for a dedicated WAF instance.

Table 2 Security group rules for WAF to access the VPC your website resides

Protocol & Port

Type

Source Address

Description

Inbound rules

TCP: 22

IPv4

100.125.0.0/16

WAF remote O&M

Outbound rules

TCP: 9011

IPv4

100.125.0.0/16

WAF event logs reporting

TCP: 9012

IPv4

100.125.0.0/16

WAF event logs reporting

TCP: 9013

IPv4

100.125.0.0/16

WAF event logs reporting

TCP: 9018

IPv4

100.125.0.0/16

WAF policy synchronization

TCP: 9019

IPv4

100.125.0.0/16

WAF heartbeat logs reporting

TCP: 4505

IPv4

100.125.0.0/16

WAF policy synchronization

TCP: 4506

IPv4

100.125.0.0/16

WAF policy synchronization

TCP: 50051

IPV4

100.125.0.0/16

WAF performance logs reporting

TCP: 443

IPv4

100.125.0.0/16

WAF policy synchronization