After purchasing a Hybrid Cloud WAF instance, deploy a hybrid cloud cluster before adding any websites to the instance. This topic describes how to plan resources, create the cluster, and verify it is healthy.
Prerequisites
Before you begin, ensure that you have:
A Hybrid Cloud WAF instance
On-premises servers with the WAF agent (vagent) installed. See Install the WAF agent
Load balancers provisioned based on your deployment plan (see Choose a deployment plan)
Choose a deployment plan
Each cluster node handles 5,000 QPS for HTTP or 2,000 QPS for HTTPS. The default protection setup covers 10,000 QPS (HTTP) or 4,000 QPS (HTTPS). Add nodes if your traffic exceeds these limits.
Select a plan based on your stability and protection requirements:
| Scenario | Plan | Servers | Load balancers | Components |
|---|---|---|---|---|
| High stability + high protection | Disaster recovery for protection and management | 5 (recommended) | 2 | Storage: 1 server; Management: 2+ servers + 1 LB; Protection: 2+ servers + 1 LB |
| High stability | Disaster recovery for protection only | 3 (recommended) | 1 | Management and storage: 1 server; Protection: 2+ servers + 1 LB |
| Proof of concept (POC) | Minimum deployment | 2+ | None | Management and storage: 1 server; Protection: 1+ servers |
To scale beyond the default capacity, add nodes. Each additional node adds 5,000 QPS (HTTP) or 2,000 QPS (HTTPS).
Create a hybrid cloud cluster
Log on to the WAF 3.0 console. In the top navigation bar, select the resource group and the region of your WAF instance. The region can be Chinese Mainland or Outside Chinese Mainland.
In the left-side navigation pane, choose Systems > Hybrid Cloud Settings.
Click Create Cluster.
Complete the Basic information configuration step, then click Next.
WarningFor security purposes, specify only the ports required for your web services.
Parameter Description Cluster Name Enter a name for the cluster. Protection Nodes Specify the number of nodes. The total across all hybrid cloud clusters cannot exceed the limit set at purchase. Each node corresponds to one server. Server Port Ports 80, 8080, 443, and 8443 are enabled by default. Add extra ports only if your web services require them. Press Enter after each port to save it. The following ports are reserved and cannot be used: 22, 53, 9100, 4431, 4646, 8301, 6060, 8600, 56688, 15001, 4985, 4986, and 4987. Cluster Access Mode Internet: the WAF console connects to the cluster over the Internet. Internal Network: the WAF console connects over an Express Connect circuit. Select Internal Network only if Express Connect is deployed. Remarks (Optional) Enter a description. Complete the Node group configuration step. Node groups organize servers by role. Add groups in one of the following sequences: Node group type constraints: To add a node group:
Complete the Initial node configuration step. Add your on-premises servers as cluster nodes. Install vagent on each server before adding it. See Install the WAF agent. The number of nodes cannot exceed the Protection Nodes value set for the cluster. Add at least 2 nodes to the Protection node group to enable online active-active disaster recovery. To add a node:
Click Create Node.
In the Create Node dialog box, configure the following parameters:

Parameter Description Server IP Address Enter the public IP address of the on-premises server. Node Name Enter a name for the node. Region Select the region of the node. Server Configuration Automatically populated by the system. Protection Node Group Select the node group to add this node to. Click Save.
Wait several minutes for the cluster to finish deploying.
Verify the cluster
After the cluster deploys, go to Systems > Hybrid Cloud Settings to confirm the cluster is healthy.
In the General Information section at the top of the page, confirm the cluster details are displayed. If you have multiple clusters, click Switch Cluster to select a specific one.

In the Cluster Nodes section, check the status of each node:

| Field | Expected value | Action if not as expected |
|---|---|---|
| Node Status | Normal | The server is shut down. A stopped node cannot provide protection. Investigate and restart the server. |
| Application Status | Normal | vagent has stopped. The node may be unable to provide protection. Log on to the server, check the installation and running status of vagent, and fix the issue. See Install the WAF agent. |
What's next
Go to the Website Access page and associate your web services with the cluster:
In the Enter Your Website Information step, set Protection Resource to Hybrid Cloud Cluster.
Set Name of Protected Node Group to the node group you want to use.
Configure the remaining parameters the same way as for a shared cluster.
For details, see Add a website.
