Skip to content
tezvyn:

Cloud Rightsizing: Stop Overpaying for VMs

Source: finops.orgMediumHow cards are made

Cloud Rightsizing: Stop Overpaying for VMs

Rightsizing stops you from overpaying for idle cloud capacity. It involves analyzing CPU and memory usage to shrink over-provisioned VMs. Always collaborate with application owners before making changes.

Why it exists

Cloud providers make it easy to provision powerful resources, but it's just as easy to over-provision and waste money on idle capacity. Rightsizing exists to systematically correct this overspending by aligning resource capacity with actual application needs, ensuring you only pay for what you truly use.

The mental model

Think of rightsizing like choosing the right size moving truck. You wouldn't rent a semi-trailer to move a studio apartment's contents. Similarly, you shouldn't run a small application on a massive virtual machine. Rightsizing is the process of checking your VM against its workload and swapping it for a more appropriate, cheaper model if it's too big.

How it works

The process is a collaboration. First, a FinOps practitioner uses a tool like Azure Advisor to identify underutilized VMs by analyzing CPU and memory metrics over a 30-to-90-day lookback period. Second, these findings are presented to the application owners and engineers. This is a crucial checkpoint to discuss the workload's performance profile, including any periodic spikes or special vendor requirements. Third, after getting buy-in, the team coordinates the resize, ideally testing the new configuration in a non-production environment first. Finally, the team reports on the cost savings and continues to monitor performance.

When to use it

Apply rightsizing continuously for any long-running virtual machines, especially in development and staging environments which are often over-provisioned. It's a core practice for managing cloud costs, particularly for stable workloads with predictable usage patterns where historical data is a reliable predictor of future needs.

When not to use it

Avoid rightsizing without sufficient data; a short lookback period might miss quarterly or monthly peaks. Do not resize mission-critical applications without thorough performance testing and a rollback plan. Be cautious with workloads that have very spiky, unpredictable traffic, as average utilization metrics can be misleading and lead to performance bottlenecks. Also, do not resize if it violates a software vendor's specific hardware requirements.

One canonical example

A FinOps analyst sees a VM with an average CPU utilization of 5% over the last 90 days. They propose downsizing it from a Standard_D8s_v3 (8 vCPUs) to a Standard_D2s_v3 (2 vCPUs). They present this data to the app owner, who confirms the service only runs intensive jobs overnight. After a successful test, they apply the change, reducing the VM's cost by about 75% without impacting performance.

Interview question

Which scenario poses the greatest risk or challenge for a cloud rightsizing initiative?

  • a.A critical production application experiencing unpredictable traffic spikes and having specific vendor hardware mandates.Correct
  • b.A development VM with consistently low CPU usage over 90 days.
  • c.A staging environment VM primarily used during scheduled weekly tests.
  • d.A stable, long-running analytics service with predictable resource consumption.
Why?

The card explicitly states to avoid rightsizing workloads with spiky, unpredictable traffic and to be cautious with mission-critical applications or those with vendor-specific hardware requirements. The other options describe ideal candidates for rightsizing due to their stable or consistently low utilization.

Just read this? Test yourself on what you have been reading.

Read the original → finops.org

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles