- Volume Network Drive (provides low latency access to data)
- Can only be mounted to 1 instance at a time (except EBS multi-attach)
- Bound to an AZ
- Must provision capacity in advance (size in GB & throughput in IOPS)
- By default, upon instance termination, the root EBS volume is deleted and any other attached EBS volume is not deleted (can be over-ridden using
DeleteOnTermination
Ā attribute)
- To replicate an EBS volume across AZ or region, need to copy its snapshot
- EBS Multi-attach allows the same EBS volume to attach to multiple EC2 instances in the same AZ
- New EBS volumes are raw block storage and do not contain any partition or file system. You need to login to the instance and format the EBS volume with a file system for it to be usable.
<aside>
š” DeleteOnTermination
Ā attribute can be updated for the root EBS volume for a running instance only from the CLI. It can be done from the console only if the instance is stopped.
</aside>
Volume Types
General Purpose SSD
- Good for system boot volumes, virtual desktops
- Storage: 1 GB - 16 TB
- Max IOPS: 16,000
- gp3
- 3,000 lOPS baseline (max 16,000 - independent of size)
- 125 MiB/s throughput (max 1000MiB/s - independent of size)
- gp2
- Burst IOPS up to 3,000
- 3 IOPS per GB
- Max IOPS: 16,000 (at 5,334 GB)
Provisioned IOPS SSD
- Optimized for Transaction-intensive Applications with high frequency of small & random IO operations. They are sensitive to increased I/O latency.
- Maintain high IOPS while keeping I/O latency down by maintaining a low queue length and a high number of IOPS available to the volume.
- Supports EBS Multi-attach (not supported by other types)