How to create a file share in Azure Files

From PUBLIC-WIKI
Revision as of 07:34, 13 May 2018 by Eyales (talk | contribs)
Jump to navigation Jump to search

Creating a file share

  • Login to the Microsoft Azure Portal:
https://portal.azure.com
  • From the upper search field, specify "Storage accounts"
  • From the "Storage account" page -> select the relevant storage account name
  • From the overview pane, click on Files
  • Click on "File share":
  • Name: Specify here a name for the file share
  • Quota: Specify here the quota (in GB) of the new file share
For more information, see: https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share
  • Click on OK
  • Close the Storage accounts tabs
  • Logoff the Microsoft Azure Portal

Connecting to an Azure Storage

  • Download the Azure Storage Explorer from: https://azure.microsoft.com/en-us/features/storage-explorer/
  • Launch Microsoft Azure Storage Explorer
  • From the "Connect to Azure Storage" page, select "Add an Azure Account" -> click on Sign in
  • Specify credentials to access the Azure Portal
  • From the main pane, under "Account Management", select the relevant subscription and click Apply
  • From the main pane, under "Explorer", expand the relevant subscription -> expand "Storage Accounts" -> expand the storage account name -> expand "File Shares"
  • Click on the relevant share name and view the content of the share
  • To change access permissions to the share, from the main pane, right click on the relevant share name -> click on "Manage Access Policies" -> click on Add -> after making the changes, click on Save
  • From the right pane, use the "Upload" button to upload new files to the share
  • From the right pane, use the "Download" button to download files from the share
  • To exit the Azure Storage Explorer, use File -> Quit

Mount a file share and access the share in Windows

  • Login to the Microsoft Azure Portal:
https://portal.azure.com
  • From the upper search field, specify "Storage accounts"
  • From the "Storage account" page -> select the relevant storage account name
  • From the main pane, click on "Access keys" -> from the right pane, copy on of the storage account keys into memory or write it into a temporary file
  • Close the Storage accounts tabs
  • Logoff the Microsoft Azure Portal
  • Login to the target Windows machine
  • Open File Explorer
  • Navigate to the "This PC" item on the left-hand side of the window. This will change the menus available in the ribbon. Under the Computer menu, select "Map Network Drive"
  • Select the Drive letter and enter the UNC path \\<storage-account-name>.file.core.windows.net\<share-name>
Note 1: Replace the <storage-account-name>, with the actual storage account name
Note 2: Replace the <share-name>, with the relevant share name
  • Select "Reconnect at sign-in" and "Connect using different credentials"
  • Click on Finish
  • Use the Storage Account Name prepended with Azure\ as the username and a Storage Account Key as the password
  • Select "Remember my credentials" -> click OK