AWS · Storage

Amazon EBS

Block storage volumes for EC2: durable, network-attached disks with SSD and HDD types, snapshots and encryption.

On the SAA-C03 exam listDisaster recoveryEncryption and key management

What it is and what problem it solves

Amazon EBS (Elastic Block Store) provides volumes that attach to EC2 instances like disks. A volume lives in one Availability Zone and persists independently of the instance. Snapshots are incremental, point-in-time backups stored in S3-backed storage; they can create new volumes in any zone and be copied across Regions.

Volume types:

  • gp3 / gp2: general purpose SSD, the default for most workloads; gp3 lets you set IOPS and throughput independently of size.
  • io2 Block Express / io1: provisioned IOPS SSD for latency-sensitive databases.
  • st1: throughput optimised HDD for big sequential reads (logs, data processing).
  • sc1: cold HDD, the cheapest, for infrequently accessed data.
Region eu-west-1AZ aEC2 instanceEBS volumelives in this AZ onlySnapshotincremental, stored by AWSsnapshotAZ bNew volumerestoreSnapshot copyother Region (DR)copy
EBS volumes live in one AZ; snapshots move data to other AZs and Regions

When to use it

  • Boot volumes and application data for EC2 instances.
  • Self-managed databases that need consistent, low-latency block storage.
  • Workloads that need data to survive instance stop, termination or replacement.

When to avoid it

  • Shared storage for many instances at once: EFS or FSx (EBS Multi-Attach exists only for io1/io2 and needs a cluster-aware file system).
  • Very large, cheap, durable storage of files and objects: S3.
  • Scratch space that can be lost: instance store is faster and included in the instance price.

Scaling model and bottlenecks

Increase size, IOPS and throughput or change type with Elastic Volumes, without detaching. For more performance than one volume gives, stripe several volumes (RAID 0) or choose an instance with higher EBS bandwidth; the instance's EBS limit can be the bottleneck.

Performance, latency and throughput

SSD types suit random I/O measured in IOPS; HDD types suit large sequential throughput. New volumes created from snapshots load data lazily on first read unless Fast Snapshot Restore is enabled.

Limits and quotas

ItemValueContextSource
gp3 baseline 3,000 IOPS and 125 MiB/s Included in the storage price. Source
checked
gp3 maximum per volume 80,000 IOPS and 2,000 MiB/s Size from 1 GiB to 64 TiB. Source
checked
io2 Block Express maximum per volume 256,000 IOPS and 4,000 MiB/s Size from 4 GiB to 64 TiB. Source
checked
gp2 maximum per volume 16,000 IOPS and 250 MiB/s Baseline of 3 IOPS per GiB; size up to 16 TiB. Source
checked
st1 maximum throughput 500 MiB/s HDD; 125 GiB to 16 TiB. Source
checked
sc1 maximum throughput 250 MiB/s HDD; 125 GiB to 16 TiB. Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

  • Provisioned storage per GB-month by volume type, whether used or not.
  • Provisioned performance: IOPS for io1 and io2, and IOPS and throughput above the gp3 baseline.
  • Snapshots per GB-month (incremental), Snapshots Archive storage and retrieval, and Fast Snapshot Restore per hour.

Where it is cost-efficient

gp3 sized to the data with only the IOPS and throughput needed; st1 or sc1 for large sequential data.

Where costs grow

  • Unattached volumes and forgotten snapshots.
  • Over-provisioned io2 IOPS and oversized volumes.
  • gp2 volumes enlarged only to get more IOPS (gp3 decouples performance from size).

Cost controls and common surprises

Migrate gp2 to gp3, delete unattached volumes, manage snapshots with lifecycle policies (Data Lifecycle Manager or AWS Backup), and archive rarely needed snapshots.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Encryption at rest with KMS (data, snapshots and data in transit to the instance), encryption-by-default setting per Region, and IAM control of snapshot sharing.

What you configure

Turn on encryption by default, never share snapshots publicly by mistake, and limit who can create and copy snapshots.

Logging and monitoring

CloudTrail for API calls; CloudWatch metrics for volume performance.

Related security services

KMS, AWS Backup, Data Lifecycle Manager, EC2.

Shared responsibility

AWS keeps volumes durable within a zone. You manage encryption, snapshots and access.

Availability, backup and failure behavior

A volume is replicated within its Availability Zone but cannot be used from another zone. Snapshots are the way to move or recover data across zones and Regions; copy them to another Region for disaster recovery.

Common service combinations

EC2 instances, AWS Backup and Data Lifecycle Manager, KMS, snapshots copied cross-Region.

Business application examples

  • A self-managed PostgreSQL on io2 Block Express for consistent latency.
  • A log-processing fleet using st1 for cheap sequential throughput.

Exam cues and common confusions

  • Most workloads: gp3. Highest IOPS, critical databases: io2 Block Express.
  • Sequential, big data, cheap: st1. Coldest, cheapest: sc1. HDD types cannot be boot volumes.
  • Move a volume to another zone or Region: snapshot and restore/copy.
  • Temporary, highest performance, lost on stop: instance store.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake