Elastic Block Store

Learn about a key storage service in AWS, the Elastic Block Store.

The Elastic Block Store

The Elastic Block Store (EBS) is a block storage network device that we can attach to our EC2 instances. EBS volumes can be thought of as a network hard disk that can be attached to and detached from EC2 instances at any time. EBS volumes are limited to an AZ (i.e., a volume in an AZ can only be attached to instances in the same AZ).

Network storage means that these storage devices aren’t physically attached to the hardware of the EC2 instance but are accessed via a network.

EBS volume types

EBS volumes can be classified in two main categories: solid state drive (SSD) and hard disk drive (HDD), each of which can be further subdivided into additional types.

Press + to interact
EBS volume types
EBS volume types

SSD volume types are meant for workloads where there’s a requirement of high input/output operations per second (IOPS). High IOPS implies that the storage device can handle a large number of read-and-write operations per second. Note that only SSD volume types can be chosen as the root volume for EC2 instances.

General-purpose SSD

These volumes offer cost-effective storage that’s ideal for a broad range of workloads.

Gp2

These volumes have an IOPS-to-gigabyte ratio of 3:1. This means that for every gigabyte of storage, we get an IOPS capacity ...