aws-nuke VS cloud-custodian

Compare aws-nuke vs cloud-custodian and see what are their differences.

aws-nuke

Nuke a whole AWS account and delete all its resources. (by rebuy-de)

cloud-custodian

Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources (by cloud-custodian)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
aws-nuke cloud-custodian
86 32
5,353 5,229
2.4% 0.6%
8.0 9.5
3 days ago 2 days ago
Go Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

aws-nuke

Posts with mentions or reviews of aws-nuke. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.
  • Cutting down AWS cost by $150k per year simply by shutting things off
    8 projects | news.ycombinator.com | 22 Jan 2024
    To give this a slightly different spin:

    --> "The best optimization is simply not spinning things up."

    At least for local development and testing, as made possible by LocalStack (https://localstack.cloud), among other local testing solutions and emulators.

    We've seen so many teams fall into the trap of "someone forgot to shut down dev resource X for a week and now we've racked up a $$$ bill on AWS".

    What is everyone's strategy to avoid this kind of situation? Tools like `aws-nuke` (https://github.com/rebuy-de/aws-nuke) are awesome (!) to clean up unused resources, but frankly they should not be necessary in the first place.

  • I am afraid to spin up an EKS instance using AWS provider
    3 projects | /r/Terraform | 8 Dec 2023
    We use nuke aws at work to remove any leftovers: https://github.com/rebuy-de/aws-nuke
  • Route 53 Billing
    1 project | /r/aws | 6 Jul 2023
    You can use this tool on github to nuke all resources.
  • Need Help to Control Rising Costs of Elastic Cloud on AWS
    1 project | /r/aws | 3 Jun 2023
  • Best sandbox environment to learn AWS
    1 project | /r/AWSCertifications | 29 May 2023
    There's this. I haven't used it myself, but it looks to be pretty effective: https://github.com/rebuy-de/aws-nuke
  • Enterprise-scaled Self-Healing StackSets
    1 project | dev.to | 29 May 2023
    At this scale, operations can take a lot of time, because there are multiple operational tasks that we need to do when AWS accounts are leaving the AWS Organization or Teams are nuking the AWS account, StackSets Instances get drifted, because not all required resources for compliance can be secured ( SCP Limitations ), existing AWS accounts are joining the AWS Organization and all mandatory StackSets needs to be deployed, and manual steps should be reduced to a minimum. Furthermore, there is no feature from the Service itself to gain an overview of the status of drifted Instances and the general health of your StackSet health and compliance.
  • AWS - development environment
    1 project | /r/aws | 29 May 2023
    Since you're using CDK already, have a way to configure the deployment of the whole thing to a per-developer test account; that's still gonna cost you, but you can bundle everything in an organization / organizational unit for billing purposes, and you can also schedule https://github.com/rebuy-de/aws-nuke to run nightly to clean these accounts from longer-running resources.
  • Does your org create/destroy per-project AWS accounts?
    1 project | /r/aws | 25 May 2023
    And by extension, https://github.com/rebuy-de/aws-nuke as well.
  • I want to terminate my account but i cant delete this last VPC, what should i do? I dont want to be billed anymore!
    1 project | /r/aws | 21 May 2023
    I can also recommend aws-nuke which is an easy to way to destroy in your account.
  • Weekly: Share your EXPLOSIONS thread
    2 projects | /r/kubernetes | 11 May 2023
    nothing blew up accidentally this week, but our team at kubefirst is falling more and more in love with aws-nuke. it's an open source command line tool that lets you basically reset an aws account back to an empty state. if you have an environment where you regularly practice your platform provisioning, you probably know that failed destroys while iterating on orchestration can leave junk behind pretty easily. aws-nuke has been so nice to be able to blow away everything in an aws account - and then we just run terraform in the account to get all our core infra back afterward. nice allowlist filters and dryrun detail work too. check them out.

cloud-custodian

Posts with mentions or reviews of cloud-custodian. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.
  • Cutting down AWS cost by $150k per year simply by shutting things off
    8 projects | news.ycombinator.com | 22 Jan 2024
    > The best optimization is simply shutting things off

    This is the way.

    A similar idea has been bouncing around in my mind for a while now. An ideal, turnkey system would do the following:

    - Execute via Lambda (serverless).

    - Support automated startup and shutdown of various AWS resources on a schedule influenced by specially formatted tags.

    - Enable resources to be brought back up out of schedule when demand dictates.

    - Operate as a TCP/HTTP proxy that can delay clients so that a given service can be started when it is dormant or, even better, the service isn't serverless but you want it to be. This can't work for everything, but perhaps enough things such that the need to run always on services is reduced.

    Cloud Custodian [1] can purportedly do some of this, but I've been reluctant to learn yet another YAML-based DSL to use it.

    So this is my "make things designed to be always-on serverless instead" project and the work AWS has done to make Java apps function on Lambda keeps me thinking about the potential to take things that 1) have a relatively long startup time and 2) are designed to be long running service loops, and find a way to force them into the serverless execution model.

    [1] https://cloudcustodian.io/

  • When have you screwed up, bad?
    1 project | /r/sysadmin | 6 Dec 2023
    Goal was to clear up anything old and set us up to rotate keys in use. Why did I do it in the end of December? It was a quarterly goal and I learned to push those across the line if I wanted a good review. Great incentive, that one. I used Cloud Custodian for this. It has a terrible bug where the code says you'll be acting on days since the key was used but actually is reading days since it was created.
  • Open-Source tools for monitoring ML/AI usage- Recommendations?
    1 project | /r/devops | 4 Nov 2023
    What is wrong with https://github.com/cloud-custodian/cloud-custodian?
  • Automate deletion of aws ebs snapshots older than year
    1 project | /r/sysadmin | 14 Apr 2023
    You can start reading about it here.
  • Optimizing cost on an app which is not used 24/7
    2 projects | /r/aws | 23 Feb 2023
    Use a tool like this https://cloudcustodian.io/ to manage instance on/off hours or go fargate.
  • Going for the CCP with a Compliance background. Any insight on what direction to pursue in AWS?
    1 project | /r/AWSCertifications | 10 Feb 2023
    Certs aside, there are some great compliance tools out there that you might want to become familiar with. Here is one that comes to mind (is open-source): https://cloudcustodian.io/
  • What are some of the community's best recommendations and use cases for Cost Optimization and FinOps
    1 project | /r/aws | 22 Dec 2022
  • EC2 start and stop via Lambda
    3 projects | /r/aws | 3 Dec 2022
    I'd use a combination of Cloudcustodian for start/stop scheduling and Apprise for notifications.
  • Tag Enforcement
    1 project | /r/aws | 7 Nov 2022
    Cloud custodian is a good utility if config rules doesn’t satisfy your needs. It’s also cross platform.
  • 26 AWS Security Best Practices to Adopt in Production
    1 project | dev.to | 21 Sep 2022
    AWS Security with open source – Cloud Custodian is a Cloud Security Posture Management (CSPM) tool. CSPM tools evaluate your cloud configuration and identify common configuration mistakes. They also monitor cloud logs to detect threats and configuration changes.

What are some alternatives?

When comparing aws-nuke and cloud-custodian you can also consider the following projects:

cloud-nuke - A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

former2 - Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.

ScoutSuite - Multi-Cloud Security Auditing Tool

savepagenow - A simple Python wrapper and command-line interface for archive.org’s "Save Page Now" capturing service

steampipe - Zero-ETL, infinite possibilities. Live query APIs, code & more with SQL. No DB required.

infracost - Cloud cost estimates for Terraform in pull requests💰📉 Shift FinOps Left!

gatekeeper - 🐊 Gatekeeper - Policy Controller for Kubernetes

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

fixinventory - Fix Inventory consolidates user, resource, and configuration data from your cloud environments into a unified, graph-based asset inventory.

aws-budget-alarms - AWS Budget alarms with AWS Chatbot sending alarms to slack

cloudquery - The open source high performance ELT framework powered by Apache Arrow