使用vnet集成的Azure IP应用程序服务的静态IP [英] Static ip for azure app service using vnet integration

查看:86
本文介绍了使用vnet集成的Azure IP应用程序服务的静态IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图为一种天蓝色的应用服务分配一个静态ip地址,或至少控制出站流量,而不必在应用服务环境中进行投资(这是非常昂贵且不太灵活的选择).阅读"vnet集成"(

解决方案

使用天蓝色NAT网关或天蓝色中的任何其他本机PaaS服务是不可能的.有几个与此问题相关的公开反馈项( ticket 票证文档,希望他们能在 https://azure.github.io/AppService/2020/11/15/web-app-nat-gateway.html .微软上周宣布了支持!我已经测试了该解决方案,并且效果很好.

I trying to assign a static ip-address ,or at least control the out bound traffic, for an azure app service with out having to invest in app service environment (it’s very expensive and not very flexible option). Reading up on "vnet integration"( https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet )

in the offical azure doc there exist options to force traffic to the vnet. From there it should be possible to route the all traffic using UDRs through NAT-gateway. Has any one here been able to make this work? I have read conflicting reports.

UPDATE Details of the scenario is as following. I want to communicate with a system behind an internet facing firewall that have rules based on internet routable ips. I want to leaverge app services and PaaS services in azure.

解决方案

This it not possible with azure NAT Gateway or any other native PaaS servie in azure. There are several open feedback items related to this issue (fixed outbound ip and Nat gateway with function app

I have created a ticket ticket in the microsoft documention hoping that they will clarify this in their offical doc on vnet integration.

One solution would be to leverage IaaS and install a custom reverse proxy on VM or container such as nginx. This is not a option in my scenario due to the maintenance this wil requiere over time.

UPDATE

This is now supported https://azure.github.io/AppService/2020/11/15/web-app-nat-gateway.html. Microsoft announced support last week! I have tested the solution and it works great.

这篇关于使用vnet集成的Azure IP应用程序服务的静态IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆