How can you mount an Amazon EFS file system?
Before creating the EFS file system, set up security groups to control access:
- EFS security group: Allow inbound TCP traffic on port 2049 (NFS) from the EC2 instances that will mount the file system.
- EC2 security group: Allow SSH access for management and outbound traffic to the EFS security group DEV Community+1.
Example AWS CLI command to create a security group for EFS: