EC2 Rightsizing

Infralyst analyzes CloudWatch data across your EC2 fleet and surfaces savings opportunities. When you're ready, generate ready to merge Terraform PRs from Slack or the dashboard.

  • Unlimited free recommendations
  • Read-only IAM role
  • Your team reviews and merges every change
EC2 Recommendations
3 found
ResourceCPUMemoryCurrentRecommendedSavings
api-prod-01us-east-1 · 72 days18%avg 4.2%24%avg 11%m5.2xlargem5.xlarge$47/moGenerate PR
worker-batch-02us-east-1 · 52 days22%avg 8.1%28%avg 12%c5.xlargec5.large$23/moGenerate PR
cache-redis-03us-east-1 · 45 days19%avg 6.8%21%avg 9%r5.larger5.medium$18/moGenerate PR
Analyzed 47 instances across 3 regionsUpdated 2 min ago

You're paying for
EC2 capacity you don't use

Teams pick an EC2 instance type for peak load and move on. Utilization drops, workloads change, but the bill doesn't. Most engineers know this, but actually fixing it means auditing instances across every region, picking the right target type, updating the Terraform, and convincing your team nothing will break. So it never happens.

AWS tools like Cost Explorer and Compute Optimizer will flag the waste. But they stop at a recommendation. Infralyst picks up where they leave off: it analyzes your CloudWatch data, selects a conservative target, and generates a PR your team can review and merge.

How the analysis works

A conservative, multi gate approach. If any check fails, it doesn't get recommended.

1. Collect utilization metrics

Infralyst pulls CPU and memory utilization from CloudWatch for each EC2 instance, using up to 365 days of historical data.

2. Run the analysis gates

Each instance passes through data quality validation, utilization thresholds, and seasonality checks. An instance only gets a recommendation if all gates pass.

3. Generate the recommendation

Infralyst recommends the next size down in the same instance family. When you're ready, an AI agent reads your Terraform, writes the change, and validates it. The analysis is fully deterministic.

Learn more about our methodology

Thresholds & methodology

Every gate and threshold Infralyst checks before recommending rightsizing. These are intentionally conservative. We'd rather miss a savings opportunity than recommend a change that causes problems.

Pre-flight

Ephemeral storageNo instance store volumes
Minimum sizeNot already smallest in family

Data quality

Data window≥ 30 days of metric data
Uptime coverage≥ 95% within the data window

CPU & Memory

P99.5 · 1–60 days (5 min)< 40%
P95 · 60–365 days (hourly)< 40%

Seasonality

For instances with 60–365 days of data, P95 is checked per weekly bucket. If any week exceeds the 40% threshold, the instance is excluded.

Infralyst only recommends stepping down one size at a time. If there's room to go further, it happens across multiple analysis cycles.

What the PR looks like

Infralyst opens a Terraform pull request in your repo. Your team reviews and merges it like any other change.

Downsize EC2 instance worker-batch-02: c5.xlarge → c5.large (-$23/mo)

Openinfralystbotopened this pull request

EC2 instance worker-batch-02 in us-east-1 can be downsized from c5.xlarge to c5.large, saving an estimated $23/mo.

⚠️ This change is not zero downtime. Plan for a maintenance window.
MetricAvgP99.5
CPU8.1%22%
Memory12%28%

Lookback: 52 days

View on Infralyst

Trigger PRs directly from Slack

Get notified when new savings are found. Review the details and generate a PR without leaving Slack.

Infralyst
InfralystAPP10:03

New EC2 savings recommendation · Save $23.00/mo

Resource

worker-batch-02 (us-east-1)

Lookback

52d

CPU Avg

8.1%

CPU P99.5

22%

Mem Avg

12%

Mem P99.5

28%

Current

c5.xlarge

Recommended

c5.large

View on Infralyst

Safety & guardrails

Built for production infrastructure. Here's what Infralyst won't do.

Conservative thresholds

Infralyst won't recommend rightsizing unless CPU and memory P99.5 (or P95 for longer windows) are comfortably below 40%. A single spike won't trigger a false recommendation.

Seasonality-aware

For instances with 60+ days of data, P95 utilization is checked per weekly bucket over the full observation window. If any week exceeds 40%, the instance is excluded. No recommendation, no risk.

Downtime warnings

Changing an EC2 instance type requires a stop and start. Every PR includes a prominent warning so your team can plan a maintenance window.

PR-only changes

Infralyst never applies changes directly. Every recommendation is delivered as a notification in Slack or in our console. You trigger PR generation, review, test, and merge on your timeline.

Also available for Auto Scaling Groups, ECS Fargate, and EBS Volumes.

EC2 Rightsizing FAQ

Start rightsizing your EC2 instances

Connect your AWS account and Infralyst will find instances worth rightsizing. When you're ready, generate the Terraform PR in one click.

  • No credit card required
  • Read-only IAM role
  • Your team reviews and merges every change