Skip to content

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

runbooks finops ec2-decommission-analysis --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops ec2-decommission-analysis --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 (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').