I'm interested in load balancing 2+ Windows virtual machines in Azure. My basic requirement, however, is that the "uploads" folder must be consistent between each virtual machine. The files in this folder are transferred via FTP to our admin users, and then they will need to select these files in the C # MVC web application. Since you can connect via FTP to one virtual machine, but the web connection may be different, the download should be centralized.
It seemed that the new Azure files, currently in Preview, would help, as they allow me to set up a shared drive that each of the virtual machines can access. My thought was that FileZilla Server would allow an FTP connection to this shared βdriveβ and the web application would gain access to it to display the contents.
I signed up for a preview of Azure Files and set up the resource by persistently displaying it on Drive Z for experimentation. I also created a new user and made sure that they also have a permanent mapping to the same drive as Z.
But I can do nothing with this outside of remote desktop. FileZilla, despite the fact that its service is configured to log in using this new account, will not show the contents of this drive or write nothing. Likewise, my web application cannot access the contents of the file even though you switched Passthrough Authentication to this new account for the virtual folder.
Does anyone know of any way to access this drive through a network path or drive letter? Is this possible with Azure Files? Are there any other solutions for sharing some blocks between virtual machines, but are they considered as a local disk or network resource?
[UPDATE]
This can help. By setting the share and using cmdkey and net use, while the cmd prompt starts a specially created user (as suggested at http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/27/persisting-connections -to-microsoft-azure-files.aspx ) if I point the virtual folder in IIS to this resource using the specific account created and Test Connection, I get: Test: Authentication (green checkmark; "The specified user credentials are valid") Test : authorization (red cross; "the path does not exist or the environment variables in the path cannot be expanded to check with Does he exist? ")
While still on the runas cmd command line, I can access the resource, so this does not apply to specific permissions. It seems that IIS cannot use this user to access the resource for some reason. The limitation of Azure Files is that I cannot specifically grant any permissions for the folder inside this resource.
azure azure-virtual-machine network-shares
Steve owen
source share