KyoMel / Yogyakarta, Indonesia

Term 258258 / 344

FinOps (Cloud Financial Operations)

Month
June 2026
Day
17
Source
2026/june-term.md

Definition:

FinOps (a portmanteau of Finance and DevOps) is an operational framework and cultural practice that brings engineering, finance, and business teams together to manage cloud spending responsibly. It transforms cloud cost from a passive monthly surprise into an active engineering discipline — treating cost efficiency as a first-class concern alongside performance, scalability, and reliability, not as an afterthought discovered when the invoice arrives.

The core idea is simple but powerful: engineers who provision cloud resources should understand what those resources cost — and be empowered to optimize them. Instead of finance teams sending a spreadsheet after the fact, FinOps makes cost visibility part of the engineering workflow.

The FinOps Foundation defines three iterative phases:

  1. Inform — Visibility and allocation. Read the bill, tag resources, identify top cost drivers, establish a baseline.
  2. Optimize — Efficiency through action. Right-size over-provisioned resources, move cold data to cheaper tiers, use Spot instances, purchase commitments in the correct sequence.
  3. Operate — Continuous improvement through automation. Automate orphan cleanup, add cost checks to CI/CD pipelines, build chargeback/showback models, present unit-cost metrics to leadership.

Why sequence matters: The most expensive mistake in cloud cost management is buying Savings Plans or Reserved Instances before right-sizing. You end up paying a discounted price for waste — locked in for 1–3 years. The correct order is: right-size first, then commit.

Analogy — The Grocery Budget 🛒

Imagine you and your roommates share a kitchen. Every week, someone goes to the supermarket and buys whatever they want — organic avocados, premium ice cream, name-brand cereal — and puts it on a joint credit card. At the end of the month, the bill arrives and everyone is shocked. Nobody knows who bought what or why it’s so expensive. Some items spoil before anyone eats them.

FinOps is the solution: You start by reading the receipt (inform). You tag each item with the owner’s name so you know who spent what (tagging). You notice someone has been buying 5 bags of chips every week but only eating 2 — so you buy smaller portions (right-sizing). You switch from name-brand to store-brand on staples (Spot instances). You set a rule: “no single purchase over $50 without group approval” (cost-aware code review). You automate a weekly waste report — expired milk, moldy bread — that flags what to stop buying (orphaned resource cleanup). Now the kitchen runs efficiently, everyone knows their share, and there’s no monthly shock.

Example:

Building a Cost-Aware Infrastructure Pipeline — From Baseline to Block

This example shows a complete mini-FinOps workflow for an AWS environment, following the article’s 4-stage roadmap in practice.

Step 1: Establish a Baseline (Inform)

Pull last month’s cost broken down by service. Save this before any optimization — you cannot measure progress without a baseline. bash Save as aws-baseline-2026-05.txt — compare every future month against this aws ce get-cost-and-usage
–time-period Start=2026-05-01,End=2026-06-01
–granularity MONTHLY
–group-by Type=DIMENSION,Key=SERVICE
–metrics UnblendedCost
–query ‘ResultsByTime[0].Groups[*].{Service:Keys[0],Cost:Metrics.UnblendedCost.Amount}’
–output table | sort -k3 -rn Step 2: Find Right-Sizing Candidates (Optimize)

Run a Python audit to detect EC2 instances running below 20% average CPU for 14 days. These are likely over-provisioned. python import boto3 from datetime import datetime, timedelta

def find_rightsizing_candidates(region=‘us-east-1’): ec2 = boto3.client(‘ec2’, region_name=region) cw = boto3.client(‘cloudwatch’, region_name=region)

reservations = ec2.describe_instances( Filters=[{‘Name’: ‘instance-state-name’, ‘Values’: [‘running’]}] …

Keep reading