DP-900: Microsoft Azure Data Fundamentals

File Based Storage

Demo Files Shares

In this lesson, we’ll walk through configuring an Azure File Share step by step. Whether you need a small 5 TiB share or a large 100 TiB volume, you’ll see how to create the share, adjust performance tiers, manage quotas, and set up directories.


1. Access the File Shares Blade

First, go to the storage account you created earlier (e.g., PHVIS2). In the left-hand menu under Data Storage, select File Shares to view and manage your shares.

The image shows a Microsoft Azure portal interface displaying details of a storage account named "phvis2." It includes information about the resource group, location, performance, replication, and security settings.

Here you’ll find all existing shares. Click the + icon at the top-left to create a new one.

The image shows a Microsoft Azure portal interface for managing file shares in a storage account. It displays options for creating a new file share and various settings related to Active Directory, security, and storage capacity.


2. Create a New File Share

Click + File Share to open the creation pane. Since you’re scoped to the storage account, your subscription and resource group are already selected.

  1. Enter a lowercase, space-free Name (e.g., phvfiles).
  2. Review the default Performance (Transaction Optimized, 1,000 IOPS) and Max size (5 TiB).

The image shows a Microsoft Azure portal interface for creating a new file share, with options for naming, tier selection, and performance settings.

Note

If you expect to exceed 5 TiB, you can enable large file shares (up to 100 TiB) either at the storage account level or per share after creation.

On the Backup tab, disable backup if you want to avoid extra costs and speed up creation. Backing up a brand-new share can introduce delay.

The image shows a Microsoft Azure interface for creating a new file share, with an option to enable backup checked.

Once ready, click Review + create and then Create. The new share appears almost immediately—close the notification to continue.


3. Adjust Tier and Quota

After creation, you can fine-tune performance, capacity, and retention:

Change Tier
Click Change tier to pick the right performance level for your workload:

Tier NameBest ForCharacteristics
Transaction OptimizedBalanced read/write workloads~1,000 IOPS, moderate cost
HotFrequent file sharing & Azure File SyncHigher throughput, higher cost
CoolInfrequently accessed filesLower storage cost, lower performance

The image shows the tier-change options for a file share named "phvfiles" in the Azure portal, listing Transaction Optimized, Hot, and Cool tiers.

Edit Quota
Open Properties (or click the share name) to view size, usage, and quota settings. By default, it’s 5,120 GiB (5 TiB).

The image shows a Microsoft Azure portal interface displaying details of a file share named "phvfiles," including storage account information, location, subscription details, and properties like size and performance.

Click Edit quota, enter a new limit in GiB, and save.

The image shows an "Edit quota" dialog box in the Azure portal for a file share, letting the user set a storage quota in GiB.

Note

Soft Delete is enabled by default (14 days). Deleted files are recoverable within that period but still incur storage costs.

Warning

Large file shares (100 TiB) do not support geo-redundancy. Plan accordingly if you need cross-region replication.

You can also upgrade specific shares to 100 TiB without enabling large file shares at the account level.

The image shows capacity options for a file share named "phvfiles," allowing either 5 TiB or 100 TiB maximum share sizes.


4. Organize Data with Directories

With your share in place, you can add folders and files directly from the portal.

  1. Click Add Directory, enter a name (e.g., Folder), and confirm.
  2. Browse into Folder and repeat Add Directory to create subfolders. Azure Files supports uppercase, lowercase, spaces, and most SMB-compatible characters.

The image shows a Microsoft Azure portal interface displaying a file share named "phvfiles" with a directory labeled "Folder." Various options like connect, upload, and add directory are available.

The image shows a Microsoft Azure portal interface where a user is creating a new directory named "s" within a file share.

To upload files, select Upload, choose your items, and decide whether to overwrite existing files. Click Upload to transfer data.


5. Manage Access Control (IAM)

Control who can view and modify your file share via Access Control (IAM) in the left menu:

  • Check Access shows the effective permissions for any user or service principal.
  • Add role assignment lets you grant built-in roles (e.g., Storage File Data SMB Share Contributor) at the share level.

The image shows the Access Control (IAM) pane for a file share in the Azure portal, with options to check and manage permissions and assignments.

The image shows a list of role assignments for a file share in the Azure portal's Access Control (IAM) section, where you can add or remove roles.


That completes the setup of your Azure File Share. You can now mount it on Windows, Linux, or macOS clients, integrate with Azure File Sync, or manage it via REST API and SDKs.


Watch Video

Watch video content

Previous
Azure Files