Azure Classroom notes 20/Jan/2024

Azure Managed disks contd

Activity 12: Attach a data disk to linux vm

  • Create a free (b1s) vm with any linux os
  • List the block devices lsblk
    Preview
  • Create a directory /tools
  • Attach a data disk of size 4GiB
    Preview
  • Now list block devices
    Preview
  • The disk can be partioned or used directly for partiotion Refer Here
  • Lets use the disk directly by creating a xfs filesystem
    Preview

Activity 13: Ensure mounts are available after restart

  • Lets stop the vm and start the vm
  • We observe the /tools is not mounted.
  • To retain mounts in linux across restarts we need to use fstab Refer Here
  • Add fstab entries as discussed in the class.

Activity 14: Create a backup of as disk.

  • Backup of disk is referred as snapshot.
    Preview
  • types of backup
    • full: Complete readonly copy of disk
    • incremental: backups the changes done post previous snapshot.
      Preview

Activity 15: Create a disk from this snapshot and mount to vm.

  • Create a disk
    Preview
    Preview
  • Attach this disk to new vm
    Preview
    Preview

Activity 16: Enable automatic backups for disks

  • Create a vm with b1s and ubuntu os
  • ssh into vm and install any application
  • Open Backup center
    Preview
    Preview
  • For Backups, we can use
    • Backup center
    • Business continuity center
  • For Recovery, we can use
    • Recovery services vault
    • Business continuity center
  • The data will be stored in vault

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
Animated Social Media Icons by Acurax Wordpress Development Company

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