optimize_commitment
Compare compute commitment scenarios to find the lowest 3-year TCO. Get monthly cost, upfront, savings %, and payback months for each option, plus a recommendation.
Instructions
Compute per-scenario cost / savings / payback for compute commitment options (none, 1yr_no_upfront, 1yr_all_upfront, 3yr_no_upfront, 3yr_partial_upfront, 3yr_all_upfront). Returns each scenario's monthly cost, upfront, 3-year total, savings %, and payback months — plus the recommended scenario by lowest 3-year TCO. Compute-only (storage / database / object / egress are not discounted because most clouds don't offer meaningful commitments on these). Per-family RI tiers come in v0.6.x; v0.6.0 uses cloud-level conservative averages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | No | Cloud to evaluate (default: source_cloud, then 'aws'). | |
| egress | No | ||
| compute | Yes | ||
| storage | No | ||
| multi_az | No | ||
| one_time | No | ||
| databases | No | ||
| scenarios | No | Subset of commitment scenarios to evaluate. Default: all 6. | |
| source_cloud | No | Cloud the workload currently runs on. | |
| object_storage | No |