cfn_nag VS cloud-custodian

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

Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
cfn_nag cloud-custodian
14 32
1,218 5,180
0.4% 1.4%
0.0 9.5
7 months ago 4 days ago
Ruby 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.

cfn_nag

Posts with mentions or reviews of cfn_nag. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-25.

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/

    8 projects | news.ycombinator.com | 22 Jan 2024
  • 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.
  • 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.
  • Enforce tagging on everything that can be tagged
    2 projects | /r/aws | 5 May 2022
  • cloud-custodian VS cloudquery - a user suggested alternative
    2 projects | 2 Feb 2022
  • Common avenues for reducing waste in AWS (Specifically EC2)
    3 projects | /r/devops | 30 Jan 2022
    You can try Cloudcustodian. Very good tool to help you make a list of all underutilized instances. This also helps you do a lot more than that. https://cloudcustodian.io/
  • Favorite Resources of 2021
    4 projects | dev.to | 16 Jan 2022
    Cloud Custodian; rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources
  • I added AWS CIS 1.2 compliance checks to GraphQL API for AWS!
    2 projects | /r/aws | 14 Jan 2022
    Another alternative that I personally would use is CloudCustodian. It is a widely used tool for continuous cloud governance, detection and remediation. There is a CIS pack for it.
  • Implementing Cloud Governance as a Code using Cloud Custodian
    2 projects | dev.to | 9 Dec 2021
    Note: Cloud Custodian kubernetes resources still work in progress. We can check the status of the plugin here.

What are some alternatives?

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

checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

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.

cfn-python-lint - CloudFormation Linter

ScoutSuite - Multi-Cloud Security Auditing Tool

gatekeeper - 🐊 Gatekeeper - Policy Controller for Kubernetes

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

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

cloudquery - The open source high performance data integration platform built for developers.

SonarQube - Continuous Inspection

cloud-guardrails - Rapidly apply hundreds of security controls in Azure

aws-secure-environment-accelerator - The AWS Secure Environment Accelerator is a tool designed to help deploy and operate secure multi-account, multi-region AWS environments on an ongoing basis. The power of the solution is the configuration file which enables the completely automated deployment of customizable architectures within AWS without changing a single line of code.