Skip to content

runbooks finops optimize-cloudwatch-costsΒΆ

enrich | Cost Management

⏳ PENDING Β· T:βœ”οΈ V:⏳ A:⏳ X:βž–

Analyze and optimize CloudWatch log retention costs.

Analyzes AWS/Azure cost data via Cost Explorer API for optimization opportunities

Single account

runbooks finops optimize-cloudwatch-costs --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops optimize-cloudwatch-costs --all-profile $AWS_BILLING_PROFILE

Show a Cost Management analyzes aws/azure cost data via cost explorer api for optimization opportunities summary for last month across all accounts and flag any anomalies above the 20% threshold.

☁️ Cloud Foundations: CF15

All Parameters (10)
Parameter Type Default Description
--profile STRING - AWS profile for single-account operations.
--region STRING ap-southeast-2 AWS region override (default: ap-southeast-2)
--dry-run BOOL True Safe analysis mode - no resource modifications (enterprise default)
--regions STRING - AWS regions to include in cost analysis β€” omitting regions with active workloads = missing spend in the report.
--mcp-validation BOOL False Enable MCP validation for cost projections
--format/--export-format CHOICE(json csv markdown)
--output-file PATH - Output file path for results export
--output-dir PATH . Destination folder for cost reports β€” wrong path = exports silently overwrite each other or land in an unreviewed...
--executive BOOL False Executive summary format (business narrative, <5 min review)
--cross-validate BOOL False Re-derive the primary result from a 2nd independent source and report agreement vs the >=99.5%% accuracy gate.