Skip to content

Trying Wallarm Terraform Module with examples

We have prepared the examples of different ways to use the Wallarm Terraform Module, so you could try it before deploying it to production.

There are 4 examples representing frequent deployment approaches:

  • Proxy solution

  • Proxy advanced solution

  • Mirror solution

  • Solution for AWS VPC Traffic Mirroring

Proxy solution

This example demonstrates how to deploy Wallarm as an inline proxy to AWS Virtual Private Cloud (VPC) using the Terraform module.

Wallarm proxy solution provides an additional functional network layer serving as an advanced HTTP traffic router with the WAF and API security functions. This is the recommended deployment option since it provides the most functional and easy to implement solution.

Proxy scheme

Key characteristics of the solution:

  • Wallarm processes traffic in the synchronous mode that does not limit Wallarm capabilities and enables instant threat mitigation (preset=proxy).

  • Wallarm solution is deployed as a separate network layer that enables you to control it independently from other layers and place the layer in almost any network structure position. The recommended position is behind an internet-facing load balancer.

Refer to the example deployment guide on GitHub

You can see the solution flexibility in action by trying the proxy advanced solution.

Proxy advanced solution

This example demonstrates how to deploy Wallarm as an inline proxy with advanced settings to AWS Virtual Private Cloud (VPC) using the Terraform module. It is a lot like the simple proxy deployment but with some frequent advanced configuration options demonstrated.

Wallarm proxy advanced solution (as well as a simple proxy) provides an additional functional network layer serving as an advanced HTTP traffic router with the WAF and API security functions.

Refer to the example deployment guide on GitHub

Proxy solution for Amazon API Gateway

This example demonstrates how to protect Amazon API Gateway with Wallarm deployed as an inline proxy to AWS Virtual Private Cloud (VPC) using the Terraform module.

Wallarm proxy solution provides an additional functional network layer serving as an advanced HTTP traffic router with the WAF and API security functions. It can route requests to almost any service type including Amazon API Gateway without limiting its capabilities.

Refer to the example deployment guide on GitHub

Mirror solution

This example demonstrates how to deploy the Wallarm Terraform module as an Out-of-Band solution analyzing mirrored traffic. It is expected that the NGINX, Envoy, Istio and/or Traefik web server already provides traffic mirroring.

Mirror scheme

Key characteristics of the solution:

  • Wallarm processes traffic in the asynchronous mode (preset=mirror) without affecting the current traffic flow which makes the approach the safest one.

  • Wallarm solution is deployed as a separate network layer that enables you to control it independently from other layers and place the layer in almost any network structure position. The recommended position is in the private network.

Refer to the example deployment guide on GitHub

Solution for AWS VPC Traffic Mirroring

This example demonstrates how to deploy the Wallarm Terraform module as an Out-of-Band solution analyzing traffic mirrored by Amazon VPC.

Mirror scheme

Key characteristics of the solution:

  • Wallarm processes traffic in the asynchronous mode (preset=mirror) without affecting the current traffic flow that makes the approach the safest one.

  • Wallarm solution is deployed as a separate network layer that enables you to configure it independently from other layers and place the layer in almost any network structure position. The recommended position is in the private network.

Refer to the example deployment guide on GitHub