▲ 2 r/cicd+2 crossposts

One thing CloudCostTree already handles: a local apply-time policy gate

Most teams I talked to don't have a CI/CD pipeline checking cost or governance policy before terraform apply, they just run it locally. That's what guard is for: cloudcosttree guard -- terraform apply.

To be clear, this isn't a simulation, it's your real terraform apply. guard never runs one on its own, it only wraps the exact command you were already going to run, checks the plan against your policies, then applies that same saved plan, so there's no gap between what got checked and what got deployed.

Default behavior is warn-only, it prints violations but still applies. --block opts into actually stopping the apply on a real violation. A false positive blocking a real deploy is worse than one showing up in a report, so blocking is never the default.

reddit.com

CloudCostTree can now auto-apply the safe FinOps recommendations it finds (--optimize)

New feature I shipped: --optimize takes the FinOps recommendations CloudCostTree already shows you and applies the ones that are safe to apply mechanically, no architecture or availability trade-off involved.

What gets auto-applied: gp2 to gp3 (EBS and RDS storage), provisioned IOPS to gp3 where it's not needed, previous-generation instance types to current-gen, RDS backup retention capped at 30 days, non-production resources rescheduled to business hours. On Pro with --with-usage, also confirmed orphaned EBS volumes and snapshots, empty target-group load balancers, and unassociated Elastic IPs.

What it will never auto-apply: x86 to Graviton (changes CPU architecture), removing Multi-AZ (changes your failover story), switching DynamoDB from provisioned to on-demand (compares against an assumed baseline capacity, not your table's real traffic, so it needs you to confirm real utilization first), CPU or memory based right-sizing from real usage data (measured but still inferred). Those stay as suggestions you confirm yourself.

Screenshots show the flow in the VS Code extension against a small test file: the two safe recommendations it found (save $7.01/mo switching off a previous-gen instance, $4.00/mo off a gp2 volume), picking which to apply, and the result, total down from $87.97 to $76.97/mo and the Cost Score up from B to 88.

Free tier, and the same thing works from the CLI with cloudcosttree analyze --optimize. https://cloudcosttree.com

u/Independent-Ease-609 — 2 days ago
▲ 0 r/FinOps

CloudCostTree can now auto-apply the safe FinOps recommendations it finds (--optimize)

New feature I shipped: --optimize takes the FinOps recommendations CloudCostTree already shows you and applies the ones that are safe to apply mechanically, no architecture or availability trade-off involved.

What gets auto-applied: gp2 to gp3 (EBS and RDS storage), provisioned IOPS to gp3 where it's not needed, previous-generation instance types to current-gen, RDS backup retention capped at 30 days, DynamoDB provisioned to on-demand, non-production resources rescheduled to business hours. On Pro with --with-usage, also confirmed orphaned EBS volumes and snapshots, empty target-group load balancers, and unassociated Elastic IPs.

What it will never auto-apply: x86 to Graviton (changes CPU architecture), removing Multi-AZ (changes your failover story), CPU or memory based right-sizing from real usage data (measured but still inferred). Those stay as suggestions you confirm yourself.

Screenshots show the flow in the VS Code extension against a small test file: the two safe recommendations it found (save $7.01/mo switching off a previous-gen instance, $4.00/mo off a gp2 volume), picking which to apply, and the result, total down from $87.97 to $76.97/mo and the Cost Score up from B to 88.

Free tier, and the same thing works from the CLI with cloudcosttree analyze --optimize. https://cloudcosttree.com

u/Independent-Ease-609 — 3 days ago
▲ 1 r/AWSforStartUp+3 crossposts

CloudCostTree can now auto-apply the safe FinOps recommendations it finds (--optimize)

New feature I shipped: --optimize takes the FinOps recommendations CloudCostTree already shows you and applies the ones that are safe to apply mechanically, no architecture or availability trade-off involved.

What gets auto-applied: gp2 to gp3 (EBS and RDS storage), provisioned IOPS to gp3 where it's not needed, previous-generation instance types to current-gen, RDS backup retention capped at 30 days, DynamoDB provisioned to on-demand, non-production resources rescheduled to business hours. On Pro with --with-usage, also confirmed orphaned EBS volumes and snapshots, empty target-group load balancers, and unassociated Elastic IPs.

What it will never auto-apply: x86 to Graviton (changes CPU architecture), removing Multi-AZ (changes your failover story), CPU or memory based right-sizing from real usage data (measured but still inferred). Those stay as suggestions you confirm yourself.

Screenshots show the flow in the VS Code extension against a small test file: the two safe recommendations it found (save $7.01/mo switching off a previous-gen instance, $4.00/mo off a gp2 volume), picking which to apply, and the result, total down from $87.97 to $76.97/mo and the Cost Score up from B to 88.

Free tier, and the same thing works from the CLI with cloudcosttree analyze --optimize. https://cloudcosttree.com

u/Independent-Ease-609 — 3 days ago
▲ 0 r/AWSforStartUp+2 crossposts

Ran the same file through my cost tool twice, static vs real AWS data. Score dropped from A to C and I didn't expect that

I'm building CloudCostTree (estimates AWS costs from Terraform/CloudFormation, before you apply anything). A while back I added an opt-in flag that, instead of guessing, actually pulls real data from your AWS account: live Spot pricing, real CloudWatch CPU usage, volumes and IPs confirmed as orphaned. I'd tested it on its own, but never put the two reports side by side until today.

Same file, same moment, nothing changed in between:

Without real account data: 1 generic finding ("Graviton usually saves 20-40%"), score A (97/100).

With real data: 7 findings, actual numbers. Spot price right now is literally $0.0082/hr vs $0.0208/hr on-demand, one instance averaging 3.4% CPU over 14 days, a volume and an Elastic IP confirmed orphaned via the API. Score C (76/100).

The infra didn't get worse. What changed is whether the tool was actually allowed to look. Stuck with me a bit: a clean static report and a clean account aren't the same claim, and it's easy to mix them up until something forces the comparison.

u/Independent-Ease-609 — 4 days ago
▲ 0 r/FinOps

Ran the same file through my cost tool twice, static vs real AWS data. Score dropped from A to C and I didn't expect that

I'm building CloudCostTree (estimates AWS costs from Terraform/CloudFormation, before you apply anything). A while back I added an opt-in flag that, instead of guessing, actually pulls real data from your AWS account: live Spot pricing, real CloudWatch CPU usage, volumes and IPs confirmed as orphaned. I'd tested it on its own, but never put the two reports side by side until today.

Same file, same moment, nothing changed in between:

Without real account data: 1 generic finding ("Graviton usually saves 20-40%"), score A (97/100).

With real data: 7 findings, actual numbers. Spot price right now is literally $0.0082/hr vs $0.0208/hr on-demand, one instance averaging 3.4% CPU over 14 days, a volume and an Elastic IP confirmed orphaned via the API. Score C (76/100).

The infra didn't get worse. What changed is whether the tool was actually allowed to look. Stuck with me a bit: a clean static report and a clean account aren't the same claim, and it's easy to mix them up until something forces the comparison.

u/Independent-Ease-609 — 12 days ago
▲ 0 r/Terraform+1 crossposts

Built a deliberately bad Terraform stack to see if my cost tool would actually catch it (spoiler: F, 0/100)

Follow up to my last post, this time I did it on purpose. Put together a "typical prod mistakes" stack: previous gen instances, gp2 everywhere, an orphaned EBS volume, a full size database duplicated into staging and left running 24/7. F, 0/100, about $2,694/mo, with $1,251/mo flagged in savings across 15 recommendations. Image is exported directly from the tool's own Export PNG button, wanted it to look exactly like what you'd see running it yourself, not a mockup.

u/Independent-Ease-609 — 13 days ago
▲ 3 r/Terraform+1 crossposts

I built a VS Code extension that simulates AWS cost changes on Terraform/Terragrunt before you apply them

I've been building a VS Code extension (CloudCostTree) that estimates AWS cost straight from Terraform/Terragrunt, solo project, and just shipped what-if simulation + export.

Flow in the video: analyze a Terragrunt stack, tweak a couple of resources (downsize an EC2, bump an RDS instance class) and see the live cost delta per change, stack them into a scenario, run it against the whole tree, then export the result to a new .tf file — original files never touched.

Runs locally against a static price catalog, nothing gets uploaded anywhere. Free tier covers unlimited analyses/what-ifs; export-to-file is a Pro feature.

Genuinely curious how other people here track infra cost changes before they ship them — happy to answer questions about how the parsing/estimation works under the hood.

u/Independent-Ease-609 — 21 days ago
▲ 0 r/FinOps

5 AWS cost mistakes hiding in plenty of Terraform repos right now — all caught by one CLI command before terraform apply. Here's each one, with the real dollar cost.

01-ebs-gp2-vs-gp3/
Command: cloudcosttree analyze ./main.tf

1/ gp2 EBS volumes. gp3 is cheaper per GB and already bundles 3000 IOPS / 125MB/s at no extra cost — zero tradeoff, pure savings. One 500GB gp2 volume: $10/mo saved by changing one line, type = "gp3".

https://reddit.com/link/1v82ytq/video/q61kt3gwesfh1/player

reddit.com
u/Independent-Ease-609 — 24 days ago

5 AWS cost mistakes hiding in plenty of Terraform repos right now — all caught by one CLI command before terraform apply. Here's each one, with the real dollar cost.

reddit.com
u/Independent-Ease-609 — 24 days ago
▲ 1 r/u_Independent-Ease-609+1 crossposts

Same tool, two completely different AWS setups — full cost tree, resource by resource, before you touch apply. No account, no dashboard. Just point it at your Terraform/CloudFormation/Pulumi/CDK and read the number.

reddit.com
u/Independent-Ease-609 — 26 days ago