Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

๐Ÿ  Back to Blog

Elastic File System (EFS)

  • Scalable, elastic, Cloud-Native NFS File System
  • Attach a single file system to multiple EC2 Instances
  • Donโ€™t worry about running out or managing disk space

Introduction to Elastic File System (EFS)

  • EFS is a file storage service for EC2 instances
  • Storage capacity grows (upto petabytes) and shrinks automatically based on data stored (elastic)
  • Multiple EC2 instances in same VPC can mount a single EFS Volume (Volume must be in same VPC)
  • EC2 instances install the NFSv4.1 client and can then mount the EFS volume
  • EFS is using Network File System version 4 (NFSv4) protocol
  • EFS creates multiple mount targets in all your VPC subnets
  • Pay only for the storage you use, starting at $0.30 GB / month
  • You create a security group to control access to EFS
  • Encryption at rest using KMS
  • 1000s of concurrent NFS clients, 10 GB+ /s throughput
  • Grow to petabyte scale storage

EFS Performance Settings

  • Performance Mode
    • General Purpose (Default) - latency sensitive use cases
    • Max IO - higher latency, throughput, highly parallel
  • Throughput Mode:
    • Bursting - 1 TB storage = 50 MB/s + burst up to 100 MB/s
    • Enhanced - Provides more flexibility and higher throughput levels for workloads with a range of performance requirements
      • Provisioned - set your throughput regardless of storage size
      • Elastic - scale throughput up and down based on workload. Useful for unpredictable workloads

EFS Storage Tiers

  • Standard
  • Infrequent (EFS-IA)
  • Archive
  • Implement lifecycle policies to move files between tiers