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%
- io2
- General Purpose SSD (gp2)
-
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:
-
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
- Now lets try to add the volume to existing instance
- Create a volume.
- Now lets attach this volume to the ec2 instance created
- Now lets login into ubuntu & verify if the disk is attached to the instance
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
- Snapshot can do the following actions
- Create a Volume for snapshot in same or different AZ.
- Copy the Snapshot to a different Region.
- Non Backup Scenarios:
- 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
- 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
- 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.
- I don’t want to take snapshots manually how do i automate?
- 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)
- Next Steps:
- What do i mean by incremental point in time backups.
- How are ebs snapshots created.