Lab13 - Understanding Azure Files Storage - Azure
Lab13 - Understanding Azure Files Storage - Azure
Page 1 of 70
Cloud Computing - Azure
1
Using the Azure Resource Manager deployment model is recommended.
Storage accounts using the classic deployment model can still be created in
some locations, and existing classic accounts continue to be supported. For
more information, see Azure Resource Manager vs. classic deployment:
Understand deployment models and the state of your resources.
2
All storage accounts are encrypted using Storage Service Encryption (SSE)
for data at rest. For more information, see Azure Storage Service Encryption
for Data at Rest.
3
The Archive tier is available at level of an individual blob only, not at the
storage account level. Only block blobs and append blobs can be archived.
For more information, see Azure Blob storage: Hot, Cool, and Archive storage
tiers.
4
Zone-redundant storage (ZRS) is available only for standard general-
purpose v2 storage accounts. For more information about ZRS, see Zone-
redundant storage (ZRS): Highly available Azure Storage applications. For
more information about other replication options, see Azure Storage
replication.
General-purpose v2 accounts
Page 2 of 70
Cloud Computing - Azure
Note
General-purpose v1 accounts
Page 3 of 70
Cloud Computing - Azure
Azure Files
Azure Files offers fully managed file shares in the cloud that are accessible via the
industry standard Server Message Block (SMB) protocol. Azure file shares can be
mounted concurrently by cloud or on-premises deployments of Windows, Linux, and
macOS. Additionally, Azure file shares can be cached on Windows Servers with
Azure File Sync for fast access near where the data is being used.
o Diagnostic share:
An Azure file share is a convenient place for cloud applications to
write their logs, metrics, and crash dumps. Logs can be written by the
application instances via the File REST API, and developers can access
Page 4 of 70
Cloud Computing - Azure
them by mounting the file share on their local machine. This enables
great flexibility, as developers can embrace cloud development
without having to abandon any existing tooling they know and love.
o Dev/Test/Debug:
When developers or administrators are working on VMs in the cloud,
they often need a set of tools or utilities. Copying such utilities and
tools to each VM can be a time consuming exercise. By mounting an
Azure file share locally on the VMs, a developer and administrator can
quickly access their tools and utilities, no copying required.
Key benefits
Shared access. Azure file shares support the industry standard SMB protocol,
meaning you can seamlessly replace your on-premises file shares with Azure
file shares without worrying about application compatibility. Being able to
share a file system across multiple machines, applications/instances is a
significant advantage with Azure Files for applications that need shareability.
Fully managed. Azure file shares can be created without the need to manage
hardware or an OS. This means you don't have to deal with patching the server
OS with critical security upgrades or replacing faulty hard disks.
Scripting and tooling. PowerShell cmdlets and Azure CLI can be used to
create, mount, and manage Azure file shares as part of the administration of
Azure applications.You can create and manage Azure file shares using Azure
portal and Azure Storage Explorer.
Resiliency. Azure Files has been built from the ground up to be always
available. Replacing on-premises file shares with Azure Files means you no
longer have to wake up to deal with local power outages or network issues.
Familiar programmability. Applications running in Azure can access data in
the share via file system I/O APIs. Developers can therefore leverage their
existing code and skills to migrate existing applications. In addition to System
IO APIs, you can use Azure Storage Client Libraries or the Azure Storage REST
API.
Topology
Page 5 of 70
Cloud Computing - Azure
Page 6 of 70
Cloud Computing - Azure
Back-End Topology:
Page 7 of 70
Cloud Computing - Azure
Page 8 of 70
Cloud Computing - Azure
Page 9 of 70
Cloud Computing - Azure
Click “Create”.
Page 10 of 70
Cloud Computing - Azure
Page 11 of 70
Cloud Computing - Azure
Page 12 of 70
Cloud Computing - Azure
Page 13 of 70
Cloud Computing - Azure
Click “Create”.
Page 14 of 70
Cloud Computing - Azure
In “Virtual machines”.
Page 15 of 70
Cloud Computing - Azure
Click “Add”.
Page 16 of 70
Cloud Computing - Azure
In “Administrator Account”
Page 17 of 70
Cloud Computing - Azure
Page 18 of 70
Cloud Computing - Azure
In “Save Money”.
Page 19 of 70
Cloud Computing - Azure
In “Disks”.
Page 20 of 70
Cloud Computing - Azure
In “Networking”
Page 21 of 70
Cloud Computing - Azure
In “Management”.
Page 22 of 70
Cloud Computing - Azure
Page 23 of 70
Cloud Computing - Azure
Page 24 of 70
Cloud Computing - Azure
In “Tags”.
Page 25 of 70
Cloud Computing - Azure
Click “Create”.
Page 26 of 70
Cloud Computing - Azure
Page 27 of 70
Cloud Computing - Azure
Page 28 of 70
Cloud Computing - Azure
In “sansboundazureclassdiag”.
Page 29 of 70
Cloud Computing - Azure
Click “File”.
In “Files”
Page 30 of 70
Cloud Computing - Azure
In “File Share”
Page 31 of 70
Cloud Computing - Azure
Click “Create”.
Page 32 of 70
Cloud Computing - Azure
Page 33 of 70
Cloud Computing - Azure
Click “salesdata”.
Page 34 of 70
Cloud Computing - Azure
Page 35 of 70
Cloud Computing - Azure
In “salesdata” – Properties
Page 36 of 70
Cloud Computing - Azure
Page 37 of 70
Cloud Computing - Azure
Page 38 of 70
Cloud Computing - Azure
Click “Files”.
Page 39 of 70
Cloud Computing - Azure
In “Files”
Page 40 of 70
Cloud Computing - Azure
In “Access keys”.
Page 41 of 70
Cloud Computing - Azure
Page 42 of 70
Cloud Computing - Azure
Page 43 of 70
Cloud Computing - Azure
Page 44 of 70
Cloud Computing - Azure
In “Storage accounts”.
Click “sansboundazureclassdiag”.
Page 45 of 70
Cloud Computing - Azure
Click “Files”.
Page 46 of 70
Cloud Computing - Azure
Click “salesdata”.
Page 47 of 70
Cloud Computing - Azure
Page 48 of 70
Cloud Computing - Azure
In “Upload files”
Page 49 of 70
Cloud Computing - Azure
Locate the data in your local drive where you have stored.
Click “Open”.
Page 50 of 70
Cloud Computing - Azure
Click “Upload”.
Page 51 of 70
Cloud Computing - Azure
In “Files” storage, everyone can able to view the files of other user.
Page 52 of 70
Cloud Computing - Azure
Page 53 of 70
Cloud Computing - Azure
In “Virtual machine”.
Click “WindowsVM-Azure”.
Page 54 of 70
Cloud Computing - Azure
Kindly note the Public IP address provided for “Windows Server 2008 R2”.
Page 55 of 70
Cloud Computing - Azure
In your local machine, type “mstsc” in “Run” box and click “Ok”,
Click “Connect”.
Page 56 of 70
Cloud Computing - Azure
Click “Ok”.
Page 57 of 70
Cloud Computing - Azure
Click “Yes”.
Page 58 of 70
Cloud Computing - Azure
From “Access key” you have copied below details to access the “Files” storage from Virtual machine in
Azure.
You can able to access the Files storage from virtual machine by using share path UNC: “\\”
So, you have need to modify the arguments as ‘//” with “\\” and “/” with “\”.
Page 59 of 70
Cloud Computing - Azure
In “Computer”
Remove “https:” from the UNC path copy the “Files” storage as UNC path.
Page 60 of 70
Cloud Computing - Azure
\\sansboundazureclassdiag.file.core.windows.net\salesdata
Map Network drive, in “Folder” paste the UNC path of “Files” Storage.
Click “Finish”.
Page 61 of 70
Cloud Computing - Azure
Copy the key which you have copied from “Files“ storage and paste it in “password” box.
Page 62 of 70
Cloud Computing - Azure
6fQA3ZUO6UNPS3cQjPK38CKxs2qW3akvDC2T6xaRcHSOhXbzMEQTfArggtvifTjwj0O5KUiECCKZYrS+dYn
knA==
You have successfully mapped the “Files” storage in Azure virtual machine.
Page 63 of 70
Cloud Computing - Azure
In “Files” storage I have created one folder named “data” and created one file named “Data1.txt”.
Page 64 of 70
Cloud Computing - Azure
Other users who have accessed this share also can able to access the folder(s) / file(s) of others.
Page 65 of 70
Cloud Computing - Azure
Click “Files”.
Page 66 of 70
Cloud Computing - Azure
Page 67 of 70
Cloud Computing - Azure
Click “salesdata”.
Page 68 of 70
Cloud Computing - Azure
You are able to see the folder named “data” which has been recently created.
Page 69 of 70
Cloud Computing - Azure
Note: Administrator have access to view / delete the files / folders in the “Files” storage.
Page 70 of 70