Introduction
Shared file storage is a system that allows multiple users to access and share files from a central location. It's like a digital filing cabinet that everyone can contribute to and retrieve from.
Benefits of Shared File Storage:
a. Centralized Access: All files are stored in one place, making them easy to find and manage.
b. Collaboration: Multiple users can work on the same files simultaneously, improving teamwork and efficiency.
c. Version Control: Different versions of a file can be tracked and accessed, ensuring that you always have the most up-to-date information.
d. Security: Access can be controlled, protecting sensitive data from unauthorized users.
e. Scalability: Shared file storage can easily be expanded to accommodate growing storage needs.
NOTE: The company is geographically dispersed with offices in different locations. These offices need a way to share files and disseminate information. For example, the Finance department needs to confirm cost information for auditing and compliance. This file shares should be easy to access and load without delay. Some content should only be accessed from selected corporate virtual networks.
Here are steps to follow in creating shared file storage:
Skilling tasks
- Create a storage account specifically for file shares.
- Configure a file share and directory.
- Configure snapshots and practice restoring files.
- Restrict access to a specific virtual network and subnet.
Create and configure a storage account for Azure Files.
- Create a storage account for the finance department’s shared files. a. In the portal, search for and select Storage accounts. b. Select + Create. c. For Resource group select Create new. Give your resource group a name and select OK to save your changes. d. Provide a Storage account name. Ensure the name meets the naming requirements. e. Set the Performance to Premium. f. Set the Premium account type to File shares. g. Set the Redundancy to Zone-redundant storage. h. Select Review and then Create the storage account. i. Wait for the resource to deploy. j. Select Go to resource. Create and configure a file share with directory.
- Create a file share for the corporate office. a. In the storage account, in the Data storage section, select the File shares blade. b. Select + File share and provide a Name. c. Review the other options, but take the defaults. d. Select Create
- Add a directory to the file share for the finance department. For future testing, upload a file. a. Select your file share and select + Add directory. b. Name the new directory finance. c. Select Browse and then select the finance directory. d. Notice you can Add directory to further organize your file share. e. Upload a file of your choosing. Configure and test snapshots.
- Similar to blob storage, you need to protect against accidental deletion of files. You decide to use snapshots. a. Select your file share. b. In the Operations section, select the Snapshots blade. c. Select + Add snapshot. The comment is optional. Select OK d. Select your snapshot and verify your file directory and uploaded file are included. 2.Practice using snapshots to restore a file. a. Return to your file share. b. Browse to your file directory. c. Locate your uploaded file and in the Properties pane select Delete. Select Yes to confirm the deletion. d. Select the Snapshots blade and then select your snapshot. e. Navigate to the file you want to restore, f. Select the file and the select Restore. g. Provide a Restored file name. h. Verify your file directory has the restored file. Configure restricting storage access to selected virtual networks.
- This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created. a. Search for and select Virtual networks. b. Select Create. Select your resource group. and give the virtual network a name. c. Take the defaults for other parameters, select Review + create, and then Create. d. Wait for the resource to deploy. e. Select Go to resource. f. In the Settings section, select the Subnets blade. g. Select the default subnet. h. In the Service endpoints section choose Microsoft.Storage in the Services drop-down. i. Do not make any other changes. j. Be sure to Save your changes.
- The storage account should only be accessed from the virtual network you just created. Learn more about using private storage endpoints.. a. Return to your files storage account. b. In the Security + networking section, select the Networking blade. c. Change the Public network access to Enabled from selected virtual networks and IP addresses. d. In the Virtual networks section, select Add existing virtual network. e. Select your virtual network and subnet, select Add. f. Be sure to Save your changes. g. Select the Storage browser and navigate to your file share. h. Verify the message not authorized to perform this operation. You are not connecting from the virtual network.
Top comments (0)