CloudCostTree reads your infrastructure-as-code — Terraform, CloudFormation, Pulumi, or a raw Terraform state file — and renders a hierarchical cost breakdown, FinOps savings recommendations, governance checks, and a what-if simulator. AWS-only by design, CLI-only by design: no hosted dashboard, no account required to see a cost tree.
>cloudcosttree main.tf
Infrastructure summary
Provider: AWS
Resources: 26 (8 billable)
Current total: $669.62/mo
List price · AWS on-demand · before Savings Plans / Reserved Instances / credits / tax
Infrastructure tree
terraform (AWS)$669.62/mo
├── main VPC + NAT gateway$36.50/mo
├── app ALB$16.43/mo
├── app EC2 m5.large$70.08/mo
├── app_data EBS gp3 100GB$8.00/mo
├── cache ElastiCache r6g.large$150.38/mo
├── primary RDS db.r5.large Multi-AZ$388.00/mo
└── backups S3 bucket$0.23/mo
Cost Score: A (93/100)
FinOps recommendations save ~$194.00/mo
→ primary: RDS Multi-AZ doubles compute cost — run Single-AZ if this DB doesn't need standby HA. −$194.00/mo
→ primary: db.r5.large has a Graviton equivalent (db.r6g.large) — typically 20–40% less.
→ app: m5.large has a Graviton equivalent (m6g.large) — typically 20–40% less.
>
No agents, no cloud account linking, no hosted dashboard. Everything runs locally against your existing IaC files.
Terraform, CloudFormation, Pulumi, Terragrunt, a raw Terraform state file, or CloudCostTree's own YAML/JSON — no cloud credentials needed to see a cost tree.
A hierarchical, per-resource breakdown of what your infrastructure will actually cost per month, before you apply anything.
Right-sizing suggestions, real Reserved Instance and Spot savings from actual usage data, and a what-if simulator for testing changes.
Run cost and tag/FinOps policy checks in your pipeline — Roots can fail a build on violation, so cost overruns never reach production. Or gate it locally with "guard", before code even reaches a PR.
CloudCostTree is open source and free for everything that works from your own files. CloudCostTree Roots is the plan for teams: it connects the estimate to your real AWS account and enforces your cost guardrails.
guard)No, not for the core cost tree — it reads your Terraform, CloudFormation, or Pulumi files and computes estimates entirely on your own machine, with no cloud credentials or account link required. The optional Roots --with-usage flag calls your own read-only AWS credentials (the standard credential chain) to replace static-config guesses with real numbers; nothing about your infrastructure is ever uploaded to us.
Terraform (HCL or a terraform show -json plan), a raw Terraform state file, CloudFormation, a CDK-synthesized template, Pulumi, Terragrunt, an Atmos (Cloud Posse) stack, or CloudCostTree's own YAML/JSON.
A 0-100 number plus a letter grade (A-F) rolling up every FinOps recommendation and policy violation from a run, weighted by severity and normalized by resource count. It's on every plan — free, unlimited, no dollar figure hidden — and shows up in the console, every export format, and history save/list/compare, so a team can track whether a stack is getting healthier or worse over time the same way it already tracks cost.
Every total is list price — AWS on-demand rates fetched straight from AWS's own price list, before any Savings Plans, Reserved Instances, credits, or tax. That basis is printed under the total on every report, so there's no ambiguity about what the number represents. With the Roots --with-usage flag, CloudCostTree also pulls your real CloudWatch utilization and shows a confidence range around the headline total — a one-standard-deviation band, roughly 68% confidence — combining each resource's measured variance across the tree, so a usage-driven estimate reads as a range, not a false-precision point number.
No — CloudCostTree is AWS-only by design. Staying single-cloud is what lets it price real, fetched-from-AWS rates for 147 Terraform resource types instead of guessing across providers.
Everything that works from your own files is open source and free, with no limits: analyses, what-if simulations, exports, the full FinOps list with real $ savings (Reserved Instances included), every input format, CI/CD runs, the IAM policy generator, the MCP server and the VS Code extension. CloudCostTree Roots ($99.99/month per organization, 14-day free trial) adds what a team needs to act on it: cost guardrails and tag/FinOps policies that can fail a build, real usage and billing data from your own AWS account, and IAM policies scoped to exact ARNs. See the pricing section above.
Yes. The CLI, the MCP server, the VS Code extension and the price catalog generator are open source under the Apache License 2.0, on GitHub. You can build it yourself, read exactly how every price is computed, and contribute. The CloudCostTree Roots features ship in the official binaries.
Yes. Cancel anytime via the customer portal link in your Paddle receipt email, or by emailing us — see the Refund & Cancellation Policy for details. Cancelling stops future billing; your Roots access continues until the end of the period you've already paid for.
Yes. cloudcosttree ci report/check/diff plus a ready-to-use GitHub Action, unlimited on every plan. With Roots it can also enforce cost guardrails and FinOps/tag policies, failing the build on a violation.
Yes, free. cloudcosttree iam <path> reads the same Terraform, CloudFormation, or Pulumi input and writes the least-privilege policy a deployer role needs — currently 1,706 resource types, each with a real, correctly-scoped Action list — without ever contacting AWS. Resource stays "*" on Free; Roots narrows it to the real per-instance ARNs a deployment declares, resolved straight from the AWS Service Authorization Reference and never guessed — 88.8% of mapped types today, the rest (AWS-assigned identifiers no static scan can know ahead of a real deploy) narrow to the resource type instead of a bare wildcard, and resolve exactly once scanned against an already-deployed state. When the resulting Action set enables a documented privilege-escalation technique (iam:PassRole with a compute-launch action, a direct principal-mutation action), it prints a privilege-escalation review naming the technique and the resource that introduced it — a safety disclosure on both tiers, not a gated feature.
Yes — it's included on both Free and Roots. See the VS Code Marketplace listing.
Found a bug, or have feedback?