# PRACTICAL

#### &#x20;1. Creating and accessing EFS&#x20;

* 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  &#x20;

1. $sudo su
2. &#x20;\#yum update -y && yum install -y nfs-utils
3. &#x20;\#systemctl restart nfs-server
4. &#x20;\#systemctl enable nfs-server
5. &#x20;\#mkdir /efs
6. &#x20;\#mount -t nfs4:/ /efs (check the subnet of instance, then in efs check the ip of corresponding subnet)
7. &#x20;\#df -h


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gyansetu-aws.gitbook.io/aws-cloud/practical-13.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
