runbooks finops ec2-decommission-analysisΒΆ
enrich | Cost Management
β³ PENDING Β· T:βοΈ V:β³ A:β³ X:β³
EC2 decommission analysis with E1-E7 scoring framework.
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 (7)
| Parameter | Type | Default | Description |
|---|---|---|---|
--input/-i |
PATH | - | Input EC2 inventory Excel file (with instance_id, account_id, region columns) |
--output/-o |
PATH | - | Output enriched Excel file with decommission analysis |
--enable-expensive-signals |
BOOL | False |
Enable expensive signals (CloudTrail activity, SSM, Compute Optimizer) |
--output-dir |
PATH | . |
Destination folder for cost reports β wrong path = exports silently overwrite each other or land in an unreviewed... |
--profile |
STRING | - | AWS profile (KISS: auto-resolves management/billing/ops from AWS_MANAGEMENT_PROFILE, AWS_BILLING_PROFILE env vars) |
--all-profile |
STRING | - | Multi-Account: management profile for Organizations + Cost Explorer across all accounts. |
--input-sheet |
STRING | ec2 |
Sheet name to read from input Excel file (default: 'ec2'). |