繁体   English   中英

在不同区域设置后端为 Api 的 Azure Static WebApp

[英]Setting up an Azure Static WebApp with an Api backend in a different region

我们目前有一个设置,其中我们的前端 Angular 应用程序和我们的 Api 托管在 Azure Web 应用程序(采用 32 位 Windows 配置)中,该应用程序连接到 AU 区域中的数据库。 我们正在考虑将前端从 Web 应用程序移至 Azure Static Web 应用程序并使用 linux Docker 基于容器的应用程序 Azure Web 应用程序以降低价格 My question is, since Azure Static Web Apps are not available in AU region would there be any latency if I connected my AU based Azure Web App as an Api to the new Static Web App. 微软表示 Static Web 应用程序不基于区域,但仅在这些区域可用。

在此处输入图像描述

Azure Static Web Apps 是一项全球服务。 您的应用程序的 static 资产是全球分布的 创建应用程序时,您 select 部署了托管 Azure Functions 应用程序的区域。

如果您需要在不支持托管函数的区域使用 Functions 应用程序,则可以将自带的 Functions 应用程序功能与您单独部署的 Functions 应用程序结合使用。

参考: https://learn.microsoft.com/en-us/azure/static-web-apps/faq

暂无
暂无

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

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