AWS Classroomnotes 11/Nov/2022

AWS Elastic Block Storage Contd..

  • Installing necessary softwares on Windows 10 and above Refer Here

Backup of Volume => Snapshot

  • In AWS first backup is full backup and backups from there are incremental.
    Preview
  • What happens when we delete the latest backup
    Preview
  • What will happen if we delete the first backup
    Preview
  • When we want to delete the snapshot, AWS will check if the snapshot to be deleted is referenced by some other snapshots
    • if yes the contents of snapshots will be copied to snapshot refering this. In this case there is no data loss
    • if no then the snapshot will be deleted. In this case there is data loss.
  • Now Generally organizations, configure automated backups periodically (once every day/hour/week). In these situations we can also configure to delete the older snapshots as it doesnot cause data loss.
  • Lets create a snapshot
    Preview
    Preview
    Preview
  • From snapshot we can
    • create an ebs volume
      • in different az
      • in differnt region: This can be achieved by copy snapshot to other region and create a ebs volume from there
    • Create an AMI (Amazon Machine Image):
      • AMI is snapshot plus metadata
  • Exercise:
    • Create an ubuntu instance.
    • Install docker and add ubuntu user to docker group
    • Stop the ec2 instance
    • Create a snapshot from EBS root volume.
    • Now delete the ec2 instance
    • Create a ec2 AMI with docker preinstalled from the snapshot we created.

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