AWS Classroom Series – 27/Aug/2020

Amazon EBS Volume Types

  • Harddisk technology:

    • Magnetic
    • HDD
    • SSD
  • Amazon supports all of the above mentioned hard disk technologies

  • We will be focusing on

    • HDD
    • SSD
  • EBS Volume Types

    • SSD

      • General Purpose SSD (gp2)
        • Description: Balanced performance with wide variety of workloads
        • Durability: 99.8-99.9%
      • Provisioned IOPS SSD
        • io2
          • Description: High performance ssd for mission critical data intensive workloads
          • Durability: 99.999%
        • io1
          • Description: High performance ssd for mission critical data intensive workloads
          • Durability: 99.8-99.9%
    • HDD

      • Throughput Optimized HDD:

        • Description: Low Cost HDD Volumes designed for frequently data accessing workloads (Streaming)
        • Durability: 99.8-99.9%
      • Cold HDD

        • Lowest cost HDD volume designed for infrequently accessed workloads
        • Durability: 99.8-99.9%
  • Disks Performance is measured in IOPS (number of operations per second)

  • EBS Volume Pricing:

    • In AWS there can be change in price with change in regions
    • Pricing
    • Lets create a pricing estimate from here
  • Partitioning Scheme will have impact on Storage capacity Refer Here

Creating and attaching a Volume to already existing ec2 instance

  • Lets create an ubuntu instance in aws Preview
  • Now lets try to add the volume to existing instance
  • Create a volume. Preview Preview Preview Preview Preview
  • Now lets attach this volume to the ec2 instance created Preview Preview
  • Now lets login into ubuntu & verify if the disk is attached to the instance Preview Preview

EBS Snapshots

  • Backup of EBS volumes are called as EBS Snapshots
  • EBS snapshots are stored internally in Amazon S3
  • Snapshots are incremental backups
  • Lets try to create a backup (EBS Snapshot) for the newly attached disk Preview Preview Preview Preview Preview
  • Snapshot can do the following actions
    • Create a Volume for snapshot in same or different AZ.
    • Copy the Snapshot to a different Region. Preview
  • Non Backup Scenarios:
    1. I have an ebs volume in mumbai region in az (ap-south-1b) and i want to create another ebs volume with same data in different az (ap-south-1a)
      • Create a snapshot of the ebs volume from az (ap-south-1b)
      • From the snapshot create a ebs volume in ap-south-1a az
    2. I have an ebs volume in mumbai region in az (ap-south-1b) and i want to create another ebs with same data in different region oregon (us-west-2)
      • Create a snapshot of ebs volume from az (ap-south-1b)
      • Now copy the snapshot to oregon (us-west-2)
      • From the copied snapshot create an ebs volume
    3. I have an ebs volume in mumbai region in az (ap-south-1b) and my friend wants to create the same ebs volume in his aws account.
    4. I don’t want to take snapshots manually how do i automate?
  • Next Steps:
    • What do i mean by incremental point in time backups.
    • How are ebs snapshots created.

Leave a Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

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