DEV Community

Cover image for Provide shared file storage for the company offices
nnamdi nmarah
nnamdi nmarah

Posted on • Edited on

Provide shared file storage for the company offices

 ### Provide Shared File Storage for Company Offices (Using Microsoft Azure)

As organizations expand across multiple offices and remote teams, maintaining a centralized and secure file storage system becomes essential. When files are stored locally or shared manually, it often leads to version conflicts, limited accessibility, and security risks. Cloud computing solves this problem by providing scalable, secure, and highly available shared storage accessible from anywhere.

In this guide, we’ll explore how to implement shared file storage using Microsoft Azure—a powerful cloud platform that enables businesses to build secure and scalable infrastructure.

Using services like:

  • Azure Files for fully managed SMB file shares in the cloud
  • Azure Blob Storage for scalable object storage
  • Azure Virtual Network for secure network connectivity
  • Azure Active Directory for identity and access control

You can create a centralized file storage solution that connects multiple company offices securely and efficiently.

By the end of this post, you’ll understand the architecture, setup process, and best practices for deploying shared storage on Azure—while strengthening your cloud computing skills along the way.

Create and configure a storage account for Azure Files

Create a storage account for the finance department’s shared files. Learn more about storage accounts for Azure Files deployments.

  • In the portal, search for and select Storage accounts.

select Storage accounts

  • Select + Create.

Select + Create

  • For Resource group select Create new. Give your resource group a name and select OK to save your changes.

 Give your resource group a name

  • Provide a Storage account name. Ensure the name meets the naming requirements.

Provide a Storage account name

  • Set the Performance to Premium.

Set the Performance to Premium

  • Set the Premium account type to File shares.

Premium account type to File shares

  • Set the Redundancy to Zone-redundant storage.

Redundancy to Zone-redundant storage

  • Select Review and then Create the storage account.

 Select Review and then Create the storage account

  • Wait for the resource to deploy.

Wait for the resource to deploy

  • Select Go to resource.

Select Go to resource

Create and configure a file share with directory.

Create a file share for the corporate office. Learn more about Azure File tiers.

  • In the storage account, in the Data storage section, select the File shares blade.

select the File shares blade

  • Select + File share and provide a Name.

Select + File share

provide a Name

  • Review the other options, but take the defaults.

take the defaults

  • Select Create

Select Create

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.

+ Add directory

  • Name the new directory finance.

Name the new directory finance

  • Select Browse and then select the finance directory.

select the finance directory

  • Notice you can Add directory to further organize your file share.

  • Upload a file of your choosing.

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. Learn more about file snapshots.

  • Select your file share.

Select your file share

  • In the Operations section, select the Snapshots blade.

select the Snapshots blade

  • Select + Add snapshot. The comment is optional. Select OK.

Select + Add snapshot

  • Select your snapshot and verify your file directory and uploaded file are included.

verify your file directory

Practice using snapshots to restore a file.

  • Return to your file share.

Return to your file share

  • Browse to your file directory.

Browse to your file directory

  • Locate your uploaded file and in the Properties pane select Delete. Select Yes to confirm the deletion.

select Delete

  • Select the Snapshots blade and then select your snapshot.

Select the Snapshots blade

  • Navigate to the file you want to restore,

Navigate to the file you want to restore

  • Select the file and the select Restore.

Select the file and the select Restore

  • Provide a Restored file name.

Provide a Restored file name

  • Verify your file directory has the restored file.

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.

  • Search for and select Virtual networks.

Search for and select Virtual networks

  • Select Create. Select your resource group. and give the virtual network a name.

Select Create

  • Take the defaults for other parameters, select Review + create, and then Create.

select Review + create

  • Wait for the resource to deploy.

Wait for the resource to deploy

  • Select Go to resource.

Select Go to resource

  • In the Settings section, select the Subnets blade.

select the Subnets blade

  • Select the default subnet.

Select the default subnet

  • In the Service endpoints section choose Microsoft.Storage in the Services drop-down.

choose Microsoft.Storage

  • Do not make any other changes.

  • Be sure to Save your changes.

Save your changes

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

  • Return to your files storage account.

Return to your files storage account

  • In the Security + networking section, select the Networking blade.

select the Networking blade

  • Change the Public network access to Enabled from selected virtual networks and IP addresses.

 Change the Public network access to Enabled

  • In the Virtual networks section, select Add existing virtual network.

select Add existing virtual network

  • Select your virtual network and subnet, select Add.

select Add

  • Be sure to Save your changes.

  • Select the Storage browser and navigate to your file share.

  • Verify the message not authorized to perform this operation. You are not connecting from the virtual network.

not authorized to perform this operation

conclusion

In conclusion, implementing shared file storage across company offices is a crucial step toward improving collaboration, consistency, and operational efficiency. By following the setup process outlined in this guide, you can create a centralized, secure, and scalable storage solution that ensures teams in every location have reliable access to the files they need. This not only reduces duplication and version conflicts but also strengthens data governance and business continuity. With the right configuration and maintenance practices in place, your organization can support seamless cross-office workflows and set a strong foundation for future growth.

Top comments (0)