Skip to content

Efs

Basics

  • Elastic File System is a network file system that can be used with Linux based EC2 instances
  • EFS is an AWS implementation of NFSv4. It uses POSIX permissions
  • EFS filesystem can be mounted on multiple EC2 instances thus the data can be shared between them
  • EFS is a private service i.e. by default it is restricted to the VPC it is provisioned into
  • EFS is accessed through mount targets. Mount targets have ip addresses from the ip address range of the subnet
  • For high availability, mount targets need to be provisioned in multiple AZs i.e. in each subnet of a VPC
  • EFS can be accessed outside the vpc using vpc peering, VPN connection or AWS Direct Connect
  • EFS offers 2 performance modes - General Purpose(default) & Max I/O
  • EFS has 2 throughput modes - Bursting(default) & Provisioned
  • EFS has 2 storage classes - Standard(default) & Infrequent Access. Life cycle policies can be used to move between classes