as service o Create, attach volumes through an API o Service accessed over network o Volumes persist independent of EC2 o Detach and attach between instances within the same availability zone AWS Cloud Availability Zone NAT gateway Instance Instance Amazon EC2 Auto Scaling Amazon EC2 Amazon Elastic Block Store
100 to 16,000 IOPS @ 3 IOPS/GB Burst: 3,000 IOPS (< 1000 GB) Throughput: Up to 256 MiB/s Latency: Single-digit ms Capacity: 1 GiB to 16 TiB I/O Size: Up to 256 KiB (logical merge) gp2 General Purpose SSD Great for boot volumes, low-latency applications, and bursty databases
– 64,000 IOPS Throughput: Up to 1000 MiB/s Latency: Single-digit ms Capacity: 4GiB – 16 TiB I/O Size: Up to 256 KiB (logical merge) io1 Provisioned IOPS Ideal for critical applications and databases with sustained IOPS
MiB/s per TiB, up to 500 MiB/s Burst: 250 MiB/s per TiB, up to 500 MiB/s Capacity: 500 GiB to 16 TiB I/O Size: Up to 1 MiB (logical merge) st1 Throughput Optimized HDD Ideal for large-block, high-throughput sequential workloads
MiB/s per TiB, up to 192 MiB/s Burst: 80 MiB/s per TiB, up to 250 MiB/s Capacity: 500 GiB to 16 TiB I/O Size: Up to 1 MiB (logical merge) sc1 Cold HDD Ideal for sequential throughput workloads, such as logging and backup
AWS logically merge sequential I/O, to minimize I/O charges on io1, and maximize burst on gp2, sc1, and st1 io1 and gp2 : up to 256 KiB st1 and sc1: up to 1 MiB
monitor the I/O characteristics with each volume's CloudWatch volume metrics. Important metrics to consider include the following: • BurstBalance • VolumeReadBytes • VolumeWriteBytes • VolumeReadOps • VolumeWriteOps • VolumeQueueLength BurstBalance: displays the burst bucket balance for gp2, st1, and sc1 volumes as a percentage of the remaining balance To determine your volume's average I/O size, divide VolumeWriteBytes by VolumeWriteOps. The same calculation applies to read operations. If your I/O latency is higher than you require, check VolumeQueueLength to make sure your application is not trying to drive more IOPS than you have provisioned.
$0.125 per GiB $0.065 per PIOPS st1 $0.045 per GiB sc1 $0.025 per GiB Snapshot storage for all volume types is $0.05 per GiB per month * All prices are per month, prorated to the second, and from the us-west-2 Region as of Nov 2019