DEV Community

Cover image for Setting Up Cloud Storage Accounts, Configuring File Shares, Snapshots, and Network Restrictions
Yemi G
Yemi G

Posted on • Edited on

Setting Up Cloud Storage Accounts, Configuring File Shares, Snapshots, and Network Restrictions

Create and configure a storage account for Azure Files.

In the portal, type "Storage account" in the search field

Image description

Select "Storage account"

Image description

Select "+ Create"

Image description

Create new Resource Group, name it and click "OK"

Image description

Insert storage name

Image description

Set Performance to Premium

Image description

Set Premium account type to File shares

Image description

Set Redundancy to Zone-redundant storage

Image description

Select "Review and Create"

Image description

Select "Create"

Image description

Go to resource

Create and configure a file share with directory

In the data storage section

Image description

Select "File shares"

Image description

Select "+ File share"

Image description

Provide a name

Image description

Select "Create"

Image description

Image description

Add a directory to the file share for the finance department

Select "Add directory"

Image description

Name directory finance

Image description

Click "OK"

Image description

Select "Browse"

Image description

Select finance directory

Image description

Upload a file

Image description

Configure and test snapshots

Select "Operations"

Image description

Select "Snapshot"

Image description

Select "+ Add Snappshot"

Image description

Comment is optional, select "OK"

Image description

Return to Fileshare and Browse to view file directory

Image description

Locate uploaded file and select "delete"

Image description

Confirm deletion

Image description

Select Snapshot blade

Image description

Select your snapshot

Image description

Navigate the file you want to restore

Image description

Select "Restore"

Image description

Provide restore file name

Image description

Select "OK"

Image description

Verify your file has been restored

Image description

Configure restricting storage access to selected virtual networks.

In the search field, type "Virtual Networks" and select it

Image description

Select "+ Create"

Image description

Use the default for other parameter, give the Virtual network a name

Image description

Select "Review + Create"

Image description

Select "Create"

Image description

Select "Go to resource"

Image description

In the settings section

Image description

Select "Subnets"

Image description

Select the default subnet

Image description

In the service endpoints section

Image description

Select Microsoft.storage in the services dropdown

Image description

Click "Save"

Image description

The storage account should only be accessed from the virtual network you just created. Learn more about using private storage endpoints.

Return to the file storage account

Image description

Select "Networking" blade

Image description

In the public network access, select "Enabled from selected virtual networks and IP addresses"

Image description

In the Virtual network section, select "+ Add existing network virtual network"

Image description

Select your virtual network and subnets

Image description

Select "Add"

Image description

Save changes

Image description

Select "Storage browser"

Image description

Navigate to your file share

Image description

Verify you are not authorised to perform this operation

Image description

Top comments (0)