Skip to content

bharathadigopula/cloud-cost-governance-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Cost Governance Lab

Public, forkable cloud cost governance lab for showing tagging policy, budget controls, cost anomaly review, cleanup candidates, and FinOps-style release evidence.

This repo does not require AWS credentials. It uses sample cloud inventory and cost data so the governance workflow can run safely in CI.

What This Shows

  • Required cloud tagging policy
  • Monthly budget threshold evaluation
  • Forecasted spend checks
  • Untagged cost detection
  • Idle and cleanup candidate detection
  • Rightsizing recommendation evidence
  • Cost anomaly review workflow
  • Governance report generation
  • GitHub Actions validation with SHA-pinned actions
  • Local validation without cloud credentials

Repository Structure

Path Purpose
data Sample inventory, cost, and usage data
governance Tag policy, budget policy, and cleanup rules
reports Human-readable governance report template
scripts Local validation and report generation
security/evidence Generated evidence target description

Local Validation

Run:

./scripts/validate-local.sh

The validation generates:

.artifacts/governance-report.json
.artifacts/governance-summary.md

Generated artifacts are ignored by git.

Governance Model

The lab treats cost control as an engineering workflow:

  1. Every resource must have ownership tags.
  2. Every application must have a monthly budget.
  3. Forecasted spend must stay below critical thresholds.
  4. Idle resources must be visible before they become waste.
  5. Exceptions must be explicit and time-bound.

Production Notes

For a real cloud account, this pattern can be extended with:

  • AWS Cost Explorer exports
  • AWS Budgets notifications
  • Cost Anomaly Detection
  • AWS Config tag compliance
  • Resource cleanup automation
  • Pull request checks against Terraform plans
  • Monthly FinOps review reports

About

Production-style cloud cost governance lab using tagging policy, budget controls, cleanup recommendations, anomaly review, and FinOps-style evidence.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors