Swesus
Swesus

Reputation: 73

Are generated files persisted on Azure?

I have an Azure Web App, which will generate pdf files at runtime and write them to disk. Can I trust that these files will be persisted?

I am concerned that if my image is spun down and brought back up again then the files might have disappeared.

Or perhaps Azure decides to move the website to a different machine or different datacentre, where these files would not exist.

I know there are cloud based options such as blob storage, but I would prefer the simplicity of writing to disk and having access over FTP.

Upvotes: 1

Views: 47

Answers (1)

David Ebbo
David Ebbo

Reputation: 43193

Anything that you write under the d:\home folder is guaranteed to be persisted. See the File System section in this for more details on this topic.

Upvotes: 5

Related Questions