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
  • Create a directory /tools
  • Attach a data disk of size 4GiB
  • Now list block devices
  • The disk can be partioned or used directly for partiotion Refer Here
  • Lets use the disk directly by creating a xfs filesystem

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.
  • types of backup
    • full: Complete readonly copy of disk
    • incremental: backups the changes done post previous snapshot.

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

  • Create a disk

  • Attach this disk to new vm

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

  • 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 ReplyCancel reply

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%