Adding Data Disks to VMs
At some point, you will require additional storage for your VMs. One option to introduce storage is to attach a data disk to your VM, which will serve as locally attached storage. In the exercise that follows, you will gain hands-on experience adding disks to your VMs.
Exercise 13.3: Adding Data Disks
In the following exercise, you will explore adding data disks to a VM in Azure:
- Sign in to the Azure portal: https://portal.azure.com/home.
- Create a new managed disk in Azure, set the resource group and subscription to the one you used in the previous exercise, and configure the
Disk details
options as follows:Disk
name
:scalesetvm1_datadisk2
Region
: Same as the VMAvailability zone
:No infrastructure
redundancy required
Source
type
:None
Size
:32 GiB
Figure 13.6: Managed disk – Disk details
- Click
Next : Encryption >
. Configure the following setting:Key Management
:Platform-managed key
- Click
Next...