Skip to content

Mount EFS

Create Access Point

  • Enter just name and ignore everything else it will mount to / or optionally add path

  • Using AWS EFS tool

https://docs.aws.amazon.com/efs/latest/ug/installing-amazon-efs-utils.html

  • On Amazon linux
Bash
sudo yum install -y amazon-efs-utils
  • On ubuntu
Bash
sudo apt install nfs-common -y
  • On the node

mkdir efs

Bash
sudo mount -t efs -o tls,accesspoint=fsap-0264534339c11d3bd fs-0e3841b35777364a6:/ efs
  • Using NFS
Bash
sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport <EFS IP>:/ efs
Bash
sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport fs-XXXXXXXX.efs.eu-west-1.amazonaws.com:/logs/stage-r2w logs-stage/