How can I create a file share that can be shared across web servers running in a VM to directly access the blob storage in Azure?
I am moving an existing n-tier website application written in .net 1.1 to Azure Virtual Machines.
This is a legacy application, I want to move it to azure in its current form then slowly make changes to code to take advantages of the cloud type services at a later time.
The application is currently split across 4 servers:
1 x SQL Database Server
2 x IIS Web server for application (load balanced via round robin dns)
1 x IIS Web Server for photos (hosts millions of user uploaded photos)
The photo server is a monster machine with a RAID 10 array of 12 HDD.
Users can upload photos which are transferred via the web servers to the photo server using a simple file share. Eg:
\\PhotoServer1\UserData\Photos\
The file share is mounted as the Z:\ drive on the 2 web servers and they have no problem reading and writing files to the photo server via the share.
The photo server also acts as an IIS web server and is used to host the files. Eg:
http://photos.mysite.com/userdata/photos/234/234photo.jpeg
I can easily move the SQL server and the IIS web servers to Virtual Machines on Azure.
But I am struggling to understand how I can implement the file/web photo server in its current form.
I want to setup a file share on the web servers and then read/write/delete photos via the web server VMs.
I could simply setup another VM for the file/web server but it is a busy machine and I would need to create a RAID array of drives which seems pointless as the Azure storage already does this on its own accord.
I cant get my head around the blob storage, I know its not a Hard Drive, but it would be handy to treat it as such for legacy applications and especially share it between servers.
Questions:
How can I create a file share that can be shared across web servers running in a VM to directly access the blob storage in Azure?
If I do store everything in blob storage, do I still need an IIS server to host the files, if so would this also be mounted to IIS via a fileshare?