AZURE HEROES
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy

Azure Front Door VS Azure Traffic Manager VS Azure Application Gateway VS Azure Load Balancer VS Content Delivery Network (CDN)

1/29/2019

16 Comments

 
Picture
  • Cloud native integrated
  • Enables real-time hyperscale for single domain microservice apps where DNS traffic management cannot
  • Provides applications with premium edge performance acceleration and caching via Microsoft’s unique global WAN
  • Customers get a single pane of glass for service orchestration  and global traffic optics.
Main Feature:
  • Accelerate application performance: Front Door ensures that your end users promptly connect to the nearest Front Door POP (Point of Presence)
  • Increase application availability with smart health probes
  • URL-based routing: Route Matching
  • Configure Azure Front Door Service to either direct each web site to its own backend pool or have various web sites directed to the same backend pool
  • Cookie-based session affinity
  • (SSL) termination
  • APP layer security
  • Support  IPv6 and HTTP/2
  • Global LB with HTTPS as recommended traffic

Note: It can be used with On-Prem Server (Example Web server hosted on your local environment)
Last Update: 10/10/2020

First of All Let’s understand each service:

Azure Front Door: Microsoft Azure Front Door (AFD) is a service that offers a single global entry point for customers accessing web apps, APIs, content and cloud services.    Through a single pane of glass and global infrastructure, AFD enables Azure customers to build, manage and secure their global applications and content. In other words Azure Front Door Is a global load balancing, but it is doing more by enhancing performance

Picture
Application Gateway: Application Gateway uses Azure Load Balancer at the transport level and then applies the routing rules to support layer-7 ( HTTP) load balancing.
 
Application Gateway currently supports the following:
1- HTTP load- balancing
2- SSL termination
3- Cookie based session affinity

The primary use cases for Application Gateway are :
  1. If your application requires session affinity as an example the clients want to reach same backend virtual machine.
  2. If your web servers do not want to handle the SSL overhead and you require the manage the SSL termination at the gateway.
  3. If your application requires multiple HTTP request on the same TCP connection to be load balance on the different backend virtual machines
  4. Regional LB with HTTPS as recommended traffic
 

Picture
Connectivity Options
  • VMs in same VNet
  • VMs across connected VNets
  • Cloud services
  • Hybrid connectivity to on premises VMs
  • External servers
Azure Traffic Manager: Load Balancer for geographically distributed Datacenters. Azure Traffic Manager uses DNS to redirect requests to an appropriate geographical location endpoint. Traffic Manager does not see the traffic passing between the client and the service. It simply redirects the request based on most appropriate endpoints
Picture
Use case: load between two endpoints where your first endpoint is in Azure and second endpoint placed  in on-premise datacenter.

Global LB with Non-HTTPS as recommended traffic
 
Content Delivery Network (CDN): A content delivery network (CDN) is a system of distributed servers (network) that deliver pages and other Web content to a user, based on the geographic locations of the user, the origin of the webpage and the content delivery server.
Mechanism: Servers nearest to the website visitor respond to the request. The content delivery network copies the pages of a website to a network of servers that are dispersed at geographically different locations, caching the contents of the page. When a user requests a webpage that is part of a content delivery network, the CDN will redirect the request from the originating site's server to a server in the CDN that is closest to the user and deliver the cached content. CDNs will also communicate with the originating server to deliver any content that has not been previously cached


Picture
You can use Azure Traffic Manager with Azure CDN to load balance among multiple CDN endpoints for failover, geo-load balancing, and other scenarios. In a typical failover scenario, all client requests are first directed to the primary CDN profile; if the profile is not available, requests are then passed to the secondary CDN profile until your primary CDN profile is back online. Using Azure Traffic Manager in this way ensures your web application is always available
 
 
Azure Load Balancer: Azure LB is similar to Windows Server Load balancer Feature, but in a more classical sense as it can be used balancing load for VMs in the same way we were using traditional load balancers with our on-premise servers. Now since Azure load balancer is designed for cloud applications it can also be used to balance load to containers and PaaS applications along with VMs.

Global LB with Non-HTTPS as recommended traffic

Picture
Azure Load Balancer can be used in two configuration modes:
  • External — Public load balancing
  • Internal — Internal load balancing
 
LB Main Feature
  • Up to 1000 backend VMs
  • High availability through regional anycast IPs – single IP across availability Zones
  • Drastically simplified NVA Resiliency – HA Ports
  • Extensive health and diagnostic metrics
Finally, we can say that the services are broken into two categories along two dimensions: global versus regional, and HTTP(S) versus non-HTTP(S):

Global versus regional
  • Global load-balancing services distribute traffic across regional backends, clouds, or hybrid on-premises services. These services route end-user traffic to the closest available backend. They also react to changes in service reliability or performance, in order to maximize availability and performance. You can think of them as systems that load balance between application stamps, endpoints, or scale-units hosted across different regions/geographies.
  • Regional load-balancing services distribute traffic within virtual networks across virtual machines (VMs) or zonal and zone-redundant service endpoints within a region. You can think of them as systems that load balance between VMs, containers, or clusters within a region in a virtual network.
HTTP(S) versus non-HTTP(S)
  • HTTP(S) load-balancing services are Layer 7 load balancers that only accept HTTP(S) traffic. They are intended for web applications or other HTTP(S) endpoints. They include features such as SSL offload, web application firewall, path-based load balancing, and session affinity.

  • Non-HTTP/S load-balancing services can handle non-HTTP(S) traffic and are recommended for non-web workloads.

Picture
Combining global and regional services in your application provides an end-to-end reliable, performant, and secure way to route traffic to and from your users to your IaaS, PaaS, or on-premise services. In the next section, we describe each of these services.
Picture
If you are still confused for choosing the suitable solution you can refer to the below factors for easier determine
  • Traffic type. Is it a web (HTTP/HTTPS) application? Is it public facing or a private application?
  • Global versus. regional. Do you need to load balance VMs or containers within a virtual network, or load balance scale unit/deployments across regions, or both?
  • Availability. What is the service SLA?
  • Cost. See Azure pricing. In addition to the cost of the service itself, consider the operations cost for managing a solution built on that service.
  • Features and limits. What are the overall limitations of each service
Treat this flowchart as a starting point. Every application has unique requirements, so use the recommendation as a starting point. Then perform a more detailed evaluation.


Picture
16 Comments
Mick Fedrol
1/31/2019 06:08:05 pm

Nice Blog, Useful article

Reply
Ahmad Taifour
2/2/2019 01:09:02 am

finally I found a blog which is explaining all,,I will use it to do a presentation for our CTO

Reply
جمال بن حميده
2/2/2019 01:09:50 am

حلوه

Reply
Taher Kh
2/12/2019 04:32:43 pm

Waaaaw very useful

Reply
Sharad Agrawal link
8/26/2019 09:56:13 pm

Here is a new guidance that we published on which load balancer or load balancing configuration to pick on Azure - https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview. Please share your feedback.Thanks

Reply
traffic management course link
11/30/2019 03:48:34 pm

Very great post.I simply stumbled upon your blog azure front door vs azure traffic manager vs azure application gateway vs azure load balancer vs content delivery network cdn and wanted to say that I have really enjoyed browsing your weblog posts.After all I’ll be subscribing on your feed and I am hoping you write again very soon.

Reply
Sunil
12/11/2019 03:34:12 am

Very Nice Article, nicely explained. Kudos Bro

Reply
Globalcompe
12/11/2019 06:36:28 am

Good one. Thanks.

Reply
Vish Bandla
7/2/2020 02:32:33 am

Very nice article which explains clearly the distinction between these concepts and components

Reply
Karmen
7/4/2020 06:58:44 pm

Best comparison i have found ever

I could not find such information in any other site

Kudos my dear

Reply
Thiago Beier link
10/23/2020 05:47:56 pm

is there any scenario where would have traffic manager + azure front door and app gateway ? thanks,

Reply
Rousan
10/26/2020 11:00:37 pm

Hi Thiago,
actually, I did not see such use case before!

Reply
Matt link
11/28/2020 07:49:07 pm

Excellent article!

Reply
Rousan
11/28/2020 08:46:09 pm

Thank you for your feedback Matt

Reply
Yogesh Gupta
2/27/2021 08:52:18 pm

Very nice article. Clearly communicate what service to use in which scenario.

Reply
Angel
7/31/2021 03:52:13 pm

Great Article, Rousan! Very helpful

Reply



Leave a Reply.

    Author

    Mohammad Al Rousan is a Microsoft MVP (Azure), Microsoft Certified Solution Expert (MCSE) in Cloud Platform & Azure DevOps & Infrastructure, An active community blogger and speaker. Al Rousan has over 11 years of professional experience in IT Infrastructure and very passionate about Microsoft technologies and products.

    Picture
    Picture
    Top 10 Microsoft Azure Blogs

    Archives

    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    July 2024
    June 2024
    May 2024
    April 2024
    February 2024
    September 2023
    August 2023
    May 2023
    November 2022
    October 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    May 2021
    February 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    June 2020
    April 2020
    January 2020
    July 2019
    June 2019
    May 2019
    February 2019
    January 2019

    Categories

    All
    AKS
    Azure
    Beginner
    CDN
    DevOps
    End Of Support
    Fundamentals
    Guide
    Hybrid
    License
    Migration
    Network
    Security
    SQL
    Storage
    Virtual Machines
    WAF

    RSS Feed

    Follow
    Free counters!
Powered by Create your own unique website with customizable templates.