How it works
Amazon EBS provides network-attached block storage for EC2 instances. A volume resides in one Availability Zone and can retain data across instance reboots or stops. Many volume types can be enlarged while in use, and snapshots provide backups. Whether a volume is deleted on termination depends on its DeleteOnTermination setting.
When to use it
Persistent disks for one instance (boot volumes, databases) inside one Availability Zone.
Real-world example
A news site stores its database on EBS. When more space is needed, an administrator increases the size of a supported volume, then extends the partition and file system as required by the operating system.
Key facts
- Locked to one AZ; move it with a snapshot.
- Provisioned capacity is billed in full and can grow over time.
- Root volume is deleted on termination by default; other volumes are kept.
Common pitfall
An EBS volume cannot be attached directly to an EC2 instance in another Availability Zone. To move its data to another AZ, create a snapshot and create a new volume from it in the destination AZ.
Often confused with
EC2 Instance Store, which is a local disk that loses data on stop.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- network drive
- persist after termination
- IOPS
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.