The same file path can hide different storage
How EBS block-device access differs from EFS shared-filesystem access when making datasets available to compute workloads. · associate
A dataset reader might open /data/train.csv with ordinary file operations on either service. The important difference is what the operating system accesses underneath that path: an EBS block device or an EFS shared file system.
Amazon EBS supplies a volume that an EC2 instance sees as a disk-like block device. For files stored on that volume, the instance's operating system manages the filesystem that turns blocks into directories and files.
Amazon EFS supplies a managed filesystem that clients mount over the network using NFS. Clients access files and directories in that shared filesystem; they do not receive a disk to partition or format.
| Access property | Amazon EBS | Amazon EFS |
|---|---|---|
| Service interface | Block device | NFS filesystem |
| Filesystem management | Client operating system | Managed by EFS |
| Client preparation | Attach volume; mount filesystem | Mount network filesystem |
| Application access | Files on mounted volume | Files on shared mount |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.