Azure's nlb and alb as in aws

Azure Load Balancer and Azure Application Gateway are both Azure services used for load balancing, but they serve different purposes and have different features. Here's a comparison between Azure Load Balancer and Azure Application Gateway:

  1. Purpose:

    • Azure Load Balancer: Azure Load Balancer is a Layer 4 (TCP/UDP) load balancer that distributes incoming network traffic across multiple virtual machines (VMs) within the same virtual network or across availability zones. It is primarily used for distributing traffic to backend VMs based on network information such as IP address and port.

    • Azure Application Gateway: Azure Application Gateway is a Layer 7 (HTTP/HTTPS) load balancer that is designed for web applications. It provides advanced application delivery and load balancing capabilities, including SSL termination, URL-based routing, cookie-based session affinity, and web application firewall (WAF) functionality