Azure Classroomnotes 07/Sep/2023

Disk Storage in Azure

Mounting Disks on Linux VM’s

  • Refer Here for the article about attaching disks to linux
  • Create an ubuntu vm with additional data disk of size 1GiB
    Preview
  • list block devices
    Preview
  • Create file system (format) with xfs
    Preview
  • Now mount the device onto /tools folder
    Preview
  • Follow the instructions Refer Here to persist mounts

Snapshots of Disk

  • Snapshot is backup of the disk
    Preview
  • Lets create a snapshot (Full Backup)
    Preview
    Preview
  • In Azure, the disk is scoped to a region and snapshot is also scoped to a region. i.e. Snapshot created from one region can be used to create a disk in the same region
    Preview
  • If you want to create a disk in other region, first copy snapshot to that region
    Preview

Exercise:

  • Mount the disk onto linux machine
  • Create partitions (optional)
  • Increase the size of disk
  • Use the unallocated storage anywhere on vm

Next Steps:

  • Azure Backup for Disks/VMS/Databases (Azure Backup Center)
  • Other Storage
    • Fileshare
    • Table
    • Queue
  • Encryption

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner