Unable to connect to Azure App (fqdn) using Cloud Flare to resolve the hostname using a NGINX to resolve the access to Application

Xhevahir Mehalla 140 Reputation points
2024-06-04T16:09:41.7166667+00:00

I need a help on smth which we are spending time and unable to connect to a application:

Here's the how architecture work:

  1. We have a Front End App which is developed on Angular - Have created a private end point for this
  2. we have a API which communicates with Front End. Private end point has been created for this as well.
  3. we have a Azure sql database which is only accessible from API - Private end point is created for this.
  4. All above resources are on the different subnets and there are NSGs rules which control the flows between them.
  5. Within Vnet we can connect to Front End App no issues

We have a request from the bank to control the flow using the tool of Cloud Flare. The users of the bank need to connect the Front End using the FQDN using these setup:

  1. Created a Linux Machine and run NGINX
  2. Use ProxyPath to add the app FQDN on the NGINX config file
  3. Cloud Flare has the Public IP address where NGINX is setup

Please find attached the quick script of the arch.

We need to be able to access FrontEnd app using the Cloudflare.

Any hep is appreciated!

Thanks

Xhev

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,443 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,251 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
416 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,244 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 38,971 Reputation points Microsoft Employee
    2024-06-05T04:19:30.46+00:00

    @Xhevahir Mehalla ,

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

    I see that you currently have the set up,

    • VM in Azure -> Front End App (Private Endpoint) -> API (Private Endpoint) -> Azure SQL DB (Private Endpoint).

    And you have a requirement to make,

    • Cloudflare -> VM in Azure( configure NGINX ) -> Front End App (Private Endpoint) -> API (Private Endpoint) -> Azure SQL DB (Private Endpoint).

    Can you please explain what exactly is the blocker you are facing here?

    • If this is with the network connectivity between your 3rd party cloud and Azure VM,
      • can you confirm if you have attached the Public IP to the VM?
      • can you please make sure the NSGs are allowing traffic in to the VM?
    • However, if this is with respect to the configuration of NGINX or 3rd party cloud,
      • I am afraid we will not be able to make any comments.
      • As members in the community may have expertise over Azure products and configuration, the same cannot be said for 3rd party clouds and configuration.

    In case of the latter, please reach out to the corresponding products' forums or support team.

    In case of the former, please provide more details.

    Cheers,

    Kapil

    0 comments No comments

0 additional answers

Sort by: Most helpful