Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Automatically mounting EFS file systems

Focus mode
Automatically mounting EFS file systems - Amazon Elastic File System

You can use the EFS mount helper or NFS to configure an Amazon EC2 instance to automatically mount an EFS file system when the instance starts.

  • Using the EFS mount helper:

    • Attach an EFS file system when you create a new EC2 Linux instance using the EC2 launch instance wizard.

    • Update the EC2 /etc/fstab file with an entry for the EFS file system.

  • Using NFS without the EFS mount helper to update the EC2 /etc/fstab file, for EC2 Linux and Mac instances.

Note

The EFS mount helper does not support automatic mounting on EC2 Mac instances running macOS Big Sur or Monterey. Instead, you can use NFS to configure the /etc/fstab file on an EC2 Mac instance to automatically mount an EFS file system.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.