PRACTICAL

1. Creating and accessing EFS

  • Create a sg (efs) -> add nfs as inbound rule -> goto efs -> create a file system -> select the default vpc -> remove all sg and add efs as the sg -> next ->create file system -> launch an redhat instance under efs sg -> login

  1. $sudo su

  2. #yum update -y && yum install -y nfs-utils

  3. #systemctl restart nfs-server

  4. #systemctl enable nfs-server

  5. #mkdir /efs

  6. #mount -t nfs4:/ /efs (check the subnet of instance, then in efs check the ip of corresponding subnet)

  7. #df -h

Last updated