Routing Internet Traffic from Azure Front Door to Azure Firewall(Hub vnet) to APIM External Vnet(Spoke vnet)(Function App is Integrated in APIM). APIM is not connecting via Firewall to Frontend Application(Frontdoor)

tamizh 1 Reputation point
2022-12-28T19:30:57.207+00:00

Hello,

i am working to build a concept by Hub-Spoke architecture. I am using Azure Front Door as a global service to route incoming requests.
A hub and spoke are deployed and they are configure with each other by VPN Gateway to transport traffic between them(by Gateway Transit=enabled).

Azure Firewall is deployed in Hub and will get the request from Azure Front door and forward the traffic to APIM External Vnet in Spoke.

Backend Application(Function App) is integrated with APIM
Frontend Application(Webapp) using Custom Dns Integrated with Firewall IP. Added as Backend with custom Host in Frontdoor

So Now, Frontend Application Reactjs is running in Frontdoor URL but main question and issue is below:
My question,

  • Frontend Reactjs Application should connect with Backend Application(Function App) Which was integrated with Azure APIM . Frontend Reactjs Application is not connecting with Backend Application(i.e APIM) via Azure Firewall Am getting Error like (failed)net::ERR_CONNECTION_TIMED_OUT.
  • APIM Subnet NSG- If i provide Source as Internet for 80,443 to Destination as VNet - Working but it should work via Azure Firewall.
  • APIM Subnet Routh Table - Firewall Route and exception ![274617-image.png]1

Note: i have Tried with External Nirtual Network of APIM , Tried With Frontdoor Service Tag in NSG Also No Luck!
-> Flow Internet Connection Should be like:
Azure Frontdoor ->Azure Firewall ->APIM ->Private Endpoint for Function App(Ingress)

I hope I will get some solutions or suggestions.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,462 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
860 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
782 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,778 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.