简体   繁体   English

Azure 上应用服务的 VNET 集成?

[英]VNET Integration for App Services on Azure?

According to the documentation there should be an option for VNET Integration for App Services when in the Overview of your App Service you go to > Network and than you should be able to setup a VNET for beeing able to give access to specific Ports to your Web App.根据文档,在应用服务概述中,您应该可以选择应用服务的 VNET 集成选项 > 网络,然后您应该能够设置 VNET 以便能够访问您的 Web 的特定端口应用程序。 在此处输入图片说明

But I don't see this options anymore, how can I setup outbounding and inbounding tcp access over a specific port to my App Service?但是我再也看不到此选项了,如何通过特定端口设置对应用服务的出站和入站 tcp 访问?

在此处输入图片说明

Currently, there are limitations on Azure App Service on Linux.目前,Linux 上的 Azure 应用服务存在限制

Some features, such as virtual network integration , Azure Active Directory/third-party authentication, or Kudu site extensions, are not available yet.某些功能(例如虚拟网络集成、Azure Active Directory/第三方身份验证或 Kudu 站点扩展)尚不可用。 Once these features are available, we will update our documentation and blog about the changes.一旦这些功能可用,我们将更新有关更改的文档和博客。

If this is your case, you have to use App Service Environment , then it's already in a VNet and doesn't require the use of the VNet Integration feature to reach resources in the same VNet.如果是这种情况,则必须使用App Service Environment ,那么它已经在 VNet 中,不需要使用 VNet 集成功能来访问同一 VNet 中的资源。 Also, you can restrict the Inbound and Outbound traffic in the subnet level NSG.此外,您可以限制子网级别 NSG 中的入站和出站流量。 If you only want to allow/deny list of IP addresses that are allowed to access your app, you can use Static IP Restrictions .如果您只想允许/拒绝允许访问您的应用程序的 IP 地址列表,您可以使用静态 IP 限制

Alternatively, you can change to use Azure App Service on windows with standard or above pricing tier.或者,您可以更改为在具有标准或更高定价层的 Windows 上使用 Azure 应用服务。 Then you can use the VNet Integration feature.然后,您可以使用 VNet 集成功能。

You need to use Standard SKU (or higher SKU).您需要使用标准 SKU(或更高的 SKU)。 as soon as you switch to that - it should appear.一旦你切换到那个 - 它应该出现。

As of this writing, its not yet available for Windows Containers.在撰写本文时,它还不适用于 Windows 容器。 If you switch (if you can) to linux containers, the option Vnet Integration should appear如果您切换(如果可以)到 linux 容器,则应出现 Vnet 集成选项

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

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