Comparison lab
Amazon S3 vs Amazon EBS vs Amazon EFS vs Amazon FSx
S3 objects, EBS blocks, EFS shared NFS, FSx specialized file systems.
Picture the difference
Store by key → S3 | Attach a disk → EBS | Mount shared NFS → EFS | Pick a managed file system → FSx
| Option | What it does | Exam clue | When not to use it |
|---|---|---|---|
| Amazon S3 | Managed object storage that stores objects by key in buckets and exposes them through APIs. | object storage, buckets, keys, versioning, lifecycle | Do not use the object API as a drop-in replacement for a VM boot disk or a shared POSIX filesystem. |
| Amazon Elastic Block Store (Amazon EBS) | Persistent block storage volumes for Amazon EC2. | block storage, volume, boot disk, Availability Zone, snapshots | Use shared file storage for many clients that need a common filesystem; object storage is not a replacement for a boot disk. |
| Amazon Elastic File System (Amazon EFS) | Elastic shared NFS file storage for Linux workloads and supported AWS compute services. | NFS, Linux, POSIX, mount targets, shared file system | Choose an SMB or specialized high-performance filesystem when those features are mandatory, or a block volume for an instance boot device. |
| Amazon FSx | Managed file system family for specific file system technologies such as Windows File Server, Lustre, NetApp ONTAP, and OpenZFS. | SMB, Windows File Server, Lustre, ONTAP, OpenZFS | Do not pick a variant blindly; a straightforward elastic shared NFS requirement may fit EFS, and an object API is a different interface. |
Decision tree
- Address objects by bucket and key through an API Amazon S3
- Attach a persistent block volume to an EC2 instance in the same AZ Amazon Elastic Block Store (Amazon EBS)
- Share an elastic NFS file system across Linux clients Amazon Elastic File System (Amazon EFS)
- Need a specific managed file system such as Windows File Server or Lustre Amazon FSx
If none of these clues fit, check the exact requirement before choosing.