The Commitment Advisor can pull your real EC2 usage directly from AWS Cost Explorer so the Shaved Ice algorithm runs on your actual production data — not example numbers. This takes about 5 minutes to set up.
When you click Connect in the Commitment Advisor, the Cloud-9 API calls ce:GetCostAndUsage on the AWS account whose credentials are configured. It retrieves your daily EC2 instance-hour totals for the last 30 days and sends them to the optimizer. No data is stored — it's used in-memory for that session only.
AWS blocks billing data from IAM users by default. A root account holder must enable it once.
Cost Explorer must be turned on before any API calls work (free to enable, charges ~$0.01 per API request).
Create a minimal policy that grants only what's needed.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ce:GetCostAndUsage",
"ce:GetCostForecast"
],
"Resource": "*"
}
]
}Cloud9CostExplorerReadOnly and saveCloud9CostExplorerReadOnly → check it → Next → Add permissionsGo back to the Commitment Advisor tab and click Connect.
You should see one of: