Menu
Amazon Elastic File System
User Guide

Step 4: Clean Up Resources and Protect Your AWS Account

This guide includes walkthroughs that you can use to further explore Amazon EFS. Before you perform this clean-up step, you can use the resources you've created and connected to in this Getting Started exercise in those walkthroughs. For more information, see Walkthroughs. After you have finished the walkthroughs or if you don't want to explore the walkthroughs, you should follow these steps to clean up your resources and protect your AWS account.

To clean up resources and protect your AWS account

  1. Connect to your Amazon EC2 instance.

  2. Unmount the Amazon EFS file system with the following command.

    Copy
    $ sudo umount efs
  3. Open the Amazon EFS console at https://console.aws.amazon.com/efs/.

  4. Choose the Amazon EFS file system that you want to delete from the list of file systems.

  5. For Actions, choose Delete file system.

  6. In the Permanently delete file system dialog box, type the file system ID for the Amazon EFS file system that you want to delete, and then choose Delete File System.

  7. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  8. Choose the Amazon EC2 instance that you want to terminate from the list of instances.

  9. For Actions, choose Instance State and then choose Terminate.

  10. In Terminate Instances, choose Yes, Terminate to terminate the instance that you created for this Getting Started exercise.

  11. In the navigation pane, choose Security Groups.

  12. Select the name of the security group that you created for this Getting Started exercise in Step 1: Create Your EC2 Resources and Launch Your EC2 Instance as a part of the Amazon EC2 instance launch wizard.

    Warning

    Don't delete the default security group for your VPC.

  13. For Actions, choose Delete Security Group.

  14. In Delete Security Group, choose Yes, Delete to delete the security group you created for this Getting Started exercise.