【发布时间】:2021-05-22 01:38:02
【问题描述】:
我是 Azure 新手,正在使用 30 天免费试用版。
我们希望将托管在 Godaddy 上的现有 ASP.NET 网站迁移到 Azure Web 应用服务。
问题是,我们在 ASP.NET 网站中有一个文件夹:
/files/image-store/
其中包含数千个 PNG 和 JPEG。这些图像显示在我们 ASP.NET 网站上的各种 aspx 网页中。它目前约为 2GB,但可能会增长到多个 TB。
我注意到 Azure Web App Service 上的免费计划仅允许 1GB 的存储空间。我已阅读以下内容:
"Azure Files provides a cloud-based file share for storing and sharing files.
You then access these files from applications hosted in Azure App Service, an
Azure VM, or an on-premises machine. Azure Files stores and shares file access
between applications and systems in a secure and failure-resilient manner."
但我也在堆栈交换上读到,它仅适用于带有 Azure 应用服务的 Linux。
现在还是这样吗,如果是,有解决办法吗?
顺便说一句,有人建议我使用 Blob 是另一种方式,尽管我们对此没有经验,似乎我们必须对许多现有代码进行更改,而且我不确定该代码的可移植性如何如有需要,可提供给其他托管服务提供商。
【问题讨论】:
-
您是否在 Docker 容器中托管您的应用程序?
-
@AndriyBilous No.
-
所以你在 Windows 上使用 Azure 应用服务,对吗?
-
@AndriyBilous 正确。也许托管磁盘是另一种选择?
标签: asp.net azure azure-web-app-service