How To's - Deploy Web Application with BIG-IP

How To's - Deploy Web Application with BIG-IP

Hi there, in this post we’re going to deploy a Web application through BIG-IP.

This lab assumes you have already BIG-IP licensed and configured. Our lab will be deployed based on the topology below:

No alt text provided for this image

For addressing we’re going to use the following configuration:

ClientLisbon:

IP: 203.0.1.2/24

GW: 203.0.1.1

ClientLondon

IP: 203.0.1.3/24

GW: 203.0.1.1


Asav

G0/0 203.0.1.1/24

G0/0 192.168.0.1/24


BIGIP

E 1.1 - 192.168.0.10/24

E 1.2 - 192.168.1.10/24


SERVER1

E0 - 192.168.1.11/24?

?

SERVER2

E0 - 192.168.1.12/24

?

SERVER3

E0 - 192.168.1.13/24

?

SERVER4

E0 - 192.168.1.14/24


?We'll begin by configuring ASAv.

interface GigabitEthernet0/0

?nameif outside

?security-level 0

?ip address 203.0.1.1 255.255.255.0?

!

interface GigabitEthernet0/1

?nameif inside

?security-level 100

?ip address 192.168.0.1 255.255.255.0?

!

object network BIGIP

?host 192.168.0.100

access-list INSIDE_TO_OUTSIDE extended permit ip object BIGIP any?

access-list OUTSIDE_TO_INSIDE extended permit tcp any object BIGIP eq www?

object network BIGIP

?nat (inside,outside) static 203.0.1.100

access-group OUTSIDE_TO_INSIDE in interface outside

access-group INSIDE_TO_OUTSIDE in interface inside


Now let’s enable IIS service on the servers to deploy a web page that will be accessed from the internet.

In Windows Server go to Start > All Programs > Administrative Tools > Server Manager > Roles > Add Roles > Next > Web Server IIS > … Install

No alt text provided for this image

Once the installation finishes, let’s return to the Server Manager and access the Internet Information Server by extending the Web Server (IIS) Role.

No alt text provided for this image

Inside the IIS Manager, we’ll extend the SERVER_NAME > Sites > Right on click on default Web Site > Explore

No alt text provided for this image

It will take us to the folder where the default web page located, I’ll change the web page to something much simpler. I want each server to display a slightly different page.

Now let’s begin configuring the BIGIP interfaces, log in to BIG-IP web page.

We’ll create two VLANS. The first one will be the internal interface and second one will be the external interface. Go to Network > VLANs > Create

No alt text provided for this image

We’ll provide the name, the vlan tag, and choose the interface 1.1 untagged.

No alt text provided for this image

The second one will be assigned to the interface towards the firewall. We’ll provide the name, the vlan tag, and choose the interface 1.2 untagged.

No alt text provided for this image

Now let’s assign the IP address to the interfaces by going to Network > Self IPs > Create

No alt text provided for this image

We’ll specify the IP address, netmask, and VLAN. For Port Lockdown we’ll choose the default. Repeat the same process for each interface.

No alt text provided for this image

We can check the interface status through Network > Interfaces, and confirm the status is UP.

No alt text provided for this image

Now let’s create a monitor, to monitor the nodes state, by accessing Local Traffic > Monitors > Create.

No alt text provided for this image

Specify the name, the type and the port Alias Service Port

No alt text provided for this image

Next let’s add the nodes through Local Traffic > Nodes > Create

No alt text provided for this image

Specify the name referencing the server, the IP address and for Health Monitors we’ll choose Node Specific and we’ll add the one created earlier. Repeat the same process for all the servers.

No alt text provided for this image

The final result should look like the one below.

No alt text provided for this image

Next we’ll create a pool for http service on port 80, through Local Traffic > Pools > Create

No alt text provided for this image

We’ll add the servers as members and we’ll add also a Health Monitor.

No alt text provided for this image

Lastly let’s create the Virtual Server that will process the traffic that will be load balanced to the servers, on Local Traffic > Virtual Servers > Create.

Specify the Name, Destination Address, Service Port and assign the pool created in Default Pool option.

No alt text provided for this image

Now let’s try to access the application from the “Internet”.

From ClientLisbon the session is sent to SERVER1

No alt text provided for this image

From ClientLondon the session is sent to SERVER3

No alt text provided for this image

We can monitor how much load traffic each server is receiving, by looking at Statistics > Local Traffic > Statistics Type > Pools

No alt text provided for this image

And we have deployed a web application through BIP-IP.

I hope you enjoyed this post, leave your comments below and I'll see you on the next one.

Reference:

https://support.f5.com/csp/knowledge-center/software/BIG-IP?module=BIG-IP%20LTM&version=16.0.1

要查看或添加评论,请登录

Silésio Carvalho的更多文章

  • The Power of Visualization

    The Power of Visualization

    I am Silésio Carvalho, CCIE #65745 and I passed the CCIE lab exam on November 30 2021. If you paid attention to the…

    8 条评论
  • ForticlientEMS fails connection with Fortihate

    ForticlientEMS fails connection with Fortihate

    For those trying to play with Fortigate ZTNA, if you're using Fortigate on evaluation mode, one of the restrictions…

  • Why you won't become a CCIE

    Why you won't become a CCIE

    I'm not the author for the text below but I wanted to share this with you, in case you're thinking about taking the…

    10 条评论
  • Trobleshoot SD-WAN – Part 2

    Trobleshoot SD-WAN – Part 2

    Hi there, in the last article we saw how to troubleshoot control connection failure on Cisco SD-WAN, caused by…

  • Trobleshoot SD-WAN – Part 1

    Trobleshoot SD-WAN – Part 1

    Hi there, While deploying Cisco SD-WAN you might face control connection errors related to certificate. Here are some…

  • Como eu come?aria de novo, em Networking (Redes)?

    Como eu come?aria de novo, em Networking (Redes)?

    Estou nesta jornada a mais de uma década e até a data, tem sido uma caminhada nada fácil (por op??o minha) mas muito…

    6 条评论
  • CCIE - The Plan

    CCIE - The Plan

    Hi there, first of all, I’d like thank everyone for the congratulations messages. As a thank you back, I’ll share with…

    20 条评论
  • How To's - Deploy Checkpoint Remote Access VPN

    How To's - Deploy Checkpoint Remote Access VPN

    Hi there, in this post we'll see how to deploy remote access using Checkpoint Remote Access VPN client. Some…

    3 条评论
  • How To’s – Deploy DMVPN Front Door VRF (automating with ansible)

    How To’s – Deploy DMVPN Front Door VRF (automating with ansible)

    Hi there, in this post we're going to deploy DMVPN Front Door VRF and using ansible. Basically, we'll be using DMVPN…

    1 条评论
  • How To’s – Deploy DMVPN Dual Hub Dual Cloud

    How To’s – Deploy DMVPN Dual Hub Dual Cloud

    Hi there, in this post we’ll see how to deploy DMVPN Dual Hub Dual Cloud. Basically it means we’ll have two or more…

社区洞察

其他会员也浏览了