Share via

How do I setup my Azure Container Instance to access my On-prem SQL data securely

Vikneeshwaran K 20 Reputation points
2024-09-10T18:01:15.6533333+00:00

I need to ensure that my Azure Container Instances (ACI) have secure connectivity to access data from my on-premises server, with both inbound and outbound communication. All communication should occur over private networks, without any public access. Please provide a solution to achieve this setup.

Azure Container Instances
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.


Answer accepted by question author

TP 157K Reputation points Volunteer Moderator
2024-09-11T23:03:50.9266667+00:00

Hi,

When creating your container instance you may choose to connect it to a Virtual Network (VNet) where it will have a private IP address. You may use Azure VPN Gateway to connect this VNet to your on-premises network using Site-to-Site connection.

qna aci private vnet

Tutorial: Create a site-to-site VPN connection in the Azure portal

https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal

It costs more and will take longer to get set up, but an even better option would be Azure ExpressRoute. If you want you could start with S2S VPN connection via your Internet connection and switch to ExpressRoute later if needed.

Once you have one of the above options configured your ACI will be able to securely connect to your on-premises network (and SQL server residing on this network).

Please click Accept Answer and upvote if the above was helpful.

Thanks.

-TP

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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