This work is licensed under CC BY 4.0 - Read how use or adaptation requires attribution

Accurate Cloud Forecasts

Abstract

How finance, operations, and executives build models to forecast cloud spend and allocate budgets to business units.

Introduction

You should understand the basics of how cloud works, specifically you should know the key services around compute and storage for the cloud providers your organization is using and their billing and pricing models. You will also need to understand financial processes around forecasting, budgeting, procurement, and allocations.

Depending on the cloud providers your organization is using, you can gain some of this knowledge through training and certifications. Specifically for AWS we recommend the AWS Cloud Practitioner certification, for Google the Google Cloud Platform Fundamentals course, and for Azure, the Azure Fundamentals learning path.

How to address cloud forecasting?

Fundamentally there is a potential gap between engineers, finance, and procurement where finance has financial reporting responsibilities, and procurement has accounting responsibilities, and both need assistance from engineers and leadership to meet these obligations.

In this section we are going to analyze the challenge around cloud forecasting to identify how we can overcome it and we will also provide examples of how companies of different types and FinOps maturity levels tackle cloud forecasting.

What are the challenges with cloud forecasting?

Unfortunately there is no one forecasting method that fits all situations.

Cloud spend is variable which is inherently difficult to predict. Specifically engineers can start workloads at any time typically without having to go through a procurement process.

Forecasting cloud-provider consumption as product or service consumption requires specific data and tooling to be consistently available. Billing and reporting from cloud providers is difficult to understand and explain to traditional finance teams.

Workloads need to be clearly defined whether through tagging or account structures so that cost can be attributed back to them and their owners.

Breaking the challenge into addressable parts

Tagging and cost allocation

Tagging or labeling is the foundation of telling apart workloads in the cloud, identifying ownership, and attributing costs to teams. Depending on the maturity of the organization, tagging may be manual, use automated tag hygiene monitoring, or integrated in CI/CD pipelines with tag-or-terminate policies in place.

Even in a best case scenario where everything taggable has been tagged in the cloud, not all cloud resources support tagging. This means that untaggable costs, like network traffic, need to be apportioned to the workloads responsible for incurring their cost.

To be able to identify ownership and attribute cost back to teams, additional tags are needed like for example cost center, VP, business unit, department, or owner, which is typically the engineer or automation that launched the workload. Which of these tags your organization will use depends on the tagging standard and your organizational structure.

Tags may also change over time, when applications are decomposed into micro services, or when organizational changes require a renaming of tags. Any system relying on tags needs to be able to handle versioning of tags to follow these changes and represent cost data accurately.

Communication

A key capability of FinOps is to enable communication between executives, finance, business, and engineers. FinOps practitioners need to strive to build a culture of communication to enable fast and high quality decision making.

A common challenge in cloud forecasting related to communication is that the people working on a forecast are not being included in decisions that substantially impact the forecast. This includes project scope changes that affect cloud spend.

Forecast frequency

Finance will have specific requirements of when forecasting is due and how frequently forecast updates are needed. Most common is an annual forecast that is due close to the end of the fiscal year of the company. Intermediate forecasts may be necessary to update budgets based on business drivers.

Forecasting models

Depending on the maturity of an organization, specific prediction models will be easier to implement, for example trend based forecasting versus driver based forecasting. Finance will also have requirements around forecast granularity and frequency depending on their fiscal reporting requirements.

Forecast accuracy

Identifying workloads performing substantially over or under when comparing forecast to actuals. For driver based forecasting identifying why workloads scale differently from their drivers. Layering in discounts, optimizations, and prepayments.

Cloud spend materiality defines where the organization focuses their resources. Lack of cloud forecasting accuracy will not be addressed until it has become a larger problem and has executive attention and sponsorship.

Estimating cloud cost

New cloud workloads that do not exist in the cloud yet, or new features of existing workloads that are a substantial addition, like high availability and disaster recovery or persistency models such as databases being added, will require manual estimating of these new costs.

All major cloud providers offer web-based cost calculators that allow modeling of non-existent workloads in the cloud and provide a cost estimate. However the cost estimate is only as good as the detailed model is. Typically the best resource to build the model is the engineer that is going to launch the new workload as they have in-depth subject matter knowledge.

The challenge here is that the engineer may not have a perfect view of how the actual cloud workload will look once it is launched. Common mistakes are to forget to model a specific aspect of the workload like data transfer, or to overprovision compute resources as utilization in the cloud is not yet known.

An iterative approach is recommended where the engineer revises the initial model and shares the updated estimates with the forecasting team so they can update the numbers in the forecast and layer in the new estimate.

Accountability

Once a forecast is created FinOps can add value by configuring Budget alerts in AWS or spending quota in Azure to support accountability of actuals versus budget.

Cost Optimization

You want to analyze your cloud cost and make sure people are not wasting resources. It is best to look at your data and see if there are any improvements that can be made to your infrastructure. This helps in getting an accurate baseline to be able to forecast from.

Training and improving maturity

FinOps & Technology training (e.g. cheaper services replacing more expensive ones)

Identifying ownership and accountability

Here are common FinOps roles and their responsibilities and expectations as they relate to building accurate cloud forecasts.

See also, Establishing a FinOps Decision & Accountability Structure

Executives

Are the primary sponsors for process improvements around cloud usage. FinOps needs their understanding, buy-in, and support so that improvements can trickle down the organizational hierarchy.

Finance

Is the main consumer of forecasts and will drive frequency, granularity, and quality requirements around forecasting.

Procurement

Has established processes that need to be extended to cloud services and prepayment products such as reservations, savings plans, and committed use discounts.

Cloud Operations

Are engineers tasked with day to day operations in the cloud across all business units. They are responsible for implementing requirements from the FinOps team or Cloud Center of Excellence (CCoE) around governance, efficiency, and security.

Cloud Analytics

Are engineers focussing on visibility and reporting in the cloud across all business units? They are responsible for building actionable, accurate, consistent, near real-time insights for engineers, leadership, and finance based on requirements from the FinOps team or CCoE.

FinOps / CCoE

Gathers requirements for FinOps processes and practices, gets buy-in from executives, and communicates requirements and deliverables to engineering leaders.

Engineering leaders

Communicate FinOps processes and practices to engineers, provide training opportunities, validate that processes are followed, and reward positive outcomes.

Engineers

Are the front-line executioners of FinOps processes and practices. Finance relies on them for quality tagging for cost attribution to be accurate.

How different forecasting methodologies apply to different maturity phases

Forecasting (trend-based)

Uses historic trends to forecast future spend. Ideally this takes seasonality into consideration. Seasonality can include annual peaks during holidays but also daily peaks when more people are using a service during specific hours of the day.

Trend based forecasting will not be able to capture out-of-band events such as launching a new product or feature, launching in a new country, or the effect of TV commercials on consumer behavior.

Driver based forecasting

Uses Key Performance Indicators (KPIs) to forecast the effect on business results. KPIs can be things like active accounts, widgets sold, ad impressions and so forth. The business will forecast the KPIs factoring in organic growth, like more people on the Internet, and inorganic growth, like new launches and marketing efforts. Cloud workloads that scale based on a specific business KPI are forecasted by applying the KPI growth on actual spend.

Driver based forecasting will not be able to forecast workloads that don’t exist in the cloud yet but are planned to be launched in the future.

Rolling Forecast

To predict next month, quarter, and year. It allows companies to adjust their plans based on any shifts in the business such as economic changes, COVID as an example. As the economy changed a rolling forecast would be adjusted to forecast that change and allow the company to alter their plans with the new data.

Static Forecast

Predict for the fiscal year only with no adjustments.

Special projects

Are planned cloud workloads that currently do not yet exist in the cloud. Their cost needs to be estimated by engineers and layered into trend or driver based forecasting to get a complete picture of future cloud spend. Special projects can also be costs that will not materialize on the cloud bill like licensing fees, professional services, or small workloads running on other cloud providers where automation isn’t feasible.

How tools can help with cloud forecasting

Tools are very helpful when it comes to forecasting because they have sophisticated algorithms to apply to your usage/cost data.


Acknowledgements

The FinOps Foundation extends a huge thank you to the members of the Special Interest Group that broke ground on this documentation:

If we’ve missed anyone, let us know. We thank you all for your contributions.

Appendix

Relevant Terms and Concepts

Forecasting

The projections of financial trends that can adjust as new data is available. It is aimed at helping businesses anticipate results and is also used to help create budgets.

Budgeting

An estimate of revenues and expenses companies plan to spend within a time period. This allows for companies to continually track where they are financially.

Cost estimation

The process of quantifying every resource that will be required to complete a project also used to help create budgets.

Cost of goods sold (COGS)

Measures how many dollars of outlay it takes to generate revenues in a specific period. For example if a power company is trucking coal out of storage and into a power plant, it records the cost of the coal burned. That cost has no future benefit, so it’s going to be an expense that is directly traceable to revenue in that period, making it a COGS expense. The test of COGS is: are they directly expensed and directly related to revenues in the same period?

For a company that uses cloud, the COGS are the monthly cloud bill to operate its cloud workloads, salesperson commissions, and support costs. Notably, cloud has the most variable spend model and has a high potential for optimization. You can’t usually materially turn down your sales commissions or terminate your support people, which leaves optimizing your cloud spend without reducing revenue.

When COGS can become capitalized assets

There’s potential to reclassify COGS as capital expenses when it comes to how expenses are used. Let’s say a power company takes some of their coal and uses it to make diamonds. If it burned coal to generate power that was sold for revenue, the company accounts for the cost of the coal as COGS. But if it creates diamonds out of the coal, and those diamonds aren’t sold in the period but instead are put into storage as inventory for future periods, the cost of the coal would then be capitalized as an asset. However, as soon as those diamonds are sold, then the cost of the coal switches back to COGS during the period of the sale.

Capitalized expense (CapEx) versus operational expense (OpEx)

When you capitalize something, it becomes an asset of the company, whether or not it gets expensed within a specific period. The test you can apply is: if an organization writes a check to acquire something, does that acquisition benefit future periods? If it does, then it can be capitalized. If it benefits only the current period, then it’s an expense that is expended in this period with no future benefit, making it an operational expense. Capitalization causes total outlays to differ from expenses in a similar period, with the delta being that which is capitalized.

Unblended rates

Some resources are charged in decreasing rates the more you use them. This means you’re billed different rates for resources as you use more, or for longer periods during the month. By examining your bill, you can see that some resource costs are larger than others, even for the same type of resource or an identical resource. When the rates are presented this way, they’re called unblended.

Amortized costs

Some cloud resources and reservations come with an upfront fee. The amortized cost of a resource takes this initial payment into account and distributes it out based on usage, attributing the prorated cost for each hour of billing.

Fully loaded costs

Fully loaded costs are amortized, reflect the actual discounted rates a company is paying for cloud resources, equitably factor in shared costs, and are mapped to the business’s organizational structure. In essence, they show the actual costs of your cloud and what is driving them.

Cost allocation

The process of splitting up a cloud bill and associating the costs to each cost center. It’s important to have teams understand how costs are being allocated, and to have a centralized, controlled, and consistent cost allocation strategy.

See also, Shared Costs.

Related FinOps Capabilities

Did you find this useful?