An EFS mount target is a network endpoint that makes an EFS filesystem accessible to EC2 instances through NFSv4.1. The filesystem stores the data; the mount target provides the path into it from a subnet. section 9.0
A practical mount-target design includes:
- Create a mount target for the EFS filesystem in a subnet where client EC2 instances run. section 9.0
- Attach a security group that permits inbound TCP traffic on port 2049 from the EC2 client security group. section 9.2
- Create mount targets in multiple subnets and availability zones to improve fault tolerance and availability. section 2.2.4 section 9.7
- Manage the resource with CloudFormation by specifying the filesystem, subnet, and security groups. section 9.2
Shared home directories
Mount EFS under /home on multiple EC2 instances. Users then see shared home directories regardless of which machine they access, instead of receiving separate local directories on each instance. section 9.0
Use the diagram to trace how mount targets provide subnet endpoints for EC2 instances to reach one EFS filesystem. section 9.0
Mount targets are protected network endpoints rather than storage themselves. EFS data is replicated across multiple data centers, while mount targets remain tied to availability zones; using at least two supports high availability. section 9.7
