Skip to main content
rightsizing · aws

Low-utilisation m5, c5 and r5 instances with a cheaper same-size successor

resource types
1
rule IDs covered
1
severity
low

What does ZopNight detect here?

EC2's m5, c5 and r5 families have same-size current-generation successors (m6i, c6i and r6i) at a lower on-demand rate. ZopNight recommends the swap only for instances averaging under 10% CPU over 30 days, pricing the saving from real catalog rates and abstaining below $5 a month.

Signal and threshold

How ZopNight evaluates Low-utilisation m5, c5 and r5 instances with a cheaper same-size successor.
Field Value
Rule IDsRC-092
Categoryrightsizing
Severitylow
Metricnone — pure configuration read
Sourceec2_cross_family.go

The cheapest migration in EC2

A same-size generation swap (m5.xlarge to m6i.xlarge, c5.2xlarge to c6i.2xlarge, r5.large to r6i.large) keeps the vCPU count, the memory and the x86 architecture, and pays a lower on-demand hourly rate for newer silicon. There is no re-architecture: stop the instance, change the type, start it. The per-instance delta is small in percentage terms, which is exactly why the rule prices it from the real catalog instead of waving at a marketing figure.

Every gate between a candidate and a finding

  • The instance is running and its type starts with m5, c5 or r5.
  • Average CPUUtilization, reported natively by EC2 to CloudWatch, is under 10% over the 30-day window. When the CPU series is missing this suppressor cannot run and the rule proceeds. CPU here is an optional veto against migrating a busy box, not required evidence.
  • CloudWatch-agent memory data, when present, gets its own veto: high measured memory use blocks the recommendation, since a memory-tight box should not be touched on CPU evidence alone.
  • A monthly cost figure exists, both SKU on-demand rates are known, the successor’s rate is genuinely lower, and the computed saving clears $5 a month. Any gap in the rate data means abstain, never an estimated fraction.

The arithmetic

Terminal window
savings = monthly cost x (1 - successor rate / current rate)

Both rates are live on-demand catalog prices for the exact SKUs in the instance’s region, and the recommendation quotes them per hour.

See your candidates

Terminal window
aws ec2 describe-instances \
--filters Name=instance-state-name,Values=running \
"Name=instance-type,Values=m5.*,c5.*,r5.*" \
--query 'Reservations[].Instances[].[InstanceId,InstanceType]' --output table

Instances it deliberately skips

  • m4, c4 and r4 types: those are pre-Nitro families owned by a separate rule, so one instance never receives two migration findings.
  • ECS-managed instances, since their priced monthly blends in a management fee that would overstate the saving, and the fleet is not individually resizable anyway.
  • Anything whose swap would change CPU architecture: a cold resize keeps the x86 boot volume, so Graviton targets are never suggested by this rule.

See it fire on your bill.

Connect an account read-only. The first findings land in minutes.

417 rule families across 353 resource types on 22 platforms. Every threshold, metric, and IAM action is documented on these pages before you grant anything.

417 rule families documented
353 resource types covered
read-only default access level
Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console·