My current setup is a website hosted with Azure Websites. Unfortunately, due to site growth, I need to enable Azure Blob Storage on the site, but it's not as easy as flicking a switch.
My plan is to switch from an Azure Website over to an Azure VM, and host the website on the VM, and enable a Storage VHD on the VM (mounted at S:\
for example) that is symlinked to the directory where all my file uploads are on my website. So, basically, I would take all the files at C:\inetpub\wwwroot\mysite\uploads\
and drop them into S:\wwwfiles\
and symlink C:\inetpub\wwwroot\mysite\uploads\
to S:\wwwfiles\
so that all existing files will work, and any future files that get uploaded to the site will also go into storage.
I know what you're saying right now, and unfortunately, there's no way for me to change the upload location of the website (hindsight is a bitch).
My question is: Will this plan work? Will it be efficient? Is there a better way to do this? I am by no means an Azure guy, so I don't know if there's a better way or not.