Creating HTTP Load Balancer on Distributed Cloud Console Regional Edge

In this exercise we will be creating a “Global VIP” that will exist on the Volterra Global Network.

It will protect a public resource that exists in the lab’s AWS Lab Environment.

../_images/testdrive-volterra-waf-global-vip.png

Exercise 1: HTTP Load Balancer Configuration

  1. Start in Distributed Cloud Console and switch to the “Web App & API Protection” context. [You should already be here from previous lab]

  2. Navigate the menu to go to “Manage”->”Load Balancers” -> “HTTP Load Balancers” and click on “Add HTTP Load Balancer”.

  3. Enter the following variables:

    Variable

    Value

    Name

    global

    Domains

    studentXXX.sales-public.f5demos.com

    Select type of Load Balancer

    HTTP

    Automatically Manage DNS Records

    Yes/Check

    |lb-basic|

Exercise 2: Configure Default Origin Server

We’ll next configure the “Default Origin Servers”.

  1. Click on the Add Items link under the Default Origin Servers section.

  2. The “Select Origin Pool Method” will be set to “Origin Pool”. Under the “Origin Pool” dropdown menu select the “public” pool you created earlier.

    ../_images/lb-pool-public.png
  3. Click the Add Item button to exit the “Origin Pools” dialogue.

  4. Notice that in the “VIP Configuration” section Advertise On Internet has been selected by default.

Exercise 3: Configure WAF Policy

  1. Under the Security Configuration section

  2. Enter the following variables:

    Variable

    Value

    Select Web Application Firewall (WAF) Config

    App Firewall

    App Firewall

    blocking-app-firewall

  3. Click “Save and Exit to create the HTTP Load Balancer.

Once the HTTP Load Balancer has been deployed, you should now be able to go to the DNS name that you entered previously in a web browser. The FQDN we used in our example is http://studentXX.sales-public.f5demos.com. Your FQDN should follow the format of [unique name].[supplied domain name for your tenant].

Note

If you are having challenges connecting to the “f5demos.com” name you can also try connecting to the “ves.io” name.

Exercise 4: Verify Configuration

The public demo app should look like the following:

../_images/screenshot-global-vip-public.png

In this topology we are sending traffic to an AnyCast IP that is hosted in Volterra’s Regional Edge.

We then connect to the AWS resource via it’s Public IP address.

Try adding the following to the URL “/?cat%20/etc/passwd”.

You should see a block page.

../_images/screenshot-global-vip-public-cat-etc-passwd.png

Exercise 5: Performance and Security

  1. Start in Distributed Cloud Console and switch to the “Web App & API Protection” context. [You should already be here from previous lab]

We can view details of successful requests and blocks by navigating to “Apps & APIs”

  1. Click on “Apps & APIs”->”Performance” and click on your “global” Load Balancer (bottom right)

    ../_images/performance-overview.png

    You will see a health score of your application as well as end to end latency of the connection.

    ../_images/screenshot-global-vip-performance-dashboard.png
  2. Click on “Requests” in the upper page navigation

    You should be able to view logs for individual requests.

    ../_images/screenshot-global-vip-public-requests.png
  3. Click on “Apps & APIs”->”Security” and click on your “global” Load Balancer (bottom right)

  4. Click on “Security Events” You will be able to see details of the security events.

    ../_images/screenshot-global-vip-public-security-events.png

    Clicking on the arrow to the left of a security event will expand the details.

    ../_images/screenshot-global-vip-public-security-events-details.png

Next we will demonstrate how we can securely connect to your private AWS resources via a VoltMesh node.