Amazon Elastic File System
User Guide

Deleting an Amazon EFS 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.


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

Using the Console

  1. Open the Amazon Elastic File System console at

  2. Select the file system that you want to delete.

  3. Choose Action and then choose Delete File System.

  4. In Permanently Delete File System confirmation box, type the file system ID and then choose Delete File System.

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

Using the CLI

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

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

Managing Amazon EFS File Systems