7
7
Table of Contents

Cloud adoption has simplified building, scaling, and managing applications across various technology providers. However, as cloud environments grow more complex, their costs can be just as difficult to understand and manage.

One of the biggest hurdles for FinOps teams is that cost and usage data isn't consistent across providers. Different providers can offer similar information under different names, formats, pricing models, and billing policies. This makes it hard to aggregate data and conduct uniform cost analysis.

FOCUS - FinOps Open Cost and Usage Specification addresses this challenge by providing a common standard for representing cost and usage data across providers.

What is FOCUS?

FOCUS (FinOps Open Cost and Usage Specification) is an open specification for establishing a common language and format for cost and usage data.

FOCUS provides a common framework for the information that FinOps teams need to grasp, rather than trying to learn each provider's specific billing structure, including the following:

  • Billing accounts
  • Services
  • Resources
  • Usage
  • Pricing
  • Cost
  • Regions
  • Billing periods
  • SKUs

It is not intended to substitute a provider's billing system. Instead, FOCUS offers a common data model for cost and usage information to be more easily interpreted, normalized and analyzed.

Why Did We Need FOCUS?

For example, let’s take a company which uses several cloud providers.

Each supplier generates billing data, but the format of the data may differ. A billing account, resource, use quantity, or pricing idea may be represented differently by one supplier than by another.

Teams might need to do the following before working with data for centralized FinOps reporting:

  1. Know how providers are charging for services
  2. Connect common ideas to provider-specific fields.
  3. Transform the data.
  4. Develop and maintain reporting logic
  5. Resolve discrepancies between the datasets.

This may be challenging to sustain as there are more providers and services.

By establishing consistent fields and, crucially, standardized meanings for those fields, FOCUS tackles this issue.

This helps the FinOps practitioner to work with common concepts instead of every time starting from the provider's terminology.

What is a FOCUS Cost and Usage Report?

A FOCUS Cost and Usage Report ( FOCUS CUR ) is a cost and usage report that transforms billing data into the standard definitions and format defined by FOCUS.

Cloud providers can generate or export cost and consumption data in the FOCUS format allowing FinOps teams to leverage a more uniform dataset across providers.

A FOCUS CUR provides standardized fields and definitions that can be used for common FinOps analysis without having to deal with each provider’s native billing export.

Without FOCUS:

  • AWS Billing Data → Provider-specific format
  • Azure Billing Data → Provider-specific format
  • GCP Billing Data → Provider-specific format
  • SaaS Billing Data → Provider-specific format

With FOCUS:

FOCUS provides a common structure and terminology to make it simpler to combine, compare and analyze cost and usage data from different providers.

FOCUS CUR
Key FOCUS Fields for FinOps Analysis

Key FOCUS Fields for FinOps Analysis

For complete provider-specific FOCUS CUR Columns:  FOCUS Column Library Document

Understanding Cost Perspectives in FOCUS

FOCUS gives you different ways to look at cloud costs. Four important cost fields are

Four important cost fields in FOCUS

Together, these fields provide different perspectives for understanding cloud costs, pricing, discounts, and amortization.

Understanding the FOCUS Schema

Think about the questions a FinOps team will ask while considering a cost in order to comprehend the FOCUS structure. 

1. Who bears the expense?

Details about the account types associated with a charge are given through such elements as BillingAccountId and SubAccountId.

This information can be used to structure the costs by business unit, account, project, subscription, and other organizational units the provider supports.

2. Why was the cost incurred?

Information on the service, resource, and SKU connected to a charge can be found in fields like ServiceName, ResourceId, ResourceName, and SkuId.

This is to help teams move from an "at the top of the pile" approach to an "under the pile" understanding of what is driving the costs. 

3. When was the charge imposed?

Fields like BillingPeriodStart, BillingPeriodEnd, ChargePeriodStart, and ChargePeriodEnd are included in FOCUS. 

These provide the time frame needed to understand the chronology of the underlying charges and the amount of charges that were billed

4. Where was the expense incurred?

Location information is returned through one of the fields such as RegionId, RegionName and, if applicable, AvailabilityZone. 

This can help businesses to track costs based on the geolocations of resources or services. 

5. How much was consumed? 

The terms consumed quantity and consumed unit refer to the quantity of a resource or service used as well as the unit of measurement.

6. What was the price of the consumption?

Additionally, FOCUS uses parameters like PricingQuantity and PricingUnit to distinguish between pricing and consumption. 

This is important since the number of units or quantity that is used to calculate price may not necessarily be the same as that used to measure consumption. 

Put together, these concepts yield a coherent concept of a charge.

Who → What → When → Where → How much was consumed → How was it priced → What did it cost?

How FOCUS can support FinOps.

The standardized cost and usage data, offered by FOCUS can help with various FinOps activities.

1.  Allocation of Costs

Organizations can assign expenses to the right teams, projects, or business units with the aid of standardized account, service, resource, and cost data.

2. Chargeback and Showback

Companies can assign costs back to the teams in charge of them or utilize common cost dimensions to give visibility into spending.

3. Forecasting and Budgeting

A solid basis for comprehending spending trends and creating estimates can be provided by consistent historical cost data.

4. Optimization of Costs

Teams can evaluate prices and find chances for reductions, commitments, and rate optimization by using several cost perspectives.

5. Invoice Reconciliation

Teams can use billing period and cost information to compare cost data with invoiced amounts and investigate differences.

6. Reporting on Multiple Clouds

Integrating cost data from several sources into consolidated FinOps reporting can be made easier with a shared model.

The Bigger Picture

As businesses deploy different cloud computing and technology services, they accumulate an increasing amount of cost data from different sources, a challenge managed by Cloud FinOps teams. 

The challenge is not limited to:

"How much did we spend?"

Can we consistently understand, compare, allocate, and optimize that spending?

FOCUS offers a common structure for cost, usage, pricing, resources, services, and billing information which enables organizations to work with cost information in a consistent manner with providers. 

Reporting → Allocation → Reconciliation → Forecasting → Optimization

Finally, FOCUS simplifies the interpretation, comparison and action on cost and usage information.

AWS: Exporting Cost and Usage Data in FOCUS Format

AWS provides Data Exports through the Billing and Cost Management console.

  1. Navigate to AWS Console → Data Exports → Billing and Cost Management.
  2. Choose Standard data export after selecting Create.
  3. Choose FOCUS with AWS columns under Data table content settings.
  4. Choose a version of the FOCUS table, such as FOCUS 1.2 (Latest Version).
  5. Set up the necessary column choices and time granularity.
  6. Configure the file format and file versioning parameters under Data export delivery choices.
  7. Select  or set up an Amazon S3 bucket as the destination under Data export storage settings.
  8. Select Create after entering the S3 path prefix.

  AWS — Required Permissions

  • IAM: bcm-data-exports:CreateExport to create the export.
  • S3: The destination bucket must allow AWS Data Exports to write the exported files (s3:PutObject and s3:GetBucketLocation).

Export flow:

AWS Billing & Cost Management → Data Exports → FOCUS with AWS columns → FOCUS 1.2 → Amazon S3

Export FlowExport FlowExport FlowExport Flow

Export Flow
GCP: Exporting Cost and Usage Data in FOCUS Format

Google Cloud provides a dedicated FOCUS usage cost export through Cloud Billing, with the exported data stored in BigQuery.

  1. Navigate to Google Cloud Console →  Billing → Billing export.
  2. To export data, select the Cloud Billing account.
  3. Select "Enable FOCUS export" after opening the BigQuery export tab.
  4. The Google Cloud project where the FOCUS dataset will be kept can be chosen or created ( Google-provided immutable BigQuery dataset ).
  5. Set up the location and necessary permissions for the supported dataset.
  6. To activate the export, click Save.

Export Flow: Google Cloud Console → Billing → Billing Export → BigQuery Export → Enable FOCUS Export → Select Project & Location → BigQuery

GCP - Required Permissions

  • Billing: Billing Account Costs Manager or Billing Account Administrator.
  • BigQuery: BigQuery Admin on the destination project or permissions to create datasets and tables (bigquery.datasets.create, bigquery.tables.create)

GCP - Required PermissionsGCP - Required Permissions

Azure: Exporting Cost and Usage Data in FOCUS Format

Azure allows FOCUS-formatted cost and usage data to be exported through Cost Management Exports to an Azure Storage account.

  1. Navigate to Cost Management → Billing Account → Reporting + analytics → Exports → + Create → Make your own export.
  2. Choose Dataset, and FOCUS (1 0r 2) outputs with daily and month-to-date frequency after setting the prefix.
  3. Choose Azure Storage as the destination: Parquet, Snappy, overwrite enabled.
  4. Choose Review + Create.

Export Flow:

Azure Portal → Cost Management → Exports → FOCUS → Azure Storage

Azure - Required Permissions

Required permissions: Cost Management Contributor on the target subscription and Storage Account Contributor on the destination Azure Storage account.

Azure - Required PermissionsAzure - Required PermissionsAzure - Required PermissionsAzure - Required Permissions

Takeaways

When providers display cost and usage statistics in diverse ways, managing cloud costs becomes more difficult. This data is standardized (standard format and vocabulary) by FinOps Open Cost and Usage Specification (FOCUS). 

This gives FinOps teams a reliable basis for:

Reporting → Allocation → Reconciliation → Forecasting → Optimization

Ultimately, FOCUS isn't solely about standardizing billing data. As companies evolve their tech landscapes, which are becoming increasingly varied, a shared language for cost and usage information can become a key element of good FinOps.

However, the trouble with FOCUS is that it's not just about standardizing billing data. As organizations spread across more and more cloud and technology providers, a common language for cost and usage data becomes critical to FinOps success, making the data easier to understand, compare, and act on.

12
Let's discuss your cloud challenges and see how CloudKeeper can solve them all!
Meet the Author
  • Akash Rawat
    DevOps Engineer

    I specialize in Google Cloud Platform (GCP), DevOps, and cloud engineering, with a strong focus on optimization, and designing scalable, secure, and reliable infrastructure.

No Comments Yet
Leave a Comment
Certified. Trusted. Industry Recognized.

Stop paying for cloud tools. Start paying for outcomes.

Get Started with CloudKeeper