简体   繁体   English

Logic Apps,Azure函数访问具有IP限制的SQL数据库

[英]Logic Apps, Azure Function accessing a SQL Database with IP restriction

I have a Logic App and Azure Function in my Azure tenancy which needs to access a SQL Database in a third party company's Azure tenancy. 我的Azure租赁中有一个Logic App和Azure函数,需要访问第三方公司的Azure租赁中的SQL数据库。 The Azure SQL Database is owned and managed by a third party company who require a public IP to restrict access. Azure SQL数据库由需要公共IP限制访问权限的第三方公司拥有和管理。

My understanding is that Logic Apps and Functions do not have a static outbound public IP address. 我的理解是Logic应用和功能没有静态的出站公共IP地址。 What solutions do I have to access the SQL Database in Azure in this scenario? 在这种情况下,我必须使用什么解决方案访问Azure中的SQL数据库?

You would need to ask the 3rd party to open up the Azure IP range for the relevant Data Center (region). 您需要请第三方为相关数据中心(区域)打开Azure IP范围。

You can find the most update to date list here . 您可以在此处找到最新的日期列表。

Alternatively, you need to move your functions to an Isolated Plan, in which case, you can then assign a static IP. 或者,您需要将功能移至隔离计划,在这种情况下,您可以分配一个静态IP。 From the docs : 从文档

Dedicated IP addresses If you need static, dedicated IP addresses, we recommend App Service Environments (the Isolated tier of App Service plans). 专用IP地址如果您需要静态的专用IP地址,我们建议您使用App Service环境(App Service计划的隔离层)。 For more information, see App Service Environment IP addresses and How to control inbound traffic to an App Service Environment. 有关更多信息,请参阅App Service Environment IP地址和如何控制到App Service Environment的入站流量。

You can also query the inbound and outbound IP addresses for an app service plan. 您还可以查询入站和出站IP地址以获取应用程序服务计划。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM