Azure Classroomnotes 13/Apr/2023

Azure Managed Disks contd

Performance Aspects

  • IOPS: Number of read/write operations that can be performed on the disk
  • Throughput: Amount of data per second that can be read/write on the disk
  • Throughput = IOPS * Block_size
  • Disk types Refer Here
  • Any virtual machine which supports premium disks will have s in it (B1s and B1)

Unmanaged disk

  • This is not recommended as each storage account can have a max of 40 disks and max performance is 20000 IOPS
  • Refer Here for comparisions
  • To create unmanaged disks navigate to Advanced section
    Preview
  • We need a storage account

Attaching and detaching disks

  • While creating vm1 add and additional data disk
    Preview
    Preview
  • Create a vm2 with no additional data disks
    Preview
  • Detach data disk from vm1
    Preview
  • Now attach data disk to vm2
    Preview
  • Commands used to attach disks
# in bash
diskId=$(az disk show -g myResourceGroup -n myDataDisk --query 'id' -o tsv)

# in powershell

$diskId =az disk show -g myResourceGroup -n myDataDisk --query 'id' -o tsv

az vm disk attach -g myResourceGroup --vm-name myVM --name $diskId
  • Explore shared disk
    Preview

Exercise

  • What is SMB?
  • What are NAS (Network Attached Storage) and SAN (Storage Area Networks)
  • When to use them?

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube