DEV Community
Follow
EFS Amazon
EFS, or Elastic File System, is a managed network file system offered by AWS. It enables multiple EC2 instances to share the same data across availability zones, behaving like a shared folder. EFS is fully managed, handling setup, scaling, and maintenance automatically. It offers scalability, growing and shrinking with file storage changes, and high availability through spanning multiple AZs. However, EFS is relatively expensive compared to other storage options like EBS. EFS supports Linux only, utilizing the NFSv4.1 protocol. It offers different performance and throughput modes, including General Purpose and Max I/O, with various throughput options like Bursting, Provisioned, and Elastic. Storage classes include Standard for frequent access, Infrequent Access (IA) for less frequent use, and Archive for long-term storage, all managed by lifecycle policies. EFS is available in Regional (Multi-AZ) and One Zone (Single-AZ) configurations, catering to various availability and cost requirements. Common use cases include shared WordPress uploads, CMS content repositories, and shared configuration files. Remember that EFS uses NFS (not SMB), cannot be SSH'd into, and relies on security group settings for access.