Skip to content

Cloud Custodian Policies for Automated Amazon Resource Management

License

Notifications You must be signed in to change notification settings

jimilinuxguy/c7n-policies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Custodian Policies

CircleCI

This repo contains policy documents that Cloud Custodian will consume.

Cloud Custodian is a tool that unifies the dozens of tools and scripts most organizations use for managing their AWS accounts into one open source tool. It’s a stateless rules engine for policy definition and enforcement, with metrics and detailed reporting for AWS.

Read the Cloud Custodian documentation for more details.

Policy Validation

Policies are automatically validated via CircleCI. It runs Cloud Custodian in a Docker container that includes:

  • Python version 2.7.14
  • Cloud Custodian version 0.8.43.1

AWS Account Installation

Leverage CloudFormation and these templates as a reference for creating message queues and a role for the lambdas to run:

Policy Anatomy

One or more policies are defined in a yaml file. A policy specifies the following items:

  • The type of resource to run the policy against
  • Filters to select the set of target resources
  • Actions to take on the filtered set of resources

Policies can be run from your laptop or as AWS Lambdas.

About

Cloud Custodian Policies for Automated Amazon Resource Management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.3%
  • Makefile 11.7%