Amazon Elastic File System (EFS)
Provides POSIX-compliant shared persistent storage concurrently mountable by hundreds of Linux EC2 instances, ECS container tasks, and AWS Lambda functions across Availability Zones.
AWS Container Placement
SUBNET
Summary
Serverless, fully elastic network file system (NFSv4) that scales on demand without provisioning storage and supports concurrent multi-AZ access.
When to Use (SAA-C03)
Use whenever multiple EC2/ECS instances across different AZs need simultaneous read/write access to shared files.
Allowed Ingress Connections & Ports
| Source Service | Protocol | Port | Architectural Rationale |
|---|---|---|---|
| EC2 | NFS / TCP | 2049 | Linux EC2 instance mount targets |
| ECS | NFS / TCP | 2049 | Amazon ECS container volume mounts |
| LAMBDA | NFS / TCP | 2049 | Serverless Lambda function persistent directory access |
Allowed Egress Targets & Ports
| Target Service | Protocol | Port | Data Flow Rationale |
|---|---|---|---|
| BACKUP | HTTPS | 443 | Automated daily backup vault synchronization |
| KMS | HTTPS | 443 | Cryptographic key decryption for data at rest |
Key Configuration Parameters & AWS Best Practices
| Parameter | Format / Example | Purpose & Rationale |
|---|---|---|
| Performance Mode (performanceMode) (Required) | generalPurpose | Optimizes file operations for latency (generalPurpose) or parallel throughput (maxIO). Why: General Purpose is recommended for 95% of workloads (web serving, CMS); maxIO is for massive scale big data. |
| Throughput Mode (throughputMode) (Required) | elastic | Controls how throughput scales relative to stored storage volume. Why: Elastic mode automatically scales throughput dynamically with workload spikes without pre-allocation. |
| Lifecycle Policy (transitionToIA) | AFTER_30_DAYS | Automatically moves unaccessed files to the Infrequent Access (IA) storage tier. Why: Reduces file system storage costs by up to 92% for aging documents and logs. |
| Storage Encryption (encrypted) | true | Enables hardware AES-256 encryption at rest using AWS KMS. Why: Required for HIPAA, SOC 2, and corporate data security compliance standards. |
Frequently Asked Questions
Where does Amazon Elastic File System live inside an AWS VPC architecture?
Valid container placement: SUBNET. Provides POSIX-compliant shared persistent storage concurrently mountable by hundreds of Linux EC2 instances, ECS container tasks, and AWS Lambda functions across Availability Zones.
When should I use Amazon Elastic File System on the AWS SAA-C03 exam?
Use whenever multiple EC2/ECS instances across different AZs need simultaneous read/write access to shared files.
Can I simulate Amazon Elastic File System packet routing without an AWS account?
Yes. CloudTracer simulates Amazon Elastic File System along with 53 AWS services directly in your browser and exports production Terraform HCL.