- Lab
- A Cloud Guru
Configure and Connect to Azure Files from Windows
Azure Files is a Microsoft managed file sharing solution, which helps to provide centralized file-sharing capabilities similar to a traditional on-premises file-server. In this lab, you will have the opportunity to create an Azure Files share and connect to it from a Windows Server using SMB (Server Message Block, file sharing protocol). After completing this lab, you'll be familiar with how to create and connect to an Azure File share, as well as understanding important security considerations.
Path Info
Table of Contents
-
Challenge
Create an Azure Files Share
Use the Azure Portal to create your Azure Files share:
- Navigate to the Storage Accounts section.
- Open Storage Accounts from the sidebar, and navigate to the storage account already created for you.
- Click on File shares in the storage account working pane.
- Click + File share to create a new file share.
- Name the file share "companydata" with NO quota.
-
Challenge
Map the Azure Files Share from Windows
Use the Azure Portal to gather the necessary information. Please be aware you will need an RDP client to connect to the Windows server.
To connect to
vm1
, use the following credentials:- Username:
azureuser
- Password:
(Use password provided in the credentials section of this lab.)
Connect to VM1 using RDP
- Navigate to the Virtual Machines services page.
- Open the existing VM called
vm1
. - Click on the Connect option in the command bar, and select RDP.
- Use the RDP file with your preferred RDP client.
Note: you may choose to copy the public IP address and connect via RDP manually with your RDP client, instead of using the RDP file.
Copy the Files Share Details
- Navigate to the Storage Accounts section.
- Open Storage Accounts from the sidebar, and navigate to the storage account already created for you.
- Click on File shares in the storage account working pane.
- Click Connect in the resource command bar.
- Copy the Windows PowerShell connection script for later use.
Use the Azure Files Share from Windows
- Open PowerShell (Start > Windows PowerShell > Windows PowerShell)
- Paste and run the script from the Azure Portal you copied earlier.
- Open the mapped drive (Windows Explorer > This PC > Z drive).
- Create some folders and files.
Note you can open the Azure Files Share from the Azure Portal to verify that files you create are being stored centrally.
- Username:
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.