Elastic Block Storage and types in AWS
–EBS Stands for Elastic Block Storage Volume.
–It provides persistent block storage volumes for use with Amazon EC2 instances in the AWS cloud.
–Each Amazon EBS volume is automatically replicated within its Availability zone to protect you from component failure.
–It offering high availability and durability.
–Primary Storage for data that require frequent updates or storage for a database application.
–Provide Block Storage Volumes for EC2 instance to store stuff E.g Database, web server data etc.
Major Used for following services:
Data change frequently
Require Long-term persistence
Frequently read or write operations
–Can back up the data on the EBS volumes to Amazon S3 by taking point in time snapshot.
–Snapshots are incremental backup
–Snapshots of encrypted volumes are automatically encrypted.
–Volumes that are created from encrypted snapshots are also automatically encrypted.
–Cost of Snapshot means snapshot use the S3 volume for backup then S3 volume usage cost will be applied.
–EBS Volume can be attached to Same Region in which instance is present. Means instance & EBS volume in same region for attach/use.
EBS Volume has multiple copies like replication only on one zone availability if complete zone failure then it will lost. It does not replica on other zone. It high availability in same one zone.
Volume cannot moved from one zone to other in EBS. If EBS volume is failed then it is available in same zone but not in other zone if complete zone failed.
EBS volumes that are attached to EC2 instance are exposed as storage volumes that persist independently from the life of the instance. If EC2 instance terminate then EBS volume is available.
It is independent from EC2 instance. You can use encryption with EBS volume.
–It’s used for development purpose but you can start with General Purpose in future you need you move it to Provisioned IOPS.
–It’s designed for balance price and performance for a wide variety of workloads.
–Has IOPS of 16000 IOPS/volume.
–API Name is gp2.
–Used for Production environment like large database Oracle, MangoDB etc.
–Highest performance SSD volume designed for more critical application having high transaction rate.
–Has IOPS of 64000 IOPS/Volume.
–API name is io1.
Throughput Optimized Hard disk drive
–Low cost HDD volume designed for frequently accessed.
–It’s used for Data warehouses databases.
–Has IOPS of 500 IOPs/volume.
–API name is st1.
Cold Hard disk drive
–Lowest cost HDD volume.
–It is used for less frequently accessed workloads like File Servers
–Has IOPS is 250 IOPS/Volume.
–API name is sc1.
–Low cost devices used for cold storage data, it is used to storing the data which is less accessed like log files, archiving purpose.
–Has IOPS is 40-200 IOPS/Volume.
–API name is Standard.