A virtual hard drive in the cloud
Highly available and durable solution for attaching persistent block storage to an Elastic Cloud Computing — EC2 instance.
-
IOPS — Input/Output Per Second
It is the speed at which non-contiguous reads and writes can be performed on a storage medium
-
Throughput
The data transfer rate to and from the storage medium in megabytes per second
-
Bandwidth
the measurement of the total possible speed of data movement along the network
<aside>
💡 EBS Volumes can be modified on the fly, such as changing the storage type or volume size.
</aside>
Types
- General Purpose SSD — gp2
- General usage without specific requirements
- Provisioned IOPS SSD — io1
- Throughput Optimized HDD — st1
- Low cost frequently accessed
- Datawarehouse's, when you have a lot of data
- Cold HDD — sc1
- Lowest costing HDD
- Backup
- EBS Magnetic — standard
Storage Volumes
- HDD
- Good for large files
- Bad for large amount of small files
- Better for throughput
- SSD
- Very good for frequently read and writes
- Quicker access
- High I/O
- Magnetic Tape
- Highly Durable, lasts for decades
- Cheap to produce
Moving Volumes
- AZ
- Create a Snapshot
- Create an AMI
- Launch new EC2 instance
- Region
- Take a Snapshot
- Create an AMI
- Copt the AMI to another Region
- Launch EC2 instance
Encrypted Root Volume