> For the complete documentation index, see [llms.txt](https://huy312100.gitbook.io/software-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huy312100.gitbook.io/software-development/cloud-service/aws/certificate/clf-c02/cloud-technology-and-services/ec2/ec2-instance-storage/efs.md).

# EFS

Elastic File System

• Managed NFS (network file system) that can be mounted on 100s of EC2

• EFS only works with Linux EC2 instances in multi-AZ

• Highly available, scalable, expensive (3x gp2), pay per use, no capacity planning

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2Fxm6eqKu7ZFhpU2UwY8za%2FScreenshot%202023-12-01%20at%2000.34.00.png?alt=media&amp;token=b84337fc-9eef-4e88-a9cb-101bdc69f1ba" alt=""><figcaption></figcaption></figure>

### EBS vs EFS

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2FoXfbZoxxm27svBeNB6mg%2FScreenshot%202023-12-01%20at%2000.35.24.png?alt=media&amp;token=a37a4914-720c-4a31-ae04-02bd309576c1" alt=""><figcaption></figcaption></figure>

### EFS Infrequent Access (EFS-IA)

• Storage class that is cost-optimized for files not accessed every day

• Up to 92% lower cost compared to EFS Standard

• EFS will automatically move your files to EFS-IA based on the last time they were accessed

• Enable EFS-IA with a Lifecycle Policy

• Example: move files that are not accessed for 60 days to EFS-IA

• Transparent to the applications accessing EFS

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2FXs85age5GDslSQSypU7V%2FScreenshot%202023-12-01%20at%2000.37.10.png?alt=media&amp;token=5acc54cc-ac3a-42cf-b7f9-58626d72ef2e" alt=""><figcaption></figcaption></figure>
