AWS · Storage

Amazon EFS

A serverless, elastic NFS file system that many Linux instances, containers and functions can share at once.

On the SAA-C03 exam listServerless

What it is and what problem it solves

Amazon EFS (Elastic File System) is a managed NFS file system for Linux. It grows and shrinks with the files you store, and thousands of EC2 instances, ECS tasks, EKS pods and Lambda functions can mount it at the same time, across Availability Zones.

Storage classes (Standard, Infrequent Access, Archive) with lifecycle management move files you have not read recently to cheaper storage. Regional file systems store data across several zones; One Zone file systems cost less and live in one zone. Throughput modes are Elastic (scales automatically and is billed by use), Provisioned and Bursting.

EBS: blockOne EC2 instanceVolumeone AZEFS / FSx: shared filesEC2EC2EC2File systemNFS / SMB, many AZsS3: objectsAny client, anywhereBucketHTTP API, Region-widePUT / GET
Block storage for one server, shared file systems for many, object storage over an API

When to use it

  • Shared files for a fleet of Linux servers or containers: content management, home directories, shared configuration.
  • Lift-and-shift applications that expect a POSIX file system.
  • Lambda functions or containers that need a shared, persistent file system.

When to avoid it

  • Windows workloads (SMB): FSx for Windows File Server.
  • Very high-performance computing scratch space: FSx for Lustre.
  • Single-instance block storage for a database: EBS.
  • Plain object storage accessed over HTTP: S3 is cheaper.

Scaling model and bottlenecks

Capacity is elastic with no provisioning. Throughput scales with the Elastic mode up to regional limits; per-client throughput is lower than per-file-system throughput, so spread work across many clients.

Performance, latency and throughput

Standard storage gives low single-digit millisecond latency; IA and Archive have higher first-byte latency. Many small files and metadata-heavy operations are slower than on local disks.

Limits and quotas

ItemValueContextSource
Elastic throughput per file system Up to 20–60 GiBps reads and 1–5 GiBps writes Depends on the Region. Source
checked
Per-client throughput with Elastic throughput Up to 1,500 MiBps With amazon-efs-utils 2.0 or later or the EFS CSI driver; otherwise 500 MiBps. Source
checked
Maximum file size 47.9 TiB
Fixed limit
Source
checked
File systems per account per Region 1,000
Can be raised with a quota request
Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

Storage per GB-month by class (Standard, IA, Archive) and by Regional or One Zone; Elastic throughput per GB transferred, or Provisioned throughput per MB/s-month; tiering and reads from IA and Archive per GB; replication and backup.

Where it is cost-efficient

Shared data where most files go cold, with lifecycle management moving them to IA and Archive.

Where costs grow

Hot data read constantly from IA (per-GB read charges), large provisioned throughput, and Regional file systems where One Zone would do.

Cost controls and common surprises

Enable lifecycle management and Intelligent-Tiering-style transitions, use One Zone for re-creatable data, and choose Elastic throughput for spiky workloads.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Encryption at rest with KMS and in transit with TLS; security groups on mount targets; IAM authorisation and access points that enforce a user identity and root directory.

What you configure

Require encryption in transit, restrict mount target security groups, and use access points per application.

Logging and monitoring

CloudWatch metrics, CloudTrail for API calls.

Related security services

KMS, IAM, AWS Backup, VPC.

Shared responsibility

AWS manages the file system. You control network access, permissions and data.

Availability, backup and failure behavior

Regional file systems store data redundantly across Availability Zones, with a mount target in each zone. EFS Replication copies a file system to another Region; AWS Backup protects it.

Common service combinations

EC2 Auto Scaling groups, ECS and EKS (EFS CSI driver), Lambda, AWS Backup, DataSync for migration.

Business application examples

  • A WordPress fleet behind a load balancer sharing uploaded media on EFS.
  • Machine learning training containers reading a shared dataset.

Exam cues and common confusions

  • Shared Linux file system, many instances, multi-AZ: EFS.
  • Windows/SMB: FSx for Windows File Server. HPC: FSx for Lustre.
  • Lower cost for cold files: EFS lifecycle management to IA and Archive.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake