hands-on lab

Add a Data Disk and connect a File Share to a Virtual Machine

Difficulty: Beginner
Duration: Up to 2 hours and 47 minutes
Students: 112
Rating: 4.5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Introduction:

All virtual machines are provisioned with a single Operating System Disk and a Temporary drive which is a volatile disk (this means that if a virtual machine is shutdown, or re-deployed, the contents of the temporary disk are lost).Data disks can be added as part of a Virtual Machine build or afterwards. These can be provisioned as file shares or just local data storage.

Storage Account ‘File Shares’, can also be provisioned. This is cheaper than providing Data disks on Virtual machines, and provides a central location for storage.

In this Lab exercise, you will

Start with a pre-existing virtual network, with a single virtual machine (TestVM1). Then, you will complete the below tasks.

  • Provision a Data Disk
    • Attach it to TestVM1
    • Create files for testing
  • Re-Deploy TestVM1
    • Check results of Re-Deployment
  • Create a Storage Account
    • Provision a File Share
      • Upload a file into the share
    • Connect TestVM1 to the File Share
      • Create a File in the File Share on TestVM1
    • Check the results in the storage account file share

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Provision a Data Disk
Re-deploy the Virtual Machine TestVM1
Provision a Storage Account File Share