1. Moving from CapEx to OpEx #
How the cloud transforms IT accounting.
The end of 5-year depreciation #
In the traditional model (CapEx), you buy hardware. In the cloud (OpEx), you pay a variable monthly bill. This requires constant monitoring to avoid 'cloud waste' (resources paid for but not used).
2. The 3 phases of the FinOps framework #
- Inform: give visibility into costs by team through tagging.
- Optimize: use reserved instances or right-size oversized resources.
- Operate: automate day-to-day financial governance.
3. Savings strategies #
Using 'spot' instances (up to 90% discount) for non-critical tasks and automatically shutting down test environments on weekends are quick wins for any FinOps program.
Hands-on: measuring and reducing costs #
FinOps commands and queries.
Visualizing costs #
# Coût par service sur le mois (AWS)
aws ce get-cost-and-usage --time-period Start=2026-10-01,End=2026-11-01 --granularity MONTHLY --metrics UnblendedCost \
--group-by Type=DIMENSION,Key=SERVICE | jq -r '.ResultsByTime[].Groups[] | [.Keys[0], .Metrics.UnblendedCost.Amount] | @tsv' | sort -k2 -nr | head
# Ressources inutilisées : volumes détachés et IP non associées
aws ec2 describe-volumes --filters Name=status,Values=available --query 'Volumes[].[VolumeId,Size]' --output table
aws ec2 describe-addresses --query 'Addresses[?AssociationId==null].PublicIp'
# Azure / GCP
az consumption usage list --top 20 -o table
gcloud billing accounts listThe three levers #
- Rightsizing: adjust instance size to actual consumption (
kubectl top, CloudWatch metrics). - Commitments: Reserved Instances / Savings Plans for stable workloads.
- Cleanup and scheduling: shut down non-production environments at night and on weekends.
# Étiquetage obligatoire pour répartir les coûts
aws ec2 create-tags --resources i-0123456789abcdef0 --tags Key=equipe,Value=paiement Key=env,Value=prod
kubectl scale deployment --all --replicas=0 -n dev # extinction nocturne des environnements de devMy progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Controlling your AWS costs: pricing models, budgets and optimization
Understand and optimize the AWS bill: cost drivers (compute, storage, data transfer), Cost Explor...
Cloud best practices: security, resilience, costs and operations
Cloud computing best practices: pillars of a well-architected design, IAM and least privilege, mu...
The 6 Rs: cloud migration strategies
Discover the different approaches for moving your on-premises infrastructure to the cloud.
Stop moving to the Cloud, to micro-services...
I will certainly shock more than one person in this article, but don't hesitate to read to the en...
Datadog costs and governance: usage, attribution, RBAC and tag policies
Control the bill and govern Datadog: tracking usage and estimates, cost attribution per team, usa...
CaaS: state of the art and best practices
Container as a Service (CaaS) is a cloud computing model that lets companies manage and deploy ap...
Platform engineering, FinOps and AI: the new frontiers of DevOps
Understand how DevOps is evolving: platform engineering and internal developer platforms (IDP), g...
Compute on AWS: EC2, Auto Scaling, Lambda and containers
Choose and use AWS compute services: EC2 instances (types, AMIs, EBS, user data, purchasing model...
Understanding Google Cloud: regions, projects, hierarchy, tools and pricing
Google Cloud basics: regions and zones, the organization, folders and projects hierarchy, APIs to...