9
votes

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. Does Azure Web Apps really share disk between multiple instances?
  2. If yes, is there any way to change this behavior?
1
You might find this question useful - stackoverflow.com/questions/35253899Michael B

1 Answers

7
votes
  1. Yes. The website content is stored in a blob, which is then mounted by the instance. If there are multiple instances, they are backed by the same file system.
  2. You can't change this by default. You could however use multiple sites, but you would have to configure load balancing yourself. You could use traffic manager to do this.