![]() ![]() This means your Azure storage account name should also be a max of 20 chars. Technically this limit can be changed in Active Directory but for the purpose of integrating IIS with Azure Files we should aim to keep it at 20. ![]() By default, Windows has a restriction of 20 characters for the user name. You can also script the creation of the local user e.g. In this case I have ‘User cannot change password’ and ‘Password never expires’ checked, but this is entirely your decision. the Azure VM hosting IIS that will be accessing the Azure file share) we will need to create a local user that maps to the storage account user.įrom Computer Management UI: 'Local Users and Groups' -> select Users -> right click -> 'New User' net use * \\ .net\webshare1 /u: youraccnt123 someVeryLongStorageAccountKeyxxxxyyyyyzzzz1111222233334444555566667777888899990000AAABB= IIS Setup Creating local userĪzure Files does not currently support Windows Authentication, which means on the Web Server (e.g. Whereby the share would be accessed from the command line as follows, net use : \\.\ /u: e.g. This walkthrough assumes that you already have an Azure storage account and that the Azure Files share is already setup ( )įor the purpose of this walkthrough we have already setup a share called ‘webshare1’ and a storage account as follows Account Name This blog entry walks you through the step by step of how to configure IIS to work with Azure Files. One advantage of using Azure File Storage in this way is if you have a ‘farm’ of web servers accessing content in a centralized location (previously, you would have to copy the content across all the VMs and keep them sync). ![]() With Azure File Storage, the web content can now be stored independently of the web server. Until now, for these scenarios, the web content always had to be hosted locally on the VM. We also recognize that customers may choose to host their web servers on IaaS VMs. In general, Web Apps is the recommended and best way to create and deploy Web Applications in Azure. One common question is "can I host my IIS web content in the cloud using Azure Files”? The answer is yes you can! :) Our friends in Azure have just announced the GA of Azure File Storage, which allows fully managed file shares in the cloud. ![]()
0 Comments
Leave a Reply. |