EFS Hints

htm

School

University of Maryland, University College *

*We aren’t endorsed by this school

Course

495

Subject

Computer Science

Date

Feb 20, 2024

Type

htm

Pages

6

Uploaded by AdmiralHummingbirdMaster663

Report
Note: Be sure to follow the “Using EC2 v2” instructions to create and connect to EC2 instances. You will need to do this prior to creating an EFS. Also note this URL provides a pretty decent tutorial on how to do this but it isn’t perfect: https://aws.amazon.com/getting-started/tutorials/create-network-file-system/ EFS Assignment description: Using AWS, create a network file system with Amazon Elastic File Systems (EFS) and attach it to the running Ubuntu Server AWS instance. Use the AWS Use Cases web page for step-by-step instructions. Take a screenshot of the result and embed it below. Specifically, take a screenshot of verifying your file system has been successfully mounted , and the results of creating a test file in your new file system by running a simple dd command to generate a 1GiB file in your new directory. Finally, describe the value of a network file system. Below are some key and clarifying steps but be sure to use the above tutorial to fill in the blanks. Steps: 1.       Make sure you add the Security Group default to the Ubuntu instance. This process won’t work unless you do this.
2.       Set-up for EFS using these commands at the terminal prompt in Ubuntu sudo apt-get install nfs-common sudo mkdir efs 3.       Then mount using this command: (Match your fs name) sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport fs- f1f95045.efs.us-east-1.amazonaws.com:/ efs These are the directions from the AWS document – The helper doesn’t seem to work but the NFS client does.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Here are some screen captures, notice only the last command worked. So using the NFS client is recommended. 4.       Then test with df- h You should see the fs-xxxx device:
5.       Use dd to create a 1 GB file sudo dd if=/dev/zero of=~/efs/1GiB bs=1M count=1024 status=progress 6.       ls to efs to see the file:
Note, be sure to terminate the EFS and server after you have complete the assignment.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help