Login to F5’s lab platform (Unified Demo Framework) and launch a remote desktop session

Follow the link in your email invite and login to the lab environment.

Your Deployment => Systems => win2019 => DETAILS. Copy the Administrator password to your clipboard. The password starts immediately after Administrator:


Click [Done] in the lower right-hand corner.

Under win2019, from the ACCESS drop-down, select RDP and resolution. The lab looks best in FHD (1920 x 1080). This will download the rdp file to your computer. Launch the RDP file and login via RDP using the Administrator credentials. Copy and paste credentials from your clipboard.


When prompted with the blue “Networks” message click “Yes”.



Before proceeding, wait 30 seconds for the Visual Studio Code and Postman applications to start automatically.

You can run the entire lab from within the Windows jump host.

Visual Studio Code => View => Terminal

You will see:
  • AWS Console URL
  • AWS Console Username
  • AWS Console Password

Maximize the Terminal Window by clicking on the ^ in the upper-right-hand corner of the Terminal.


Login to AWS Console

A URL shortcut has been auto-generated on the Windows desktop: “Amazon Web Services Sign-In”.

First, launch Firefox from the taskbar, then click on the “Amazon Web Services Sign-In” URL shortcut on the Desktop.

If the Firefox resolution in your RDP session renders components off-screen, try to first launch Firefox from the taskbar before you click on the “Amazon Web Services Sign-In” URL shortcut on the Desktop.

Alternatively, you can CTRL+click the “AWS Console URL:” https shortcut in the Visual Studio Code terminal.


Login to the AWS web console with the credentials shown in your terminal.


In the upper-right-hand corner, choose US-West (Oregon) us-west-2 region.


“Services” => type “marketplace” in the search window. Select “AWS Marketplace Subscriptions” from the search results. Right-click on “Manage subscriptions” to open a new tab. => “Discover products” Type “f5 advanced 25mbps” in the search box. => “F5 Advanced WAF with LTM, IPI, and Threat Campaigns (PAYG, 25Mbps)” => “Continue to Subscribe” => “Accept Terms”

../../_images/6_aws_marketplace_accept_terms_f5.png ../../_images/6a_aws_marketplace_accept_terms_f5.png ../../_images/6b_aws_marketplace_accept_terms_f5.png

Track “Effective date” and “Expiration date”. When they are no longer “Pending” you can proceed.


Create an AWS VPC with Terraform

From the Visual Studio Code Terminal, clone the github repository for this lab and change to the working directory.


For a smooth ride, always invoke commands from inside the cloned git repository (f5agility2020-pc101). To check you’re in the right place, you can run the command pwd and the output should read /home/f5admin/f5agility2020-pc101

git clone https://github.com/TonyMarfil/f5agility2020-pc101.git
cd f5agility2020-pc101/

Run the start.sh script to set environment variables and make the ./scripts directory executable

source ./start.sh

Create an SSH key and upload to your AWS account. We’ll later use this key to connect to our F5 instances.


From the AWS Console => Services => EC2 => Key pairs. Confirm your ssh key was created.


Initialize Terraform modules.

terraform init

Validate Terraform files and create a terraform dependency graph.

terraform validate

From the Windows desktop, click on the “terraform_dependancy_graph” URL shortcut. Review in your browser. Terraform creates a dependency of all of the objects in your environment. This is one of the major advantages to using a declarative tool for building infrastructure and services.

../../_images/12_terraform_dependency_graph_desktop_shortcut.png ../../_images/13_terraform_dependency_graph_svg.png

From the Visual Studio Code Terminal

terraform plan -var 'bigip_admin_password=f5letme1n'
terraform apply -var 'bigip_admin_password=f5letme1n' -auto-approve
../../_images/15_terraform_plan.png ../../_images/16_terraform_apply.png ../../_images/17_terraform_apply_complete.png

Review the terraform output when complete. You can always get the terraform output details again by invoking from the terminal:

terraform output