MCMMCM DocsEngineering (Internal)
HLDModulesFinOps

Forecast

AWS and Azure forecast collection, schedule, API mapping, and stored forecast fields.

Forecast

The Forecast area generates forward-looking spend projections for supported AWS and Azure accounts. Forecast rows are grouped by account, region, and resource type so they can be compared with cost history and budget thresholds.

For canonical provider and resource terminology, see the Provider and Resource Reference.

Forecast Collection

ParameterValue
GranularityMonthly
ScheduleLast day of every month
Forecast periodNext 12 months from the current month
Invocation scopeOne API call per account, region, and resource type combination
Overwrite policyEach monthly run fully replaces the previous 12-month forecast dataset

Example: a run on July 31, 2025 creates a forecast window from July 1, 2025 through June 30, 2026.

Provider APIs

ProviderRequired PermissionAPI SourceNotes
AWSce:GetCostForecastAWS Cost Explorer GetCostForecastRequires at least 5 weeks of historical cost data for accurate forecasts.
AzureMicrosoft.Resources/subscriptions/locations/read, Microsoft.CostManagement/forecast/readAzure Cost Management Forecast APIForecast data can appear after 7 days of usage; 90+ days is recommended for reliable projections.

References: AWS GetCostForecast and Azure Forecast API.

AWS Flow

  1. Enumerate account, region, and resource type combinations from normalized cost and inventory data.
  2. Call AWS Cost Explorer GetCostForecast for each combination.
  3. Request monthly forecast data for the next 12 months.
  4. Store forecast amount and confidence range when returned by the provider.
  5. Replace existing forecast rows for that account and forecast run.

Azure Flow

  1. Enumerate account, region, and resource type combinations from normalized cost and inventory data.
  2. Read subscription locations so forecast requests use valid Azure region context.
  3. Call the Azure Cost Management Forecast API for each combination.
  4. Request monthly forecast data for the next 12 months.
  5. Store forecast amount and confidence range when returned by the provider.
  6. Replace existing forecast rows for that account and forecast run.

Stored Forecast Fields

FieldTypeDescriptionRequired Behavior
ProviderstringCanonical provider name, such as AWS or Azure.Stored for every record.
Account IDstringAccount identifier from provider onboarding.Stored for every record.
Account NamestringCloud account display name.Stored when available.
RegionstringForecast region.Default to Other when unknown.
Resource TypestringCanonical resource type such as AWS_EC2 or AZURE_VM.Default to Other when unknown.
Cloud CostnumberForecasted cost in billing currency.Skip the record if missing.
Cloud Cost UnitstringBilling currency code.Skip the record if missing.
Forecast Period StartdateStart of the forecast period.Skip the record if missing.
Forecast Period EnddateEnd of the forecast period.Skip the record if missing.

Forecast API Field Mapping

MCM FieldAWS API FieldAzure API Field
Cloud CostMeanValueCost
Cloud Cost UnitUnitCurrency
Forecast Period StartTimePeriod.StarttimePeriod.from
Forecast Period EndTimePeriod.EndtimePeriod.to
Account, Region, Resource TypeFrom request queryFrom request query

On this page