Menu
Amazon EMR
Management Guide

Step 5: Reset Your Environment

After you have completed this tutorial, you should remove your Amazon S3 bucket and terminate your Amazon EMR cluster to avoid incurring additional charges.

Deleting Your Amazon S3 Bucket

You cannot delete an Amazon S3 bucket that has items in it. First, delete your logs and output folders, and then delete your bucket. For more information about deleting folders and buckets, go to Delete an Object and Bucket in the Amazon Simple Storage Service Getting Started Guide.

Terminating Your Sample Cluster

Terminating your cluster terminates the associated Amazon EC2 instances and stops the accrual of Amazon EMR charges. Amazon EMR preserves metadata information about completed clusters for your reference, at no charge, for two months. The console does not provide a way to delete completed clusters from the console; these are automatically removed for you after two months.

To terminate your Amazon EMR cluster

  1. Open the Amazon EMR console at https://console.aws.amazon.com/elasticmapreduce/.

  2. On the Cluster List page, select your cluster and choose Terminate.

  3. By default, clusters created using the console are launched with termination protection enabled, so you must disable it. In the Terminate clusters dialog, for Termination protection, choose Change.

  4. Choose Off and then confirm the change.

  5. Choose Terminate.