View a markdown version of this page

Deleting mount targets - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting mount targets

When you delete a mount target, it breaks any mounts of the file system. This might disrupt compute resources and applications using those mounts. To avoid disruption, stop applications and unmount the file system before you delete the mount target.

You can delete mount targets for a file system by using the Amazon Management Console, Amazon CLI, or programmatically by using the Amazon SDKs.

Use the Amazon S3 console to delete a mount target for S3 Files.

  1. Sign in to the Amazon Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the navigation bar, verify you are in the Amazon Region of the mount target that you want to delete.

  3. In the left navigation pane, choose General purpose buckets.

  4. Choose a general purpose bucket your file system is attached to.

  5. Select the File systems tab and select your desired file system.

  6. Select the Mount targets tab and select the mount target you wish to delete.

  7. Choose Delete.

  8. In the confirmation window, type confirm and choose Delete.

The following delete-mount-target command deletes a mount target for S3 Files using the Amazon CLI.

aws s3files delete-mount-target --region aws-region --mount-target-id mount-target-id