01 / 08

What is Amazon Elastic File System (EFS)?

Amazon EFS (Elastic File System) is a fully managed, serverless, elastic NFS (Network File System) shared file storage service that automatically scales from gigabytes to petabytes as you add or remove files. Unlike EBS which attaches to a single instance, EFS can be simultaneously mounted by thousands of EC2 instances across multiple Availability Zones.

Amazon EFS is designed to provide shared file storage for Linux-based workloads in AWS. It implements the NFSv4 protocol, which means any EC2 instance (or on-premises server via Direct Connect or VPN) can mount the file system and access the same files concurrently. EFS is truly elastic — it grows and shrinks automatically as files are added and removed, and you only pay for the storage you actually use. There is no need to pre-provision a size like you do with EBS.

Key Characteristics of Amazon EFS
  1. 1

    Shared access — thousands of EC2 instances across multiple AZs can mount and access the same EFS file system simultaneously

  2. 2

    Fully managed — AWS handles provisioning, patching, replication, and scaling automatically

  3. 3

    Elastic and serverless — capacity scales automatically up and down with no pre-provisioning required

  4. 4

    Pay-per-use — billed only for the storage actually used, no minimum commitment

  5. 5

    POSIX-compliant — supports standard Linux file system semantics, permissions, and ownership

  6. 6

    High availability — data is stored redundantly across multiple Availability Zones in a region

  7. 7

    High durability — 99.999999999% (11 nines) durability

  8. 8

    Supports NFSv4.0 and NFSv4.1 protocols

  9. 9

    Linux only — EFS does NOT support Windows EC2 instances (use Amazon FSx for Windows File Server instead)

Common Use Cases for Amazon EFS
  1. 1

    Content management systems — shared web content served by multiple web server instances behind a load balancer

  2. 2

    Media processing workflows — multiple instances reading and writing to the same media files

  3. 3

    Home directories — centralized user home directories accessible from any instance

  4. 4

    Data science and analytics — shared training datasets accessed by multiple compute nodes simultaneously

  5. 5

    Container storage — persistent shared storage for containerized applications in ECS or EKS

  6. 6

    DevOps and CI/CD — shared build artifacts and source code accessible across build agents

  7. 7

    Lift-and-shift applications — migrating on-premises NFS workloads to AWS without refactoring