Azure Load Balancers
- In Azure we have two types of load Balancers
- Azure Load Balancer:
- Azure Application Gateway
Setup
- Lets create two vm images for two websites
Boxer Image creation:
- Create a vm and setup boxer website
sudo apt update
sudo apt install nginx unzip -y
cd /tmp
wget https://www.free-css.com/assets/files/free-css-templates/download/page296/oxer.zip
unzip oxer.zip
sudo mv oxer-html /var/www/html/boxer
- Create a resource group called as vmimages
- Now capture the image as shown in the class
- Gallery: applications
- vm definition: boxer
- version: 1.0.0
Gym Image creation:
- Create a vm and setup boxer website
sudo apt update
sudo apt install nginx unzip -y
cd /tmp
wget https://www.free-css.com/assets/files/free-css-templates/download/page296/neogym.zip
unzip neogym.zip
sudo mv /var/www/html/neogym-html/ /var/www/html/
sudo mv /var/www/html/neogym-html/ /var/www/html/gym
- Create a resource group called as vmimages if it doesnot exist
- Now capture the image as shown in the class
- Gallery: applications
- vm definition: gym
- version: 1.0.0
Components
- Type:
- public: Exposed via a public ip
- internal: Gets an internal ip to use with in network
- Frontend:
- This refers to ip of the load balancer
-
Backend Pool:
- This refers to the instances which load balancer is server

-
Watch classroom video for layer 4 and layer 7 Configuration in Azure
Like this:
Like Loading...