Deploy a BYOL BIG-IP in Azure with 3 NIC’s

In this lab you will build an F5 BIG-IP using a publicly available github template and a web server using the Azure portal GUI. Once these components are built you will create a Virtual server and pool on the BIG-IP and verify connectivity to the Ubuntu server through the VIP. Take time to inspect the objects in the Azure Resource Group you create. Azure provides integrated NAT and Firewall services. You will review the objects in the resource group through the portal to understand the IP scheme, NAT and Firewall rules.

Log on to the Ravello jumphost using the FQDN assigned by the instructor. All work in this lab will be done from the jumphost using the Browser and Terminal functions.

image3

Accessing Ravello Jump Host and deploy BIG-IP

  1. RDP to the Ravello Jumphost

    • Username: Ubuntu
    • Password: supernetops
    • Open the chrome browser
    • Adjust the font size using the Zoom In
    • Size the window
  2. Browse to Github to access the F5 – Azure templates

    image101

  3. You will be redirected to portal.azure.com

  4. Complete the Customized template with the following values (don’t follow the screen shot)

    Resource Group Select Create New
    Resource Group student#-rg
    Location East US
    Admin Username azureuser
    Admin Password ChangeMeNow123
    DNS Label student#BIGIP
    Licensed Bandwidth 25M
    Number of External IPs 3
    Timezone UTC
  5. Check the “I Agree” box in front of the terms and conditions

  6. Select the “Purchase” button

    image102

  7. This will take about 15 minutes –

    • You can monitor deployment on the azure dashboard by opening the Notifications in the azure portal

    image103

  8. Continue with the Lab. The deployment will complete by the time the BIG-IP configuration is required

Install a Linux Server in Azure

  1. Navigate to the Azure Marketplace and select Create a Resource

  2. Select Ubuntu Server 17.10 VM

    image104

  3. Complete the Customized template with the following values (don’t follow the screen shot)

    Name F5Ubuntu-student#
    VM disk type HDD
    Admin Username azureuser
    Admin Password ChangeMeNow123
    Resource Group Select:Use Existing
    Resource Group student#-rg
    Location East US
    Timezone UTC
  4. Select the “OK” button

    image105

  5. Select the machine type

    • Highlight B1s
    • Select Button at the bottom of the page

    image106

  6. Define the machine config parameters

    • Select Subnet
    • Select the internal subnet
    • Select SSH in the select public inbound ports
    • Select the “OK” button

    image107

  7. Create the machine

    • Review the configuration
    • Select the “Create” button

    image108

Install Apache Web Server on the Linux Server in Azure

  1. Access the Azure Portal to find the external IP address of the Ubuntu Server

    • Resource Groups
    • Select your Resource Group
    • Identify the Object with the Ubuntu Public IP address

    image109

  2. SSH to the Apache Server

    • Open the Terminal window on the jumphost
    • ssh azureuser@<Ubuntu public IP Address>
    • Password: ChangeMeNow123
  3. Use the following Commands to install Apache Web server

    • sudo apt-get update
    • sudo apt-get install apache2

Use the Azure portal to gather IP information about the systems you have built

  1. Access the Azure Portal to find the IP address on the internal network of the Ubuntu Server

    • Resource Groups
    • Select your Resource Group
    • Identify the object with the Ubuntu Network Interface
    • Select “Ip configurations in the left panel
    • Note the IP-Address <10.0.3.5> (this is the address which will be used as the pool member on the BIG-IP config)

    image110

  2. Access the Azure Portal to find the public IP address assigned to the F5 management interface.

    • Resource Groups
    • Select your Resource Group
    • Identify the Object with the BIG-IP Management Interface student#-mgmt
    • Note Public IP mapped to the management interface

    image111

  3. Access the Azure Portal to find the NAT IP address assigned to the external F5 interface.

    • Resource Groups
    • Select your Resource Group
    • Identify the Object with the BIG-IP External Interface student#bigip-ext
    • Select “IP configurations” in the left panel
    • Note External Self IP mapped to 10.0.2.4
    • Note External Self IP mapped to 10.0.2.10 (this will be used to configure the VIP on the BIG-IP)

    image112

Review the BIG IP config objects created by the template and build a VIP

  1. Access the BIG-IP management GUI

    • Open another browser window
    • https://<Public-IP-of-Management>
    • Username: azureuser
    • Password: ChangeMeNow123
  2. Inspect the configuration of the BIG-IP

    • The github template has built the base configuration
    • System>>License
    • Network>>Self IPs
    • Network>>VLANs
  3. Create a pool with the Ubuntu Server as a member (Note that we only created a single web server. Typically there would be multiple members in the pool)

    • Local Traffic>>Pools
    • Create Button in upper right corner
    Name Azure_Ubuntu_Pool
    Health Monitors http
    Address 10.0.3.5 <VIP Info from Azure Portal>
    Service Port http
  • Click the “Add” button
  • Click the “Finished” button
image113
  1. Create a Virtual Server using the Azure_Ubuntu_Pool

    • Local Traffic>>Virtual Servers
    • Create Button in upper right corner
    Name Azure_Ubuntu_VIP
    Destination Address/Mask 10.0.2.10 <IP Info From Azure Portal>
    Service Port http
    HTTP Profile http
    Source Address Translation auto map
    Default Pool Azure_Ubuntu_pool
    • Click the “Finished” button

    image114

Add an ACL in the Azure portal to permit HTTP traffic to the VIP and test connectivity

  1. Access the Azure Portal to add a permit statement to the external ACL

    • Resource Groups
    • Select your Resource Group
    • Identify the Object with the BIG-IP Network Security student#bigip-ext-nsg
    • Select Inbound Security Rules
    • Press the +Add button at the top of the page
    • Create a rule permitting destination port 80
    • Destination Port Ranges 80
    • Name Port_80
    • Press the Add button at the bottom of the window

    image115

  2. Verify that you can connect to the Application

    • Open another browser window
    • http://<Public-IP mapped to the VIP address from the Azure portal>

Manually add an external IP to azure and build a VIP

In this section we will add a new application to the existing BIG-IP. Since we want to make the application available externally, we will manually add a NAT entry to the external interface in Azure and then create a VIP on the BIG-IP.

  1. Access the Azure Portal

    • Review the existing external interface
    • Resource Group
    • student#bigip-ext Network interface
    • IP configurations
    • Note that we currently have 4 IP addresses on the 10.0.2.0 segment

    image116

  2. Add a Public IP to Private IP NAT to the external interface in Azure

    • Select +ADD at the top of the GUI
      • Name student#-rg-ext-ipconfig20
      • Allocation Static
      • IP address 10.0.2.20
      • Public IP address Enabled
      • Configure Required Settings
      • Click “Create New” at the top of the page
      • Name student#bigip-ext-pip20
      • SKU Basic
      • Assignment Static
      • OK (bottom right)
      • OK (bottom left)

    image117

  3. Access the BIG-IP management GUI

    • https://<Public-IP-of -Management)
    • Us ername: azureuser
    • Password: ChangeMeNow123
  4. Create another Virtual Server using the Azure_Ubuntu_Pool (this is done to skip the redundancy of building another pool)

    • Create Button in upper right corner
    Name ADD_Azure_Ubuntu_VIP
    Destination Address/Mask 10.0.2.20 <IP Info From Azure Portal>
    Service Port http
    HTTP Profile http
    Source Address Translation auto map
    Default Pool Azure_Ubuntu_pool
    • Finished Button
  5. Access the Application

    • http://<Public-IP mapped to the VIP address–this info can be found in the Azure portal>

Access the Azure portal to delete the objects you created in this lab

  1. Access the Azure Portal

    • Resource Groups
    • Select your Resource Group
    • Right Click on the Resource group and select Delete Resource Group
    • Follow the prompts to complete the process

    image118

#