Azure Web Apps是否在多个实例之间共享磁盘? [英] Does Azure Web Apps share disk between multiple instances?

查看:88
本文介绍了Azure Web Apps是否在多个实例之间共享磁盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据David Ebbo在 Azure运行时环境文章,当启动2个或更多实例时,文件系统中的文件将移至Azure存储(Azure Blob或文件),并在同一Web Apps的所有实例之间共享.这意味着Web App Instance #1在文件系统中创建Reamem.txt文件时,Web App Instance #2可以修改,删除等.

According to what David Ebbo said in the Azure runtime environment article, when you spin up 2 or more instances the files in the file system are moved to Azure Storage (Azure Blobs or Files) and are shared between all instances of the same Web Apps. Which means when a Web App Instance #1 create a Reamem.txt file in the file system, a Web App Instance #2 can modify, remove etc. this file.

  1. Azure Web Apps是否真的在多个实例之间共享磁盘?
  2. 如果是,有什么办法可以改变这种行为?

推荐答案

  1. 是的.网站内容存储在Blob中,然后由实例安装.如果有多个实例,它们将由同一文件系统支持.
  2. 默认情况下,您无法更改此设置.但是,您可以使用多个站点,但是您必须自己配置负载平衡.您可以使用流量管理器执行此操作.

这篇关于Azure Web Apps是否在多个实例之间共享磁盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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