The cloud brought unprecedented flexibility to companies, allowing resources to be provisioned with clicks. However, without active governance, this ease translates into inflated cloud bills and operational waste that erode business margins. This is where FinOps (Financial Operations) comes in.
In this article, we will cover practical techniques that our engineering team applies in our cloud infrastructure and FinOps consultancy to audit and optimize costs in AWS environments. The AWS CLI commands are in audit the bill with the AWS CLI.
1. Identifying Oversized Instances (Right-sizing)
The most common mistake in cloud infrastructures is overprovisioning. Developers often choose instances with more CPU and RAM than the application actually needs "just in case."
How to act:
- Monitor historical CPU and memory usage using tools like AWS Compute Optimizer or CloudWatch. Memory only shows up when the CloudWatch agent is installed on the instance.
- If an EC2 instance's average CPU utilization is below 20% for more than 14 days, downgrade to a smaller size (e.g., from
t3.xlargetot3.medium). - Consider migrating to Graviton-based instances (types with a g suffix, such as
m7gandt4g), which offer better cost-performance ratios for Node.js and databases.
2. Cleaning Orphaned Resources and Idle Storage
Many companies pay for resources that are no longer connected to any active system.
What to audit:
- Orphaned EBS Volumes: When an EC2 instance is deleted, the storage disks (EBS) often continue to exist and be charged. Delete volumes that are in the
availablestate, after the team confirms none of them holds data that is still needed. - Unused Elastic IPs (EIP): Since February 2024, AWS charges an hourly fee for every public IPv4 address, associated or not. An EIP reserved in your account with no association is pure cost with no use.
- Old Snapshots: Poorly configured backup policies generate daily snapshots that are never deleted, quietly accumulating costs on the EBS snapshot storage line.
3. Strategic Use of Reserved Instances and Savings Plans
For workloads that run 24/7 (such as production servers), paying the On-Demand price is the most expensive option.
The strategy:
- Apply Savings Plans or purchase Reserved Instances to get discounts of up to 72% in exchange for a commitment to use them for 1 or 3 years.
- Leave the on-demand price only for temporary testing or staging environments, which can be turned off outside business hours.
4. Average CPU before the downgrade
The audit of unattached volumes, addresses, and snapshots is in audit the bill with the AWS CLI. Right-sizing uses CPU from the last 14 days. Replace the instance ID and the region:
aws cloudwatch get-metric-statistics \
--namespace AWS/EC2 \
--metric-name CPUUtilization \
--dimensions Name=InstanceId,Value=i-0123456789abcdef0 \
--start-time 2026-09-17T00:00:00Z \
--end-time 2026-10-01T00:00:00Z \
--period 86400 \
--statistics Average Maximum \
--region sa-east-1 \
--output table
Each row is one day. An Average under 20% across the 14 points supports the downgrade. A Maximum of 90% in the middle of the series is a spike, and the smaller size has to fit that spike or autoscaling covers the gap. Memory is not in this namespace. For RAM, you need the CloudWatch agent on the operating system, which publishes mem_used_percent in the CWAgent namespace.
Where the FinOps saving does not apply
The cut fits a resource with no measured use: an unattached disk, a test environment, an address with no association. It does not fit a reservation that covers a real spike, or a log the contract requires you to keep.
Example: deleting the 90-day snapshot of a volume nobody mounts removes that line. Deleting yesterday's snapshot of the orders database saves the same kind of line and removes the restore. Name what the snapshot protects before you delete it.
Conclusion
FinOps is not a one-time project, but a culture of continuous improvement. By regularly auditing these pillars, your business keeps the infrastructure fast and resilient, ensuring that every cent invested in the cloud generates real value for the operation.