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.”

Deleting EFS file systems

Focus mode
Deleting EFS file systems - Amazon Elastic File System

File system deletion is a destructive action that you can't undo. You lose the file system and any data you have in it. Any data that you delete from a file system is gone, and you can't restore the data. When users delete data from a file system, that data is immediately rendered unusable. EFS force-overwrites the data in an eventual manner.

Note

You cannot delete a file system that is part of a replication configuration. You must delete the replication configuration first. For more information, see Deleting replication configurations.

Important

You should always unmount a file system before you delete it.

To delete a file system
  1. Open the Amazon Elastic File System console at https://console.aws.amazon.com/efs/.

  2. Select the file system that you want to delete in the File systems page.

  3. Choose Delete.

  4. In the Delete file system dialog box, enter the file system ID shown, and choose Confirm to confirm the delete.

    The console simplifies the file system deletion for you. First it deletes the associated mount targets, and then it deletes the file system.

To delete a file system
  1. Open the Amazon Elastic File System console at https://console.aws.amazon.com/efs/.

  2. Select the file system that you want to delete in the File systems page.

  3. Choose Delete.

  4. In the Delete file system dialog box, enter the file system ID shown, and choose Confirm to confirm the delete.

    The console simplifies the file system deletion for you. First it deletes the associated mount targets, and then it deletes the file system.

Before you can use the AWS CLI command to delete a file system, you must delete all of the mount targets and access points that were created for the file system.

For example AWS CLI commands, see Step 4: Clean up.

Before you can use the AWS CLI command to delete a file system, you must delete all of the mount targets and access points that were created for the file system.

For example AWS CLI commands, see Step 4: Clean up.

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