azure - 应用程序网关在我的场景中是正确的选择吗?
问题描述
在我的本地服务器上,我们有两组 Web api:
- service.xxxx.net/chartdata/data
- service.xxxx.net/chartimage/image
我们正在将我们的网站迁移到 azure(作为两个 Web 应用程序)。大佬想把 url 结构保持在 azure 上。我做了一些研究,似乎应用程序网关可以实现这一点。
但是,在设置应用程序网关时,我需要提供 vnet 和子网信息。因为它只是两个网络应用程序,我真的没有 vnet。
所以这让我想知道应用程序网关是否确实是正确的选择?也许还有别的东西?
解决方案
App gateway is the right solution for a single region.
You need to create Vnet for the App Gateway not for the web apps. You can check this tutorial: https://docs.microsoft.com/en-us/learn/modules/load-balance-web-traffic-with-application-gateway/
For multiple regions, Azure Front Door is a the right one: https://azure.microsoft.com/en-us/services/frontdoor/
推荐阅读
- reactjs - 反应部署和搜索引擎问题
- java - 学习 Java 类和方法,在测试我的代码时遇到此错误
- python - pandas 中基于 2 列条件的条件运行计数(根据时间戳计算队列中的人数)
- odoo - Odoo KeyError:“set_scrollTop”和“ir.actions.do_nothing”
- python - 如何通过使用其他列表的值将索引插入第一个列表,将一个列表的值插入另一个列表?(Python)
- python - Python遍历文件夹中的每个文件以剪切部分视频
- c++ - 我无法显示文件的第一行
- gcc - 这个编译器标志实现了什么?
- android - 参数 currentAccessToken 为空
- java - 默认构造函数未定义隐式超级构造函数 Object()。必须定义显式构造函数