gpt4 book ai didi

azure - 无法将服务计划连接到 vnet

转载 作者:行者123 更新时间:2023-12-04 15:38:11 25 4
gpt4 key购买 nike

我正在尝试将应用服务配置为使用虚拟网络并阻止它们直接公开访问。当我尝试将它们连接到 vnet 时,我的 vnet 呈灰色,并显示一条消息“此虚拟网络没有网关”,我已在 vnet 上设置了子网网关,但仍然收到该消息。如何将这些服务链接到我的 vnet?

app service vnet config

vnetsubnets

最佳答案

您可能只需在当前虚拟网络中添加指定的 GatewaySubnet 子网即可。这不够。您需要先创建虚拟网络网关资源,然后在虚拟网络中设置 VPN 网关。例如,您可以 configure a Point-to-Site VPN connection to a VNet using native Azure certificate authentication via Azure portal

虚拟网络

enter image description here

VPN类型的虚拟网络网关

enter image description here

另一个选择是使用 Regional VNet Integration 。在这种情况下,您不需要该 VNet 中的网关。转到门户中的网络 UI。如果您的应用能够使用新功能,您将看到添加 VNet(预览版)选项。

关于azure - 无法将服务计划连接到 vnet,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59069387/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com