📖 What is Amazon EFS?
Amazon Elastic File System delivers a fully managed, scalable, and elastic NFS file system for use with AWS compute services and on-premises resources. It provides concurrent access to files from thousands of EC2 instances, simplifying application migration and eliminating the need for file server management.
"EFS is designed for shared file access. Unlike EBS, which is tied to a single EC2 instance, EFS can be mounted by multiple instances simultaneously. Pay attention to throughput modes (Bursting vs. Provisioned) and performance considerations when selecting EFS for your applications."
📚 Certification: AWS Certified Solutions Architect - Associate (SAA-C03)
🔑 What are the Key Concepts of Amazon EFS?
- ▸ EFS utilizes NFS protocol (versions 4.0 and 4.1) for file access, making it compatible with many operating systems and applications.
- ▸ EFS offers two performance modes: Bursting Throughput (cost-effective for intermittent workloads) and Provisioned Throughput (consistent performance).
- ▸ EFS supports lifecycle management policies to automatically move infrequently accessed files to lower-cost storage tiers (Infrequent Access).
- ▸ EFS can be mounted on multiple EC2 instances concurrently, enabling shared storage for applications like content management systems or web servers.
- ▸ EFS integrates with AWS IAM for access control, allowing granular permissions to be set for users and groups accessing the file system.
🎯 How does Amazon EFS appear on the SAA-C03 Exam?
You may be asked to identify the best storage solution for a web application requiring shared access to media files by multiple EC2 instances behind a load balancer.
A scenario might describe a content management system needing a scalable file storage solution with automatic lifecycle management to reduce costs – determine if EFS is appropriate.
Expect questions about choosing between EFS and EBS based on application requirements, specifically focusing on the need for shared file access versus single-instance storage.
❓ Frequently Asked Questions
When would I choose Provisioned Throughput over Bursting Throughput?
Provisioned Throughput is ideal for applications needing consistent, predictable performance, even during peak loads. Bursting Throughput is better for workloads with infrequent spikes.
Can I access an EFS file system from outside of AWS?
Yes, you can access EFS from on-premises resources using AWS Direct Connect or VPN connections, but you'll need to ensure proper network configuration and security settings.
How does EFS encryption work, and what are my options?
EFS supports encryption at rest and in transit. You can use AWS Key Management Service (KMS) to manage encryption keys, or let EFS manage them for you with the default service key.