Overview
Janitor Monkey is an automated service developed by Netflix to clean up unused resources in the AWS cloud, significantly reducing costs and freeing up engineering time. The tool identifies and deletes resources that are no longer needed, while allowing resource owners to flag exceptions before deletion.
What You'll Learn
1
How to configure Janitor Monkey to clean up unused AWS resources
2
Why automating resource cleanup is essential for cost management in cloud environments
3
How to customize cleanup rules for different types of AWS resources
Prerequisites & Requirements
- Basic understanding of AWS resource management
- Familiarity with REST APIs(optional)
Key Questions Answered
What is Janitor Monkey and how does it work?
Janitor Monkey is an AWS service that automatically identifies and cleans up unused resources to help maintain a tidy cloud environment. It operates by marking resources as cleanup candidates based on specific rules, notifying owners before deletion, and then executing the cleanup process.
What types of resources does Janitor Monkey manage?
Janitor Monkey currently manages four types of AWS resources: Instances, EBS Volumes, EBS Volume Snapshots, and Auto Scaling Groups. Each resource type has specific rules that determine when they are marked for cleanup.
How does Janitor Monkey notify resource owners before deletion?
Before deleting a resource, Janitor Monkey sends a notification to the resource owner a configurable number of days ahead of the scheduled cleanup. This allows owners to flag any resources they wish to retain as exceptions.
What are the benefits of using Janitor Monkey?
Janitor Monkey has deleted over 5,000 resources in Netflix's production and test environments, helping to reduce costs and free up engineering time that was previously spent managing unused resources.
Key Statistics & Figures
Resources deleted
5,000
Over the last year, Janitor Monkey has deleted more than 5,000 resources in Netflix's production and test environments.
Technologies & Tools
Some links below are affiliate links. We may earn a commission if you make a purchase.
Cloud Platform
Amazon Web Services
Janitor Monkey operates within the AWS cloud to manage and clean up resources.
Database
Amazon Simpledb
Janitor Monkey logs events and manages resources in Amazon SimpleDB.
Key Actionable Insights
1Implementing Janitor Monkey can significantly reduce cloud costs by automating the cleanup of unused resources.By regularly cleaning up resources, organizations can avoid unnecessary charges for services that are no longer in use, leading to more efficient cloud resource management.
2Customizing cleanup rules allows businesses to tailor Janitor Monkey to their specific needs.Each organization has unique resource usage patterns, and being able to adjust the rules ensures that important resources are not mistakenly deleted while still maintaining a clean environment.
3Utilizing notifications before resource deletion can prevent accidental loss of critical resources.This feature provides a safety net for resource owners, allowing them to retain resources that may still be necessary, thus avoiding disruptions in service.
Common Pitfalls
1
Failing to configure Janitor Monkey properly can lead to the accidental deletion of important resources.
Without careful setup of the cleanup rules and notification settings, users might lose resources that are still needed, which can disrupt operations.
Related Concepts
AWS Resource Management
Cloud Cost Optimization
Automation In Cloud Environments