Help Center> Web Application Firewall> User Guide> Enabling WAF> Buying a Load-Balancing WAF Instance

Buying a Load-Balancing WAF Instance

If your service servers are deployed on HUAWEI CLOUD, using load-balancing WAF instances can improve reliability and security of your business-critical services.

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

Before purchasing a load-balancing WAF instance, submit a service ticket to enable the ELB mode. Otherwise, you cannot purchase load-balancing WAF instances.

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.

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 load-balancing WAF instance cannot be modified.

Constraints

Only a dedicated load balancer that is in the same VPC as a load-balancing WAF instance can be configured for the WAF instance. Otherwise, your website traffic will not be forwarded to WAF.

Load-balancing WAF instances are available in the CN North-Beijing4 region only.

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

Load-balancing 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.

Large enterprise websites having high security requirements on service stability

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 ELB Mode.
  7. Configure instance parameters by referring to Figure 1. Table 1 shows an example.

    Figure 1 Configuring a load-balancing WAF instance
    Table 1 Parameter description

    Parameter

    Description

    Region

    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.

    NOTICE:
    • Before you purchase a dedicated or load-balancing WAF instance, submit a service ticket to apply for enabling WAF dedicated or ELB mode. Otherwise, you cannot buy dedicated or load-balancing WAF instances.
    • Load-balancing WAF instances are available in the CN North-Beijing4 region only.

    AZ

    Select an AZ in the selected region.

    Instance Name Prefix

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

    Quantity

    Set the number of WAF instances you want to purchase.

    Specifications

    Select specifications for your instance.

    CPU Architecture

    Select CPU architecture for your instance.

    CPU Specifications

    Select ECS specifications for your instance.

    Instance Group

    Select an instance group. You can use the instance group to manage multiple load-balancing WAF instances. If no instance group is available, click Create Instance Group. For details, see Creating an Instance Group.

    Service NIC

    Select a subnet configured in the instance group.

    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 the 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. Confirm the product details and 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 five minutes to create a WAF instance. If the instance status is Running, the instance creation is complete.

Authorizing WAF to Access Data in the VPC Your Website Resides

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

By purchasing a load-balancing WAF 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