What is the difference between API Gateway provided by Azure API Management and Azure Application Gateway?

Vigneshwaran Rajan 11 Reputation points
2020-06-13T20:08:08.703+00:00

I'm new to Azure and I skimmed through Azure official documentation.

What I would like to understand is :

  • The difference and similarities between the API Gateway provided by Azure API Management and Azure Application Gateway?
  • When do we require Application Gateway in front of API Gateway (provided by Api Management)?
    • When API Gateway hosted normally.
    • When API Gateway hosted inside VNet.
  • When do we require Azure Front Door in front of Application Gateway?
  • Do we need to chain Azure Front Door --> Application Gateway --> API Gateway in what scenario, instead can't we do this Azure Front Door --> API Gateway, if yes in which scenario?

I want to understand solution to above questions based on below two compute solutions:

  • When my API is hosted in Azure Containers Instance.
  • When my API is composed of only Azure Functions.
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,750 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
635 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
576 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
956 questions
{count} vote

4 answers

Sort by: Most helpful
  1. MOHIDDIN SHAIK 66 Reputation points
    2020-08-27T08:37:02.77+00:00

    I have to say this is super confusing , will be nice to have some topology diagrams and patterns to understand the use cases and scenarios.
    Thank you.

    13 people found this answer helpful.
    0 comments No comments

  2. Pramod Valavala 20,516 Reputation points Microsoft Employee
    2020-07-02T08:55:48.117+00:00

    The difference and similarities between the API Gateway provided by Azure API Management and Azure Application Gateway?

    While both do behave like a reverse proxy, APIM provides a powerful policy framework to manipulate requests both inbound and outbound, along with advanced features rate limiting and conditional caching.

    When do we require Application Gateway in front of API Gateway (provided by Api Management)?
    When API Gateway hosted normally.

    Not required as APIM is already exposed to the internet

    When API Gateway hosted inside VNet.

    Required on in the case of Internal VNET Mode where APIM is not exposed to the internet.

    When do we require Azure Front Door in front of Application Gateway?

    Azure Front Door is like a global application gateway with edge nodes in many regions enabling high performance and reliability across regions

    Do we need to chain Azure Front Door --> Application Gateway --> API Gateway in what scenario, instead can't we do this Azure Front Door --> API Gateway, if yes in which scenario?

    If all your APIs are in APIM, you could opt for the Premium Tier which can be deployed to multiple regions directly and is fronted by Azure Traffic Manager.

    If you APIs are exposed as a mix of APIM, Functions, App Services, VMs, etc., you could opt for Azure Front Door. Azure Application Gateway would be required for APIs deployed inside a VNET.

    You can read more about the various load-balancing services offered by Azure in this official doc.

    3 people found this answer helpful.
    0 comments No comments

  3. Jim M 146 Reputation points
    2020-07-29T07:12:26.29+00:00

    Regarding the point about a public APIM being exposed to the internet - what mechanisms does Azure provide for security? An application gateway can include Windows Application Firewall (WAF) for protection. Does APIM have the ability to incorporate WAF?

    1 person found this answer helpful.

  4. Jose Fernandez 6 Reputation points
    2021-12-01T15:18:10.653+00:00
    1 person found this answer helpful.
    0 comments No comments