Setting up the WAF Gateway VMs on Azure
-
- Last UpdatedMar 24, 2025
- 3 minute read
You must first set up a WAF Gateway virtual machine. The same image will be used for creating both Management Servers and Gateways.
To set up a WAF Gateway virtual machine:
- Navigate to the new Azure portal.
- From the tiles, select Marketplace, or select Browse > Marketplace.
- In the Search the Marketplace field, type
Imperva
. The Imperva products appear. - Select Imperva WAF Gateway (On Prem WAF) v15.
- Click Create.
- Enter the details for your setup as prompted by the Azure workflow and launch a new virtual machine.
- You must pay close attention to the following items:
- Public IP Address: By default, Azure creates a new Public IP Address for each new machine that is created from the marketplace. For security reasons, it is recommended that you do not create a public IP address for the WAF Gateway machines, but instead use a jump server to access the WAF Gateway machines from the Internet.
- Security Groups: By default, the WAF Gateway machines are created with a Security Group that contains the required WAF Gateway inbound ports.
- 22 (SSH)
- 80 (HTTP for Gateway Reverse Proxy)
- 443 (HTTPS for Gateway Reverse Proxy)
- 8087 (Gateway management)
- 8083 (MX management)
Provided the WAF Gateway machines are accessible through the load balancer only, and not directly from the Internet, there is no need to change the Security Group. However, if the WAF Gateway machine is accessible from the Internet, you should limit the three management ports, 22, 8083, and 8087, to specific IPs or internal subnets.
- Outbound Internet Traffic: Outbound internet traffic is required for outbound traffic based services like ThreatRadar, Software Update, etc. to work. These include traffic that goes to the following domains:
- Imperva.com
- *.impervacloud.com
Note: You must ensure that port 8087 is blocked to outside connections.
- Machine Size Mapping: The table below lists the recommended mapping of WAF Gateway virtual appliance model numbers and the corresponding Azure machine size.
WAF Gateway Virtual Appliance Model |
Recommended Azure Machine Size |
Performance |
---|---|---|
MV1000 |
A2 for HTTP only A3 for HTTPS |
100Mbps |
MV2500 |
A3 or D3 for HTTP only D3v2 or D4 for HTTPS |
500Mbps |
MX |
A3 |
NA |
Note: Once you have set up the machine, you will need to configure its IP address as static. For more information, seethe Static Private IP address pages in the Microsoft Azure documentation. |