Is Azure role local storage guaranteed to be inaccessible to an application that is next to use the same host?

前端 未结 3 968
予麋鹿
予麋鹿 2021-01-21 05:31

Suppose my Azure role stores files to the role local filesystem and forgets to delete them. Can another application that uses that host in future possibly get access to those fi

相关标签:
3条回答
  • 2021-01-21 05:58

    Although I am not sure it's properly documented, I am fairly certain that Windows Azure recycles thoroughly whatever local files haven been dumped by a Role into a VM before letting any other Role access the VM. That's a fairly basic security policy.

    Then, considering the deployment time on Windows Azure for a new VM (between 6min to 8min) I am pretty sure that the VM itself is pretty much wiped-out clean, not just the local storage, so that whatever by-product files which might have been generated by the OS itself during the execution of the VM does not become available afterward.

    0 讨论(0)
  • 2021-01-21 06:14

    No, it cannot be used by another VM, even accidentally. The 'scratch' drive that is mounted by your Windows Azure instance is another VHD - data is not written natively to disk. So, in order for another instance to read your data, it would have to mount your VHD, which is not possible.

    0 讨论(0)
  • 2021-01-21 06:16

    Local storage is ephemeral and it is part of specific compute instance. When the instance is recycled\deleted, the local storage is gone.

    0 讨论(0)
提交回复
热议问题