Posts

Showing posts from May, 2018

Installing CloudCustodian for AWS

Cloud Custodian is a rules engine for AWS fleet management. It allows users to define policies to enable a well managed cloud infrastructure, that's both secure and cost optimized. It consolidates many of the adhoc scripts organizations have into a lightweight and flexible tool, with unified metrics and reporting. Why this post? Cloud Custodian installation instructions from their Github page simply tell you following commands which did not work for me. $ virtualenv --python=python2 custodian $ source custodian/bin/activate   (custodian) $ pip install c7n Hence i noted down a more comprehensive installation instructions that worked. Assumptions. Python is already installed which includes a pip version installed as well. But we need to upgrade pip first. Installation instructions with failed commands and fixed actions. 1. Install homebrew $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. Update PIP