ECS Fargate Downsizing
Infralyst analyzes CloudWatch utilization for each ECS Fargate service 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
| Service | CPU | Memory | Current | Recommended | Savings | |
|---|---|---|---|---|---|---|
| api-serviceus-east-1 · 84 days | 3.8%p99.5 17% | 14%p99.5 26% | 1vCPU-2GB | 0.5vCPU-1GB | $41/mo | Generate PR |
| worker-processorus-east-1 · 63 days | 6.2%p99.5 22% | 11%p99.5 29% | 2vCPU-4GB | 1vCPU-2GB | $58/mo | Generate PR |
| cache-sidecarus-east-1 · 47 days | 4.1%p99.5 18% | 9%p99.5 22% | 0.5vCPU-2GB | 0.25vCPU-1GB | $19/mo | Generate PR |
You're paying for Fargate capacity
you don't use
Teams pick CPU and memory allocations when they first define a task and never revisit them. Fargate bills per vCPU-hour and GB-hour, so every unit of unused capacity is a direct cost. The problem compounds quietly across dozens of services.
AWS Cost Explorer can flag the waste, but it stops at a recommendation. Infralyst picks up where it leaves off: it analyzes real CloudWatch utilization at the service level, selects a conservative target configuration, 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 ECS Fargate service, using up to 365 days of historical data.
2. Run the analysis gates
Each service passes through data quality validation, utilization thresholds, and seasonality checks. A service only gets a recommendation if all gates pass.
3. Generate the recommendation
Infralyst recommends the next smaller CPU/memory configuration. When you're ready, an AI agent reads your Terraform, writes the change, and validates it. The analysis is fully deterministic.
Thresholds & methodology
Every gate and threshold Infralyst checks before recommending a Fargate downsize. These are intentionally conservative. We'd rather miss a savings opportunity than recommend a change that causes problems.
Pre-flight
Data quality
CPU & Memory
Seasonality
For services with 60–365 days of data, P95 is checked per weekly bucket. If any week exceeds the 40% threshold, the service 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 ECS Fargate service api-service: 1vCPU-2GB → 0.5vCPU-1GB (-$41/mo)
ECS Fargate service api-service in us-east-1 can be downsized from 1vCPU-2GB to 0.5vCPU-1GB, saving an estimated $41/mo.
| Metric | Avg | P99.5 |
|---|---|---|
| CPU | 3.8% | 17% |
| Memory | 14% | 26% |
Lookback: 84 days
Trigger PRs directly from Slack
Get notified when new savings are found. Review the details and generate a PR without leaving Slack.
New ECS Fargate savings recommendation · Save $41.00/mo
Service
api-service (us-east-1)
Lookback
84d
CPU Avg
3.8%
CPU P99.5
17%
Mem Avg
14%
Mem P99.5
26%
Current
1vCPU-2GBRecommended
0.5vCPU-1GBView on Infralyst
Safety & guardrails
Built for production infrastructure. Here's what Infralyst won't do.
Conservative thresholds
Infralyst won't recommend a downsize 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 services with 60+ days of data, P95 utilization is checked per weekly bucket over the full observation window. If any week exceeds 40%, the service is excluded. No recommendation, no risk.
Zero-downtime deployment
Every PR includes a deployment configuration block. ECS rolls out the new task definition gradually, keeping your service available throughout.
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 EC2 Instances and Auto Scaling Groups.
Start downsizing your ECS Fargate services
Connect your AWS account and Infralyst will find Fargate services worth downsizing. Generate the Terraform PR in one click when you're ready.
Start free with 3 PRs- No credit card required
- Read-only IAM role
- Your team reviews and merges every change
