Album69
  • About
  • Life
  • Travel
  • Tech
  • Galleries
  • SAP-C02 Notes
  • DOP-C02 Notes
X GitHub LinkedIn YouTube

Amazon EFS

Domain 2 (29%). EFS is the shared POSIX file system for Linux workloads. Know performance modes, throughput modes, and when to use EFS vs EBS vs FSx.

Domain 2: New Solutions
October 9, 2026

Exam relevance: Domain 2 (29%). EFS is the shared POSIX file system for Linux workloads. Know performance modes, throughput modes, and when to use EFS vs EBS vs FSx.


1. Overview

Amazon Elastic File System (EFS) is a fully managed, scalable NFS file system for Linux workloads. Multiple EC2 instances, ECS tasks, Lambda functions, and EKS pods can mount the same EFS file system simultaneously.


2. Performance Modes

ModeUse CaseLatency
General Purpose (default)Web serving, CMS, home directoriesLow (sub-ms)
Max I/OBig data, media processing, parallel workloadsHigher latency, higher aggregate throughput

Set at creation time — cannot change after creation.


3. Throughput Modes

ModeBehaviorUse Case
Elastic (recommended)Automatically scales throughput up/downVariable, unpredictable workloads
BurstingThroughput scales with storage size; burst creditsWorkloads that burst occasionally
ProvisionedFixed throughput regardless of storage sizeConsistently high throughput needs

Elastic throughput is the recommended default — no capacity planning needed.


4. Storage Classes

ClassUse Case
EFS StandardFrequently accessed files
EFS Standard-IAInfrequently accessed files (lower cost, retrieval fee)
EFS One ZoneSingle AZ, frequently accessed
EFS One Zone-IASingle AZ, infrequently accessed

Use EFS Lifecycle Management to automatically move files to IA after 7, 14, 30, 60, or 90 days of inactivity.


5. Access and Security

  • Mount targets: one per AZ in the VPC — mount via DNS name
  • Security groups: control NFS access (port 2049) to mount targets
  • IAM authorization: control who can mount and what operations they can perform
  • EFS Access Points: application-specific entry points with enforced user identity and root directory
  • Encryption: at rest (KMS) and in transit (TLS) — enable both for compliance

6. Replication

  • EFS Replication: replicate to another region or AZ for DR
  • RPO: minutes; RTO: depends on failover process
  • Replicated file system is read-only until failover

7. EFS vs EBS vs FSx

FeatureEFSEBSFSx
ProtocolNFSBlockSMB, Lustre, NFS, iSCSI
Shared accessYes (multi-instance)No (single instance, except io2 Multi-Attach)Yes (SMB, Lustre)
OSLinux onlyLinux and WindowsWindows (FSx for Windows), Linux (Lustre)
ScalingAutomaticManual (resize)Depends on type
Use caseShared Linux storageSingle-instance block storageWindows shares, HPC

8. Exam Scenarios

Scenario 1: Multiple EC2 instances running a web application need to share uploaded files. What is the storage solution?

Use Amazon EFS. Mount the EFS file system on all EC2 instances. Files written by one instance are immediately visible to all others. Use General Purpose performance mode and Elastic throughput for a web workload.

Scenario 2: A company needs shared storage for a Linux-based HPC cluster with high aggregate throughput. What is the configuration?

Use EFS with Max I/O performance mode and Provisioned or Elastic throughput. Max I/O is optimized for parallel access from many instances. Alternatively, consider FSx for Lustre for HPC workloads requiring even higher performance.


9. Exam Tips

  • EFS = Linux only, NFS, shared multi-instance — not for Windows
  • Elastic throughput is the recommended default — no capacity planning
  • Max I/O = higher throughput but higher latency — for parallel HPC, not web serving
  • EFS Access Points = enforce user identity and root directory per application
  • For Windows shared storage → FSx for Windows File Server
  • For HPC → FSx for Lustre


🎯 Architecture Decision Notes

EFS vs FSx vs S3 — choose by access pattern

NeedFit
Shared POSIX file system, Linux workloads, elastic scaleEFS
Windows file shares (SMB) or high-performance Lustre/OpenZFSFSx (Windows File Server / Lustre / OpenZFS / NetApp ONTAP)
Object access, web assets, data lakeS3, not a file system

EFS performance modes matter at scale: General Purpose for latency-sensitive workloads, Max I/O for highly parallel throughput. Throughput modes (bursting vs provisioned vs elastic) follow the workload’s consistency — do not provision throughput for a workload that bursts.

10. Official References

  • EFS User Guide
  • EFS Performance
  • EFS Storage Classes

      What's in this sap-c02

      • 1. Overview
      • 2. Performance Modes
      • 3. Throughput Modes
      • 4. Storage Classes
      • 5. Access and Security
      • 6. Replication
      • 7. EFS vs EBS vs FSx
      • 8. Exam Scenarios
      • 9. Exam Tips
      • 🎯 Architecture Decision Notes
        • EFS vs FSx vs S3 — choose by access pattern
      • 10. Official References
      © Album69 2026
      X GitHub LinkedIn YouTube