Creating Shared File Storage in Microsoft Azure

In this guide, we will walk through the steps to create a shared storage account in Microsoft Azure. We’ll cover creating a storage account, setting up a file share, managing snapshots, and restricting access to selected virtual networks.

Cre…


This content originally appeared on DEV Community and was authored by Jimi

In this guide, we will walk through the steps to create a shared storage account in Microsoft Azure. We'll cover creating a storage account, setting up a file share, managing snapshots, and restricting access to selected virtual networks.

Creating a Storage Account

  1. Create a Storage Account:

    • Create a Resource Group for your storage and assign it a name.
    • Choose Performance as Premium and set the account type to File Shares.
    • Set Redundancy to Zone-Redundant storage.
    • Create the resource and navigate to it.

    Configuring Storage Account

  2. Setting up File Shares:

    • In the Data Storage section, select File Shares. Locating File Shares
    • Click on +File Share and create a name for the file share. Adding a File Share
    • Leave other settings as default and click Review+Create, then click Create. Creating the File Share
  3. Adding a Directory:

    • Click on +Add Directory and give your directory a name. Adding a directory
    • Navigate to your newly created directory and upload a file of your choice.

    Navigating to new Directory

    Uploading file

  4. Configuring and Testing Snapshots:

    • Go back to your File Share, select Operations, and click Snapshots.

    Locating snapshot

    • Click +Add Snapshot, optionally add a comment, and confirm.

    Adding snapshot

    • Ensure your directory is included in the snapshot.

    Looking at directory

    • Test the snapshot functionality by deleting the uploaded file, then restore it from the snapshot.
  5. Restricting Storage Access to Virtual Networks:

    • Create a Virtual Network:
      • Search for "Virtual Network" and create a new one with default settings.

    Locating Virtual Network

    Configuring a Virtual Network

    • Navigate to the subnet settings, select the default subnet, and enable "Microsoft.Storage" under Service Endpoints.

    Locating Subnets

    Clicking the default subnet

    Choosing the service endpoint

  6. Configure Network Access for the Storage Account:

    • Return to your File Storage account.
    • In the Security+Networking section, click on Networking.

    Find networking

    • Enable access from selected virtual networks and IP addresses.
    • Add the virtual network you created earlier and select the default subnet.
    • Save the settings. Image description
  7. Verification:

    • Navigate back to your File Share and ensure access is restricted to the specified virtual network.

    Restricted Access

Cleanup

Remember to delete all resources created during this process to avoid unnecessary charges.

By following these steps, you have successfully created a File Share, configured snapshots for your files, and restricted access to a virtual network.


This content originally appeared on DEV Community and was authored by Jimi


Print Share Comment Cite Upload Translate Updates
APA

Jimi | Sciencx (2024-07-04T22:26:46+00:00) Creating Shared File Storage in Microsoft Azure. Retrieved from https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/

MLA
" » Creating Shared File Storage in Microsoft Azure." Jimi | Sciencx - Thursday July 4, 2024, https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/
HARVARD
Jimi | Sciencx Thursday July 4, 2024 » Creating Shared File Storage in Microsoft Azure., viewed ,<https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/>
VANCOUVER
Jimi | Sciencx - » Creating Shared File Storage in Microsoft Azure. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/
CHICAGO
" » Creating Shared File Storage in Microsoft Azure." Jimi | Sciencx - Accessed . https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/
IEEE
" » Creating Shared File Storage in Microsoft Azure." Jimi | Sciencx [Online]. Available: https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/. [Accessed: ]
rf:citation
» Creating Shared File Storage in Microsoft Azure | Jimi | Sciencx | https://www.scien.cx/2024/07/04/creating-shared-file-storage-in-microsoft-azure/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.