2
votes

We are migrating our PHP website to Azure Cloud Web Service (Web Role).

Currently the website saves user submitted image files to the filesystem via drive letter access. These images are then served via a url e.g. content.example.com.

What options have I got id I want persistent file storage on an Azure Cloud Web Service.

I am currently assessing BLOB Storage for this.

Thanks

2

2 Answers

1
votes

Blob storage is the right answer. Although you could convert your images in base64 and save them in Azure Sql as well, it is really not recommended.

Check: Azure, best way to store and deploy static content (e.g. images/css)? or Where to store things like user pictures using Azure? Blob Storage?

1
votes

One of the options to reduce re-writing of your application is to mount blob-storage as a network drive. Here is some information how to do it: http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx

Mounting of the drives can be done on Web-Role start-up task and can be scripted.