AWS Elastic Block Storage (EBS)
Disk Performance Factors
- IOPS (I/O operations Per Second):
- number of read or write operations per second
- Throughput
- total size of data transferred in a second
- Higher the IOPS costlier the disk.
Disks in EC2
-
AWS has two types of volumes
- Elastic Block Storage:
- They are created from different physical server in aws data center
- this disk can exist even after ec2 is deleted
- this disk will remain persistent
- this disk is used for os disks
- this can be used for os as well as secondary disks
- Instance Storage volume
- They are create from same physical server as ec2
- this disk cannot exist even after ec2 is deleted
- this disk will be viped clean (data is erased) every time you stop the instance (ephermeral)
- this disk cannot be used for os disks and is not supported for all ec2 instance types. this is always secondary disk
- Elastic Block Storage:
-
EBS Volume Types:
- Magnetic
- HDD
- Cold HDD
- Throughput optimized HDD
- SSD
- General Purpose
- gp2
- gp3
- Provisioned IOPS
- io1
- io2
- General Purpose
