ExitAmazon EBS and Amazon EFS: block storage versus shared files1 / 9
Explanation

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 propertyAmazon EBSAmazon EFS
Service interfaceBlock deviceNFS filesystem
Filesystem managementClient operating systemManaged by EFS
Client preparationAttach volume; mount filesystemMount network filesystem
Application accessFiles on mounted volumeFiles on shared mount

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.