What's the best architectural decision to access internal API on Azure?

Najam ul Saqib 340 Reputation points
2024-06-20T14:52:40.1533333+00:00

Hi,

I am seeing an architectural diagram of a resource group that contains a VNet Gateway connected to a public address.

JDK-Prod-UKSouth-02-min

On inquiring, it turns out that the dev has this reason "I am using this to VPN to the subnet when we need to occasionally manually query the database or query an internal API. Is that the wrong approach?"

Can someone tell me if that's the most secure approach to solve this approach. Please explain if there's any better way.

P.S. if you see any other bad security design in the diagram, you can mention that as well.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,558 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,509 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luis Arias 7,131 Reputation points
    2024-06-21T10:03:56.4933333+00:00

    Hi Najam ul Saqib,It looks like do you have some question to understand That Cloud Diagram, so let me go to your question:

    One additional suggestion that I can share if this VPN it's only for development purpose and it's a minimal quantity of developer It's possible to use an Azure VM and bastion to connect to your cloud environment and from that point start to query Database and call APIs. (https://learn.microsoft.com/en-us/azure/bastion/tutorial-create-host-portal / https://learn.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-portal)

    If the information helped address your question, please Accept the answer.

    Luis


0 additional answers

Sort by: Most helpful

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.