Skip to content

runbooks finops detect-rds-idleΒΆ

enrich | Cost Management

⏳ PENDING Β· T:βœ”οΈ V:⏳ A:⏳ X:πŸ”’

Detect idle RDS instances using CloudWatch metrics and produce a scored decommission candidate list.

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

Single account

runbooks finops detect-rds-idle --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops detect-rds-idle --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: CF16

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)
--lookback-days INT 7 Analysis period in days for CloudWatch metrics (default: 7)
--connection-threshold INT 10 Daily connection threshold for idle detection (default: 10)
--cpu-threshold FLOAT 5.0 CPU percentage threshold for idle detection (default: 5.0)
--export-json BOOL False Export results to JSON file
--output-file PATH - Output file path for JSON export
--output-dir PATH . Destination folder for cost reports β€” wrong path = exports silently overwrite each other or land in an unreviewed...
--cross-validate BOOL False Re-derive the primary result from a 2nd independent source and report agreement vs the >=99.5%% accuracy gate.