Azure Classroom Series – 12/Nov/2020

OSI Networking Model

  • Refer Here for OSI Networking model
  • Refer Here for loadbalancing basics Preview
  • Load balancers balance the load across multiple physical/virtual machines
  • Loadbalancers will be of two types
    • Layer 4 loadbalancer
      • Aware of tcp, udp
      • Aware of ip address and port
      • These loadbalancer can send traffic to different servers on their ip addresses on some networking port Preview
    • Layer 7 loadbalancer
      • Aware of http & https
      • Aware of tcp, udp
      • Aware of ip address and port
      • These loadbalancers since they http aware they can send the traffic to servers depeding on uri Preview

Loadbalancing in Azure

  • Azure provides load balancers which support layer 4 and layer 7 loadbalancing. Azure gives the option for a public loadbalancers and also internal loadbalancers
  • Azure Loadbalancer:
    • This loadbalancer is Layer 4 loadbalancer
  • Azure Application Gateway
    • This is Layer 7 Loadbalancer.

Exercise: Layer 4 Load balancing with static machines

  • Lets create two vm with lamp vm image Preview
  • Now navigate to home => All Services Preview Preview
  • Refer Here for standard vs basic load balancer comparision Preview Preview
  • After the lb is created, we must apply configuration in order to use. We have defined the frondend of loadbalancer, so now we need to configure the backend pool Preview Preview Preview
  • There should be some way to identify the machine is healthy or not, load balancers use health probes for that. Preview Preview
  • We need to add load balancing rules Preview Preview Preview
  • Now navigate to loadbalancer overview page and use public ip to buiild http://<publicip>/info.php Preview

Leave a Reply

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

About learningthoughtsadmin