Explore / Build the product / Cloud and AI costs

Cloud and AI costs · Starting Up

What is cloud cost optimization, and what does rightsizing mean?

Checked 24 November 2026

Cloud cost optimization means paying only for capacity you use: switch off what is idle, rightsize what runs, then commit to discounts for the steady part. Rightsizing is matching each server or database to its real load, usually by moving down a size after a couple of weeks of usage data.

By case

  • If an instance's CPU and memory stay low for weeks

    Move it down a size and watch it for a week.

    That is the most common rightsizing finding and the easiest to reverse.

  • If load is spiky

    Scale with demand rather than sizing for the peak.

    AWS's cost principles call this adopting a consumption model.

  • If usage is flat and predictable

    Commit with a Savings Plan on AWS or a committed use discount on Google Cloud, after rightsizing.

    AWS Savings Plans take up to 72% off On-Demand, but only on capacity you will keep using.

  • If you run Kubernetes

    Measure cost per namespace with OpenCost before resizing anything.

    Cluster bills hide which service is oversized.

The steps4 steps

  1. Switch off what does not need to run, such as test environments at night and unattached disks.

    The official page on docs.aws.amazon.com

  2. Read the rightsizing findings in AWS Compute Optimizer or Google Cloud's Recommender and move oversized resources down a size.

    The official page on docs.aws.amazon.com

  3. Commit to a discount for the steady baseline only after rightsizing.

    The official page on aws.amazon.com

  4. Repeat the review every month, since load and prices change.

The figuresEach with where it was read

What goes wrong

  • Rightsizing on a quiet day's data, then falling over at the month-end peak.

  • Committing to a discount before rightsizing, so you lock in capacity you did not need.

  • Treating it as a one-time clean-up and letting the bill drift back.

Go deeper6 sources

  • What is AWS Compute Optimizer?

    Amazon Web Services · docs.aws.amazon.com · Official

    AWS's documentation on rightsizing recommendations and idle-resource findings.

  • AWS Compute Optimizer pricing

    Amazon Web Services · aws.amazon.com · Official

    AWS's page confirming its rightsizing and idle-resource tool is free and what it reads.

  • Cost optimization design principles (AWS Well-Architected Framework)

    Amazon Web Services · docs.aws.amazon.com · Official

    The cost pillar of AWS's Well-Architected Framework: the principles behind every saving, in AWS's own words.

  • Active Assist and Recommender (Google Cloud)

    Google Cloud · docs.cloud.google.com · Official

    Google Cloud's own recommendations for idle resources, rightsizing and cost, the equivalent of Compute Optimizer.

  • AWS Savings Plans

    Amazon Web Services · aws.amazon.com · Official

    AWS's page on the commitment discount to use once usage is steady.

  • OpenCost

    OpenCost project · opencost.io · Tool

    The open source standard for measuring and splitting Kubernetes spend.