Conceptly
← All Concepts
💾

Amazon EBS

StorageBlock Storage

EBS is the persistent block disk that attaches to an EC2 instance. It keeps data separate from the server lifecycle so it can serve as the operating system disk or the data disk even when the instance is restarted or replaced.

Architecture Diagram

🔍 Structure

Dashed line animations indicate the flow direction of data or requests

Why do you need it?

If a server can be replaced or restarted at any time, disks tied to that instance lifecycle take the data with them. Even when the application survives, storage that is not separated from the compute node makes recovery and scaling feel fragile.

Why did this approach emerge?

Early cloud VMs had storage tightly coupled to instances, making data loss likely when servers disappeared. This is why a persistent block storage layer decoupled from compute, EBS, became necessary.

How does it work inside?

EBS provides persistent block storage volumes attached to EC2, with selectable types based on performance characteristics. Each volume is automatically replicated within the same Availability Zone to survive component failures, snapshots provide backups, and volumes can be reattached to other instances when needed.

What is it often confused with?

EBS and EFS are both storage but differ in access patterns. EBS is a disk attached to a single instance, while EFS is a network filesystem mounted simultaneously by multiple instances. If you need a boot disk or a persistent volume for one server, look at EBS; if multiple compute resources must share the same files, look at EFS.

When should you use it?

Well-suited when you need a persistent disk attached directly to a single compute instance, such as a boot volume, a database disk, or low-latency block I/O for one server. Not a good fit when multiple servers need to share the same files at once.

Database storageBoot volumesHigh-performance workloadsSnapshot backups