Javi

AWS: demo efs

Sep 21st, 2021
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. # Demo: EFS
  2.  
  3. * Show (or create EFS) named shared-data
  4. * Create endpoint
  5. * Show endpoint ENI
  6. * Create a new security group for NFS opened to the VPC
  7. * Use *the EFS filesystem console* to change the security group (the EC2 console will not work)
  8. * Get the EFS network IP using the EFS console
  9. * Mount it in the worksation
  10.  
  11. ```
  12. sudo apt update
  13. sudo apt install nfs-common
  14.  
  15.  
  16. mkdir /mnt/shared-data
  17. sudo mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 10.0.10.148:/ /mnt/shared-data
  18. ```
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment