Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

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.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Jun 05, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Azure Files Share

    Use the Azure Portal to create your Azure Files share:

    1. Navigate to the Storage Accounts section.
    2. Open Storage Accounts from the sidebar, and navigate to the storage account already created for you.
    3. Click on File shares in the storage account working pane.
    4. Click + File share to create a new file share.
    5. Name the file share "companydata" with NO quota.
  2. 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

    1. Navigate to the Virtual Machines services page.
    2. Open the existing VM called vm1.
    3. Click on the Connect option in the command bar, and select RDP.
    4. 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

    1. Navigate to the Storage Accounts section.
    2. Open Storage Accounts from the sidebar, and navigate to the storage account already created for you.
    3. Click on File shares in the storage account working pane.
    4. Click Connect in the resource command bar.
    5. Copy the Windows PowerShell connection script for later use.

    Use the Azure Files Share from Windows

    1. Open PowerShell (Start > Windows PowerShell > Windows PowerShell)
    2. Paste and run the script from the Azure Portal you copied earlier.
    3. Open the mapped drive (Windows Explorer > This PC > Z drive).
    4. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans