Elastic Block Volumes
- EBS volumes behave like raw unformatted block volumes
- IOPS is (Inputs/Outputs per second)
- 1 IOPS => 256 KiB/Second
- EBS volumes can be attached to ec2 instances as storage volumes that persist independently from the life of ec2 instance
- Features:
- AWS EBS Volume Types:
- General Purpose SSD:
- a balance of price and performance
- Size Range => 1 GiB – 16 TiB
- Two types
- gp3: Max Throughput: 1000 MiB/S
- gp2: Max Throughput: 250 MiB/S
- Max IOPS: 16000
- Provisioned IOPS SSD:
- used for mission critical low latency & high throughput workloads
- Size Range of 4 GiB – 64 TiB
- Three types
- io2 Block Express: Max IOPS 256000, Max Throughput: 4000 MiB/S
- io2: Max IOPS 256000, Max Throughput: 4000 MiB/S
- io1: Max IOPS: 64000, Max Throughput: 1000 MiB/S
- Throughput Optimized HDD
- Volume size: 125 GiB – 16 TiB
- Max IOPS per volume: 500
- Max Throughput per volume: 500 MiB/S
- Cold HDD
- Volume size: 125 GiB – 16 TiB
- Max IOPS per volume: 250
- Max Throughput per volume: 250 MiB/S
- General Purpose SSD:
- AWS EBS Volume Types:
- Create a linux ec2 instance and verify the volume section
- Now lets add volumes of type Cold HDD of size 125 GiB and attach to the ec2 instance
- Now lets login into ec2 instance and view the disks
- Now lets create a file system in cold hdd
- Now mount the disk to the linux folder /projects
- If you want to persist this mount across restarts add entry in fstab
- Create a windows ec2 instance and add a provisioned iops
- Now lets create a provisioned iops
- Attach the volume to windows instance.
- Now connect to windows instance and verify disks
- After bringing the volume up and formatting the drive will be shown as below
