...
create a directory also called as mount point on which we will mount the efs
Code Block sudo mkdir efstemp
create a mount target in order to allow ec2 instance to mount the efs. In EFS we select the file system we want to mount and then we go into Network tab. We then select the Manage button in order to create a mount target. After we finish this step we should be able to see a DNS name set to our EFS we want to use.
In EFS dashboard we select the EFS that we have restored and we navigate into another page
we select Attach we chose the option Mount via DNS
Using the NFS client we select the appropriate command on which we paste into our EC2 console.
example of command
...