runbooks finops analyze-ec2ΒΆ
enrich | Cost Management
β³ PENDING Β· T:βοΈ V:β³ A:β³ X:β³
EC2 cost analysis with 4-way enrichment.
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 (13)
| Parameter | Type | Default | Description |
|---|---|---|---|
--input/-i |
PATH | - | Input EC2 inventory Excel file (with Identifier, AWS Account, Region columns) |
--output/-o |
PATH | - | Output enriched Excel file (multi-sheet with cost analysis) |
--enable-organizations |
BOOL | True |
Enable Organizations metadata enrichment (default: enabled) |
--enable-cost |
BOOL | True |
Enable Cost Explorer enrichment (default: enabled) |
--enable-activity |
BOOL | False |
Enable CloudTrail activity tracking (default: disabled, takes 60-90 seconds) |
--include-12month-cost |
BOOL | True |
Include 12-month cost breakdown (default: enabled) |
--decommission-mode |
BOOL | False |
Decommission mode: Filter to 45 decision-focused columns (default: disabled, shows all 87 columns) |
--verbose/-v |
BOOL | False |
Show detailed logs |
--format |
CHOICE(compact | table | json) |
--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. |
--cross-validate |
BOOL | False |
Re-derive the primary result from a 2nd independent source and report agreement vs the >=99.5%% accuracy gate. |