What is Microsoft Azure?
Azure is a platform and service for cloud computing. Through Microsoft's extensive global network of data centres, it offers a broad range of cloud services, such as computing, analytics, storage, and networking, enabling developers and companies to create, implement, and oversee applications. In this exercise, we will be using Azure to provide private shared file storage ideal for company files. This article will provide a visual demonstration the process outlined in this exercise provided by Microsoft: https://microsoftlearning.github.io/Secure-storage-for-Azure-Files-and-Azure-Blob-Storage/Instructions/Labs/LAB_03_storage_file_shares.html
Create and configure a storage account for Azure Files.
1. Create a storage account for the finance department’s shared files.
For Resource group select Create new. Give your resource group a name and select OK to save your changes.
Provide a Storage account name. Ensure the name meets the naming requirements.
Set the Performance to Premium.
Set the Premium account type to File shares.
Wait for the resource to deploy.
Create and configure a file share with directory.
1. Create a file share for the corporate office.
- In the storage account, in the Data storage section, select the File shares blade.
- Select + File share and provide a Name.
- Review the other options, but take the defaults.
- Select Review + Create then Create
2. Add a directory to the file share for the finance department. For future testing, upload a file.
- Select your file share and select + Add directory.
- Notice you can Add directory to further organize your file share.
- 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*
- Select your file share.
Select your snapshot and verify your file directory and uploaded file are included.
2. Practice using snapshots to restore a file
Locate your uploaded file and in the Properties pane select Delete. Select Yes to confirm the deletion.
Navigate to the file you want to restore
Configure restricting storage access to selected virtual networks.
1. This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created.
Select your resource group. and give the virtual network a name.
Take the defaults for other parameters, select Review + create, and then Create.
Wait for the resource to deploy.
In the Settings section, select the Subnets blade.
Scroll down to service endpoints
Select Microsoft.Storage
2. The storage account should only be accessed from the virtual network you just created.
- Return to your files storage account.
- In the Security + networking section, select the Networking blade
- Change the Public network access to Enabled from selected virtual networks and IP addresses.
- In the Virtual networks section, select Add existing virtual network.
Verify the message not authorized to perform this operation. You are not connecting from the virtual network.
Top comments (0)