如何将公共静态IP附加到Azure App Service [英] How to attach Public Static IP to Azure App Service

查看:111
本文介绍了如何将公共静态IP附加到Azure App Service的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有100个外部域指向我现有的应用程序.我们正计划迁移到Azure应用服务.在这种情况下,我们必须要求所有域用户都指向我们的新应用程序服务.它涉及很多协调并且需要时间.

There are 100 external domains are pointing to my existing application. We're planning to migrate to Azure App service. In this case, we have to request all domain users to point to our new app service. It involved lot of coordination and takes time.

将来(可能在2年后),我们计划将解决方案部署到另一个应用程序服务或Azure虚拟机,然后我们重复相同的过程,要求外部域所有者指向新的部署环境.

In future(may after 2 years), we've a plan to deploy solution to another app service or azure VM, then we've to repeat the same process of requesting external domain owner to point to new deployment environment.

当前,我们正在考虑以下两种解决方案.你能建议那些.

Currently we're thinking below two solutions. Could you please suggest on those.

  • 首先,创建一个公共静态IP地址,并请求所有外部域指向该IP地址.

解决方案1:

  • 将此IP地址附加到容量非常低的Azure VM,并使用此服务器作为重定向URL,无论您在哪里部署解决方案,它都可能是Azure应用服务.

解决方案2:

  • 是否可以将公共静态IP地址附加到Azure应用服务?我知道应用程序服务不是可控制基础架构的IaaS服务.我浏览了一些文章,将静态IP地址设置为应用程序服务.但这与我要求的有所不同.

也请提出您是否还有其他更好的解决方案.

Please also suggest if you've any other better solution.

关于, 文卡特

推荐答案

对于solution1,为Azure VM设置静态公共IP很容易.但是它可能缺少冗余.所有服务都依赖于唯一一个Azure VM.

For solution1, It's easy to set the static public IP for an Azure VM. But it might lack redundancy. All of the services rely on the only one Azure VM.

我将建议Solution2,Azure应用程序服务在同一应用程序服务计划中运行,该计划共享计算资源,并且您可以使用VM实例进行横向扩展.您可以根据需要灵活调整应用服务计划.通常,当您执行以下操作之一时,Azure Web应用程序服务IP地址会更改:

I will suggest Solution2, Azure app services run in the same App service plan which shared the compute resources and VM instances are available to you for scale-out. You can flexibly adjust the app service plan according to your need. Generally, the Azure web app service IP addresses change when you perform one of the following actions:

删除一个应用程序,然后在另一个资源组中重新创建它.删除 资源组和区域组合中的最后一个应用程序,然后重新创建 它.删除现有的SSL绑定,例如在证书更新期间 (请参阅续订证书).

Delete an app and recreate it in a different resource group. Delete the last app in a resource group and region combination and recreate it. Delete an existing SSL binding, such as during certificate renewal (see Renew certificates).

Azure Web应用程序服务IP地址不会更改,除非您执行上述操作并将其更改为免费层,否则它看起来像静态".有时,如果您想为应用程序使用专用的静态IP地址.您需要配置基于IP的SSL绑定.

The Azure web app service IP address does not change, this looks like "static" unless you do the above actions and change to a free tier. Sometimes, if you want a dedicated, static IP address for your app. You need to configure an IP-based SSL binding.

引用: 查看全文

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