Janitor Monkey Will Clean Up Your Old AWS Instances

Posted on

  • email
  • twitter
  • facebook
  • share this

share this

If you’re like me, you probably sat down with your family over the holiday break to relax and watch something on Netflix, only to find that its service was uncharacteristically down. Well, it seems that the company has corrected this problem, and now wants to share what it learned with the rest of us.

Netflix officially released a new open source tools for killing old Amazon Web Services (AWS) instances this week known as Janitor Monkey. This solution, which is part of the company’s “Simian Army” of internal management tools, is meant for enterprise organizations that employ a public cloud through AWS, particularly when they are unknowingly spending unnecessary money because they have forgotten to shut off an old instance.

“It is pretty easy to lose track of the cloud resources that are no longer needed or used,” say Netflix’s Michael Fu and Corey Bennett in a recent blog post. “Perhaps you forgot to delete the cluster with the previous version of your application, or forgot to destroy the volume when you no longer needed the extra disk.”

Janitor Monkey works largely with Netflix’s open source Asgard tool, which lets administrators delete their unused resources; this process is streamlined thanks to Janitor Monkey, which does the work of automatically tracking down these useless instances and allowing Asgard to clean them up.

According to Netflix, Janitor Monkey had deleted over 5000 resources from the company’s production and test environments when it was being used as an in-house product.

In addition to AWS instances, Janitor Monkey also detects EBS volumes, EBS volume snapshots and auto-scaling groups, and all of them come with their own unique rules for how they are marked. (For example, EBS volumes are marked as “cleanup candidates” if they haven’t been attached an instance for 30 days.) Once Janitor Monkey inspects these resources and applies the appropriate rules to them, it will determine if they are, in fact, cleanup candidates and, if so, it marks them for clean up and schedules a time for Asgard to do it. These events will be logged in an Amazon SimpleDB table by default, and it should be small enough to fit inside Amazon’s free-pricing tier.

However, just to double check itself and make sure it isn’t acting too hastily, Janitor Monkey will then inform the administrations attached the specific resources with an alert sent two days before it is scheduled to be cleaned up. Out of the box, Janitor Monkey is automatically configured to run on non-holiday weekends at 11 a.m., but it can be modified to run at other customized times.


Login To Comment

Become a Member

Not already a part of our community? Sign up to participate in the discussion. It's free and quick.

Sign Up


Website Quote 01-14-2013 10:02 AM

Sounds like and good open source tool and my Netflix is faster. Bonus!

Website Quote 03-12-2013 10:36 PM

I have never used Netflix Open source before. Thanks for informative share about this tool.

KevinN 09-06-2013 5:42 AM

thanks for this great article

UcheO 05-07-2014 2:51 PM

To be honest, I haven't really got into the Netflix thing, right now I'm happy using websites to access the shows I want to watch, but maybe I'll be better off going with Netflix, I'll have to wait and see.

Gaming Computer 05-21-2014 2:59 AM

thanks for the great content sharing, I'm going to subsricbe.

Dermaslim 05-23-2014 6:55 AM

big thanks to all the creative people who share their content with the world!

ErvinJ 08-02-2014 3:23 PM

Very interesting! Thank you for these.

Vinity Soft 09-26-2014 4:57 AM

You actually think nearly the same as I actually do and I am pleased I found your article. Thanks so much.

Izdelava spletne strani 12-11-2014 8:00 PM

Great opensource code:)

no no 01-01-2015 7:34 AM

I just discovered your blog and desired to state that I've actually loved reading your blog posts. In whatever way I'll be checking to your supply and I expect you post again soon.

Fitness Kickboxing 01-31-2015 7:07 AM

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.

Texas Auto transport 02-19-2015 2:50 AM

Its absolutely interesting But how it possible?

haircut jupiter fl 02-20-2015 11:51 AM

Ha ha ha ha...................

Its unbelievable and interesting.Is this really possible?

Laptop repair west palm beach fl 02-21-2015 1:19 AM

How funny!! How strange!! I am surprised monkey will clean up its really strange.

Add to the discussion!

999 E Touhy Ave
Des Plaines, IL 60018

Toll Free: 1.800.817.1518
International: 1.773.628.2779
Fax: 1.773.272.0920
Email: info@websitemagazine.com