| Did this page help you? Yes No Tell us about it... |

You have completed the Amazon Elastic MapReduce (Amazon EMR) samples described in this guide.
To make sure you are not charged for any left-over services, delete any unwanted job flows and files from the Amazon EMR and Amazon S3 services.
You can verify that you are not using any Amazon EMR resources by listing your active job flows, and then terminating those you no longer need.
To list all active job flows
Enter the following commands from the command-line prompt:
Linux and UNIX users:
$ ./elastic-mapreduce --list -–active
Windows users:
C:\ruby\elastic-mapreduce-cli>ruby elastic-mapreduce --list -–active
Use the job flow ID to identify each job flow you want to terminate.
To terminate a job flow
Enter the following commands from the command-line prompt:
Linux and UNIX users, from the command-line prompt, enter the following:
$ ./elastic-mapreduce --terminate [job flow ID]Windows users, from the command-line prompt, enter the following:
C:\ruby\elastic-mapreduce-cli>ruby elastic-mapreduce --terminate [job flow ID]Terminating all job flows will remove all associated Amazon EC2 instances. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources.
By specifying the log-uri as part of the Configuring Credentials step, all of your job
flows generated Amazon EMR logs and saved them to Amazon S3.
If you no longer require the Amazon EMR log files, delete the files so you will not be charged for Amazon S3 storage.
To delete a file on Amazon S3
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
Navigate to the bucket and folder specified as your
log-uri by clicking the bucket name in the
Bucket pane, and then clicking the folder in the
Objects and Folders pane.
Click Actions and select Delete to delete a folder and all of its contents.
You are no longer being charged for any services you used as part of this tutorial.
Congratulations! You have successfully launched, connected to, and terminated an instance. For more information about Amazon Elastic MapReduce (Amazon EMR), and how to continue using it, click the Next Steps button.
Your input is important to us. Help make our documentation helpful and easy to use. Please take a minute to provide feedback on your getting started experience with Amazon Amazon EMR. To begin the survey, click the Feedback button. Thank you.

