How to clean up the list of Terminated AWS EMR clusters?

Nicholas Key picture Nicholas Key · May 5, 2014 · Viewed 9.4k times · Source

I have about 88 EMR clusters that are terminated in my AWS account. How do I clean up the list of terminated EMR clusters? Will AWS clean up the list?

How come I don't see the terminated clusters being removed from the list of clusters just like how the EC2 instances page looks like?

Thanks!

Nicholas

Answer

user1914527 picture user1914527 · Jul 11, 2014

You can't really clean them up, the job flow you created in last two weeks will show up if you call elastic-mapreduce --list.

The way I solve this problem is elastic-mapreduce --list --active to check only the active jobs.

Or, you can filter them by date elastic-mapreduce --list --created-after=DATETIME

Lists all clusters created after the specified time and date in XML date-time format.