Amazon EBS (Amazon Elastic Block Store) is the AWS service that provides persistent block-level storage volumes for Amazon EC2 instances, presenting each volume to the operating system as a raw disk that can be formatted with a file system or used directly by a database. Within cloud storage, it occupies the block storage category, which sets it apart from object services such as S3 and from shared file services such as Amazon EFS.
An EBS volume lives in a single Availability Zone, is replicated within that zone to protect against hardware failure, and survives instance stops and restarts independently of the server it is attached to. Engineers choose a volume type that balances latency, throughput, IOPS and price, which makes Elastic Block Store the default storage foundation for boot disks, relational databases and transactional workloads in the Cloud.
How Amazon EBS delivers block storage
Amazon EBS delivers block storage by exposing network-attached volumes that the EC2 hypervisor presents to the guest as local devices. On modern Nitro-based instances, volumes appear as NVMe block devices, and the Nitro card handles the network traffic between the instance and the storage fleet, so the guest operating system sees an ordinary disk.
Each volume is divided into blocks that the instance reads and writes individually. Because the storage is decoupled from the compute host, a volume can be detached from one instance and attached to another in the same Availability Zone, and its data persists after the instance is stopped. By default, the root volume is deleted when an instance is terminated, while additional data volumes are retained unless the DeleteOnTermination flag is set.
Durability comes from automatic replication inside the Availability Zone. AWS states an annual failure rate of roughly 0.1 to 0.2 percent for most volume types and a substantially lower rate for io2 Block Express, which is far more reliable than a single physical disk but is not a substitute for backups. The following table lists the main building blocks of the service.
| Component | Role | Key property |
|---|---|---|
| Volume | Block device attached to an EC2 instance | Scoped to one Availability Zone |
| Snapshot | Point-in-time backup of a volume | Incremental, stored regionally |
| Fast snapshot restore | Pre-initializes volumes created from snapshots | Removes first-read latency penalty |
| Multi-Attach | Shares one io1 or io2 volume among instances | Requires a cluster-aware file system |
| Encryption | Protects data at rest and in transit to the host | Uses AWS KMS keys |
EBS volume types and performance parameters
EBS volume types fall into two families: SSD-backed volumes optimized for small random I/O measured in IOPS, and HDD-backed volumes optimized for large sequential I/O measured in throughput. Choosing the wrong family is the most frequent cause of disappointing storage performance.
The general-purpose gp3 type lets engineers provision IOPS and throughput independently of capacity, starting from a baseline of 3,000 IOPS and 125 MiB/s. The older gp2 type ties performance to size and relies on a burst credit bucket, which can be exhausted under sustained load. The values below are typical published limits and may change as AWS revises the service.
| Volume type | Media | Typical maximum performance | Best suited for |
|---|---|---|---|
| gp3 | SSD | Up to 16,000 IOPS, 1,000 MiB/s | Boot disks, most applications |
| gp2 | SSD | Up to 16,000 IOPS with burst model | Legacy general workloads |
| io2 Block Express | SSD | Up to 256,000 IOPS, sub-millisecond latency | Critical databases |
| st1 | HDD | Up to 500 MiB/s throughput | Log processing, data warehouses |
| sc1 | HDD | Up to 250 MiB/s throughput | Infrequently accessed bulk data |
Volume performance is only half of the equation. Every EC2 instance type also has an EBS bandwidth limit, so a powerful volume attached to a small instance will be throttled by the instance rather than by the storage. Effective sizing therefore checks both the volume limit and the instance limit.
Amazon EBS compared with other cloud storage options
Amazon EBS differs from neighboring services mainly in its access model: it provides a block device to one instance at a time, whereas object and file services expose data through APIs or network file protocols to many clients. The comparison below clarifies when each option fits.
| Service | Storage model | Access scope | Typical use |
|---|---|---|---|
| Amazon EBS | Block | One instance per volume, one zone | Databases, boot volumes |
| Amazon EFS | File (NFS) | Thousands of clients across zones | Shared content, home directories |
| Amazon S3 | Object | HTTP API from anywhere | Backups, media, data lakes |
| Instance store | Local block | Only the host instance | Caches and scratch data |
The instance store offers higher raw performance because the disks sit inside the host, but its data is lost when the instance stops or the hardware fails. EBS trades a little latency for persistence and mobility, which is why most stateful workloads use it.
Snapshots, backup and data protection
EBS snapshots protect volume data by copying it to regionally redundant storage managed by AWS, outside the single Availability Zone where the volume lives. The first snapshot copies all written blocks, and each subsequent snapshot stores only the blocks changed since the previous one, which keeps storage costs proportional to the rate of change.
Snapshots are crash-consistent by default, meaning they capture the disk as if power had been cut. For databases, administrators should flush or freeze writes or use application-aware tooling to obtain an application-consistent copy. Snapshots can be copied across Regions and accounts, archived to a cheaper tier, and automated with Amazon Data Lifecycle Manager or AWS Backup.
- Encryption by default can be enabled per Region so every new volume and snapshot is encrypted.
- Elastic Volumes allow increasing size, changing type or adjusting IOPS without detaching the volume.
- Recycle Bin rules retain deleted snapshots for a defined period to guard against accidental removal.
Limitations and common mistakes with EBS
The central limitation of Amazon EBS is its Availability Zone scope: a volume cannot be attached to an instance in another zone, so surviving a zone outage requires snapshots, replication at the application layer or a multi-zone database design. Volume size can only grow, never shrink, through Elastic Volumes.
Volumes restored from snapshots load their blocks lazily from S3, so the first read of each block is slow until the volume is initialized. The table below summarizes frequent operational problems and their remedies.
| Symptom | Likely cause | Fix |
|---|---|---|
| Sudden drop in IOPS on gp2 | Burst credits exhausted | Migrate to gp3 with provisioned IOPS |
| Slow database after restore | Lazy loading from snapshot | Enable fast snapshot restore or pre-read blocks |
| Throughput capped below volume limit | Instance EBS bandwidth reached | Choose a larger or EBS-optimized instance |
| Unexpected monthly charges | Unattached volumes and old snapshots | Audit with tags and lifecycle policies |
Cost surprises often come from orphaned volumes that remain after instances are terminated, and from overprovisioned io2 IOPS that are billed whether or not they are used. Regular tagging and rightsizing reviews prevent paying for idle capacity.
In simple terms
Amazon EBS is like a hard drive you rent in the cloud and plug into a virtual computer. The computer can be switched off, and the drive keeps everything stored on it. You can even unplug the drive and connect it to a different virtual computer in the same data center area.
You pick the kind of drive you need: a fast one for busy databases or a cheaper, slower one for large files that are read in long runs. To stay safe, you take regular snapshots, which are like photographs of the drive that you can use to rebuild it if something goes wrong.
A practical example
An online retailer runs its PostgreSQL order database on an EC2 instance. The team originally used a 500 GiB gp2 volume, which delivered 1,500 baseline IOPS and burst higher during quiet periods. During a seasonal sale, the burst credits ran out after about forty minutes, and checkout latency rose sharply.
The engineers used Elastic Volumes to convert the disk to gp3 without downtime, provisioning 6,000 IOPS and 250 MiB/s while keeping the same capacity. They also confirmed that the instance type supported enough EBS bandwidth and configured Data Lifecycle Manager to take hourly incremental snapshots copied to a second Region.
During the next sale, latency stayed flat throughout peak traffic, and the monthly storage bill was lower than with the larger gp2 volume they had considered buying for extra baseline performance.