简体   繁体   English

Azure 应用服务 - VNet 集成与专用终结点与混合连接

[英]Azure App Service - VNet Integration vs Private Endpoint vs Hybrid Connection

I have a .NET Web API running in Azure App Service.我有一个 .NET Web API 在 Azure App Service 中运行。 It needs to connect to the RabbitMQ service running on my On-Prem server.它需要连接到我的本地服务器上运行的 RabbitMQ 服务。 How should I establish that connection between Azure App Service and RabbitMQ service port?我应该如何在 Azure 应用服务和 RabbitMQ 服务端口之间建立连接?

Do I need to whitelist the outbound IP addresses of Azure App Service in my firewall for this change?我是否需要在我的防火墙中将 Azure 应用服务的出站 IP 地址列入白名单才能进行此更改?

The outbound IP address of Azure app service might change, see when it will change . Azure app服务的出站地址IP可能会变,看什么时候变

So you could have two options:所以你可以有两个选择:

  • Hybrid connection . 混合连接 It makes outbound calls to Azure over port 443. Hybrid Connections provides access from your app to a TCP endpoint and does not enable a new way to access your app.它通过端口 443 向 Azure 发出出站调用。混合连接提供从您的应用程序到 TCP 端点的访问,并且不启用访问您的应用程序的新方法。 As used in App Service, each Hybrid Connection correlates to a single TCP host and port combination.在应用服务中使用时,每个混合连接都与一个 TCP 主机和端口组合相关联。
  • VNet integration and VPN gateway. VNet 集成和 VPN 网关。 With these methods, you can access the RabbitMQ service in a private.network with a point to site or site to site VPN connection.使用这些方法,您可以通过点到站点或站点到站点 VPN 连接在私有网络中访问 RabbitMQ 服务。 VNet Integration is used only to make outbound calls from your app into your VNet. VNet 集成仅用于从应用程序向 VNet 发出出站调用。 It doesn't grant inbound private access to your app from the VNet.它不会授予从 VNet 对你的应用程序的入站专用访问权限。 In this case, If you want to use Private Endpoints for Azure Web App , then you need to either integrate with Azure DNS Private Zones or manage the private endpoint in the DNS server used by your app.在这种情况下,如果您想为 Azure Web 应用程序使用专用端点,则需要与 Azure DNS 专用区域集成或管理应用程序使用的 DNS 服务器中的专用端点。

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

相关问题 在vNet性能内与在vNet外具有Azure SQL连接的Azure Web App PaaS(应用服务计划) - Azure Web App PaaS (App Service Plan) with Azure SQL connection inside vNet performance vs outside vNet Function 具有 Vnet 集成和专用端点的应用程序 -> 服务器响应:服务不可用 - Function App with Vnet integration and Private Endpoint -> Server Response: Service Unavailable App Service VNet与Azure存储服务端点集成 - App Service VNet Integration with Azure Storage Service Endpoint Azure .net 对等与 .net 集成 - Azure Vnet Peering vs Vnet Integration Azure URL 应用程序服务无法在 .net 中使用专用端点 - Azure URL app service not working in vnet with private endpoint 使用 Private 与 Service Endpoint 从 .net/su.net 访问 SAME 服务的多个实例 - Multiple instances of SAME service to be accessed from vnet/subnet using Private vs Service Endpoint Azure应用服务:创建混合连接终结点API - Azure App Service: Create hybrid connection endpoint API Azure App Service VNET 集成和网络优化 - Azure App Service VNET integration and network optimization Azure App Service VNET与内部DNS的集成 - Azure App Service VNET Integration with Internal DNS Azure VM 和 App Service 通过 VNET 集成 - Azure VM and App Service integration through VNET
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM