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
Org-wide (Landing Zone)
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. |