AWS Classroom Series – 06/Jun/2021

Elastic Block Storage (EBS)

  • EBS provides block level storage volumes for use with ec2 instances.
  • Create a ubuntu EC2 instance
    • Login into the EC2 instance and execute the following commands
    sudo lsblk
    sudo df -h
    

Preview Preview

  • Create a windows ec2 instance
    • Login into the windows server and open the windows explorer and select this pc Preview
  • Elastic Block Volumes and ec2 instances to which they are attached will be in Same AZ’s i.e. EBS volume created in one zone cannot be attached to EC2 instance in other zone in same region
  • EBS volumes are loaded from different physical server from which ec2 instance is created in same zone. This gives the flexibility of EBS volume can have a life time different than ec2 instance. Preview
  • To an EC2 instance additional EBS volumes can be attached while creating ec2 instance or after Preview Preview
  • Attaching an EBS Volume to a running ec2 instance Preview Preview Preview Preview Preview
  • Partition a new disk Preview
  • Mount the disk Preview
  • Ensure the disk remains mounted after restarts Preview
  • For instance volume limits Refer Here

EBS Volume Types

  • EBS provides the following three characteristics for a volume
    • SSD:
      • General Purpose SSD
      • Provisioned IOPS SSD
    • HDD:
      • Throughput optimized HDD
      • Cold HDD
    • Previous Generation
  • Refer Here for the official documentation

Snapshots:

  • The backup of the EBS Volume is called as EBS Snapshot

  • First backup of EBS Volume is full backup and from there onwards the EBS Backup are incremental Preview

  • Creating Snapshots Preview Preview

  • Using Snapshots we can create volumes in any AZ in same region

  • If we want an EBS volume to be created from snapshot in different region Preview Preview

Leave a Reply

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

About learningthoughtsadmin