Azure Classroomnotes 01/Jul/2023

Azure Networking contd

  • Proxy Server: This is used to filter out the outbound traffic from your network to external
    Preview
  • Reverse Proxy: This is used to route/forward the inbound traffic into your servers
    Preview
  • Load Balancer aim is to distribute traffic so that one server is not overloaded.
    Preview
  • Load Balancers perform health checks
  • Load Balancers work at two layers
    • Layer 4 Load Balancer:
      • This load balancer can forward the traffic based on port, ip address, protocol
    • Layer 7 Load Balancer: This load balancer operates on layer 7 i.e. it has knowledge of ip,port,protocol, url
      • Path Based Routing
      • Host Name based routing
  • Azure Load Balancer: This is a service from azure to perform layer 4 load balancing
    Preview
  • Azure Application Gateway: This is a service from azure to perform layer 7 load balancing
    Preview

Lab Environment Setup

Layer 4 load Balancing

  • Create a vnet with two subnets
    • web
    • app
  • Create 2 ubuntu vms in web
    • install apache server
      sudo apt update
      sudo apt install apache2 -y
    • create a html page
      echo "<h1> Web </h1>" > /var/www/html/info.html
  • Create 2 ubuntu vms in app
    • install apache server
      sudo apt update
      sudo apt install apache2 -y
    • Create a html page
      echo "<h1> app </h1>" > /var/www/html/info.html

Layer 7 Load Balancing

  • Create a network with two subnets app and admin
  • Create two vms in app subnet
sudo apt update
sudo apt install apache2 -y
sudo mkdir /var/www/html/app
echo "<h1> app </h1>" > /var/www/html/app/info.html
  • Create two vms in admin subnet
sudo apt update
sudo apt install apache2 -y
sudo mkdir /var/www/html/admin
echo "<h1> admin </h1>" > /var/www/html/admin/info.html

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube