Free tech learning for everyone, from basics to pro

Cloud FundamentalsCloud SecurityBeginner

Cloud costs and FinOps: pricing models, tagging, budgets and rightsizing

In short: Cloud is billed by use, so cost is an engineering concern, not just a finance one. FinOps is the practice of making spend visible, cutting waste and buying wisely. Tags, budgets with alerts, rightsizing and commitment discounts are the main tools, and unexpected spend can also be a sign of compromise.

How cloud pricing works

You pay for what you use: compute per second, storage per gigabyte-month, requests per million, and data transfer per gigabyte. That flexibility is great for experiments, but it means a forgotten test server keeps charging until someone notices.

Pricing modelHow it worksBest for
On-demandFull price, no commitmentShort or unpredictable workloads
Commitment (reserved instances, savings plans)Discount for committing to 1 or 3 years of usageSteady, always-on workloads
Spot / preemptibleDeep discount on spare capacity that can be reclaimed at short noticeFault-tolerant batch jobs, test environments
Free tierLimited free usage, often for 12 months or always-free amountsLearning and labs

The FinOps cycle

FinOps (cloud financial operations) brings engineers, finance and managers together to make cost-aware decisions. The FinOps Foundation describes it as a cycle of three phases.

The FinOps cycleInformsee and allocate costOptimiserightsize, commitOperategovern and improve
Figure 1. FinOps is a repeating loop: make costs visible, reduce waste, then build habits and controls.
  • Inform: tag resources, split costs by team or project, and show each team its own spend.
  • Optimise: remove waste, rightsize, buy commitments for steady load, and use cheaper storage tiers.
  • Operate: set policies, budgets and reviews so good habits stick.

Tagging, budgets and alerts

Tags are key-value labels such as Owner=netops, Environment=prod and CostCentre=1234. Without them you cannot tell who owns a resource. Enforce required tags with policy so untagged resources are blocked or flagged.

Budgets send alerts when actual or forecast spend crosses a threshold. A budget with email alerts at 50, 80 and 100 percent takes minutes to set up:

az consumption budget create --budget-name lab-budget --amount 20 --category cost --time-grain monthly --start-date 2026-11-01 --end-date 2027-10-31

Tip: a sudden spike in spend, such as GPU instances in a region you never use, can be the first sign of stolen credentials being used for crypto-mining. Treat cost alerts as security signals too.

Rightsizing and common surprises

Common bill surprisesIdle VMsleft runningOrphan disksafter VM deletedNAT dataper GB processedEgressdata leaving cloudLog volumeverbose ingestionPublic IPscharged when idle
Figure 2. Typical items that make a cloud bill higher than expected.
  1. Find idle or underused resources using the provider's advisor tool or monitoring data.
  2. Rightsize: pick a smaller instance size if CPU and memory stay low for weeks.
  3. Schedule non-production systems to stop at night and weekends.
  4. Delete unattached disks, old snapshots and unused public IP addresses.
  5. Reduce data egress with caching, CDNs and private endpoints.
  6. Commit only to the steady baseline you are sure of.

Avoid cutting security to save money. Turning off logging or backups looks cheap until you need them. Tune log levels and retention instead.

Practice

Your web tier runs at a steady load all year. Which pricing model saves most?
A commitment model such as a savings plan or reserved capacity for that baseline.
Why are tags essential to FinOps?
They let you assign every cost to a team, project or environment, which makes owners accountable and waste visible.
A budget alert fires for unexpected compute in an unused region. What might it mean?
Possibly compromised credentials used for crypto-mining; investigate it as a security incident.

Key takeaways

  • Cloud is pay-per-use, so engineers influence cost directly.
  • FinOps loops through inform, optimise and operate.
  • Tags and budgets give visibility and early warnings.
  • Rightsize, schedule, clean up and commit to the steady baseline.
  • Unexpected spend can be a sign of compromise.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.