
Cloud environments get messy fast.
Different teams use different tools. Some resources come from Terraform or CloudFormation. Others get created in the console. Standards drift. Costs creep up. Security issues linger.
That is where policy-as-code helps. In my AWS Community Day Midwest talk, I showed how Cloud Custodian can turn cloud standards into policies that run automatically.
Cloud Custodian is an open-source rules engine that uses YAML policies to find and act on cloud resources. You define what “good” looks like, then let the system flag resources that fall outside those rules.
Cloud Custodian can flag things like missing tags, outdated storage types, or security groups that expose SSH to the public internet. That reduces the amount of manual checking your team has to do and shortens the time between a misconfiguration appearing and someone catching it.
Policies can stop nonessential instances after hours or identify infrastructure that looks oversized based on utilization. The payoff is straightforward: less waste, fewer billing surprises, and less engineering time spent chasing avoidable cost.
A Cloud Custodian policy with no actions simply identifies matching resources, which is a good place to start. Once a policy is validated, you can add actions such as tagging resources, stopping instances, or triggering another workflow.
That progression matters.
Start with visibility. Learn where the exceptions are. Automate the predictable fixes. Keep a human in the loop where the consequences are higher.
Policy-as-code works because it turns cloud governance into something repeatable. Your standards stop living only in documentation or tribal knowledge. They become part of how the environment operates.
For growing cloud estates, that means better control over risk, cost, and engineering attention.
Watch my full AWS Community Day Midwest talk, “Reclaim Your Cloud: Intro to Cloud Custodian,” for the examples and policies I walked through.

Want to go deeper on cloud architecture, governance, and automation? Learn more about Six Feet Up’s Cloud capabilities.