Skip to main content

Cloud Custodian

Declarative YAML rules engine for cloud governance and security that manages, filters, and remediates resources across multiple clouds.

Technical Architecture & Overview

Cloud Custodian is an open-source rules engine for cloud governance and security, and a CNCF incubating project. It uses declarative YAML policies to manage AWS, Azure, GCP, Oracle Cloud, Kubernetes, and Tencent Cloud resources, with filters and actions for compliance, cost, and security. Policies can run locally or automatically provision serverless functions and event sources for real-time enforcement.

Targeted Technical Use Cases

Automate cloud governance at scale, including tagging, encryption enforcement, unused resource cleanup, and real-time remediation across multiple public clouds.

Evaluation & Trade-offs

Core Strengths

  • +Declarative YAML policies are readable and version-controllable.
  • +Supports AWS, Azure, GCP, Oracle Cloud, Kubernetes, and Tencent Cloud in one tool.
  • +Can trigger remediation through serverless functions in response to cloud events.

Trade-Offs & Limitations

  • -AWS has the most mature support; other cloud providers have narrower feature coverage.
  • -Policy language can be verbose for complex multi-step logic.
  • -Requires cloud credentials and appropriate permissions for filters and actions.

Defensive Security Application

Write Cloud Custodian policies to detect unencrypted storage, overly permissive security groups, and missing tags, then trigger remediation or notification workflows.

Frequently Asked Questions

What is Cloud Custodian?

Cloud Custodian is an open-source rules engine for cloud governance and security, and a CNCF incubating project. It uses declarative YAML policies to manage AWS, Azure, GCP, Oracle Cloud, Kubernetes, and Tencent Cloud resources, with filters and actions for compliance, cost, and security. Policies can run locally or automatically provision serverless functions and event sources for real-time enforcement.

What is Cloud Custodian used for?

Automate cloud governance at scale, including tagging, encryption enforcement, unused resource cleanup, and real-time remediation across multiple public clouds.

What are the strengths of Cloud Custodian?
  • +Declarative YAML policies are readable and version-controllable.
  • +Supports AWS, Azure, GCP, Oracle Cloud, Kubernetes, and Tencent Cloud in one tool.
  • +Can trigger remediation through serverless functions in response to cloud events.
What are the limitations of Cloud Custodian?
  • +AWS has the most mature support; other cloud providers have narrower feature coverage.
  • +Policy language can be verbose for complex multi-step logic.
  • +Requires cloud credentials and appropriate permissions for filters and actions.
How is Cloud Custodian used defensively?

Write Cloud Custodian policies to detect unencrypted storage, overly permissive security groups, and missing tags, then trigger remediation or notification workflows.