Routing Traffic from Azure Front Door to Azure Firewall(Hub vnet) to APIM External Vnet(Spoke vnet) to Azure private Endpoint App Services in Hub-Spoke

tamizh 1 Reputation point
2022-11-23T15:02:17.477+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
My question,

  • Is that possible that Azure firewall can transport the traffic from Azure Front door and forward it to APIM External Vnet and my frontend Application should access via Frontdoor URL
    if yes, then
    -> how could i configure the Azure Firewall to transport the traffic between Azure Front door and APIM (in the spoke)?
    -> how can i configure my Frontend Application to be access via Frontend.
    -> Flow Internet Connection Should be like:
    Azure Frontdoor ->Azure Firewall ->APIM ->Private Endpoint of Service(Ingress)

thank you!

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,457 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,935 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
858 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
781 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 50,096 Reputation points Microsoft Employee Moderator
    2022-11-24T11:13:09.59+00:00

    Hello @tamizh ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know if it is possible to setup an architecture where traffic will be routed from Azure Front Door to Azure Firewall(Hub vnet) to APIM External Vnet(Spoke vnet) to Azure private Endpoint App Services in a Hub-Spoke topology.

    Your desired setup should be possible. We have a document explaining a similar architecture that you can refer below:
    https://learn.microsoft.com/en-us/azure/architecture/example-scenario/security/hardened-web-app

    A custom fully qualified domain name (FQDN) is needed to represent the back-end web app/function app and is mapped through CNAME or A DNS resource records to the public IP address of an Azure firewall.
    You can refer the below doc for the steps to configure the above:
    https://github.com/Azure/hardened-webapp

    The function app is assigned the custom FQDN through the domain verification ID property of the web app. This allows the custom FQDN already mapped to the public IP address of the Azure Firewall to be reused with the web app without altering Domain Name System (DNS) name resolution and network flows.
    Refer : https://learn.microsoft.com/en-us/azure/dns/dns-custom-domain

    The above custom FQDN is used as a "Custom" backend for your Azure Front Door.

    The Azure Firewall is deployed to its own reserved subnet in a virtual network (Hub Virtual Network in the example) and is configured to perform destination network address translation (DNAT) of incoming requests to the private IP address or the private endpoint associated with the web app.

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.