# AWS ECS optimization | Cloud Efficiency Hub

Canonical: https://www.pointfive.co/efficiency-hub/cloud-services/aws-ecs

4 documented AWS ECS cost inefficiencies, each with how to detect it and how to fix it.

[Cloud Efficiency Hub](https://www.pointfive.co/efficiency-hub) 

4 documented AWS ECS cost inefficiencies, each with how to detect it and how to fix it.

## 4 inefficiencies

[All services](https://www.pointfive.co/efficiency-hub#browse-by-service)

- AWS ECS  CER-0139

### [Idle ECS Container Instances Due to ASG Minimum Capacity](https://www.pointfive.co/efficiency-hub/inefficiencies/idle-ecs-container-instances-due-to-asg-minimum-capacity)

When ECS clusters are configured with an Auto Scaling Group that maintains a minimum number of EC2 instances (e.g., min = 1 or higher), the instances remain active even when there are no tasks scheduled. This leads to idle compute capacity...

Compute

- AWS ECS  CER-0340

### [Overprovisioned ECS Task Size on Fargate](https://www.pointfive.co/efficiency-hub/inefficiencies/overprovisioned-ecs-task-size-on-fargate)

Amazon ECS tasks on Fargate must declare CPU and memory at the task level, chosen from a fixed set of valid combinations, and Fargate bills for that configured size for as long as each task runs. What the containers actually consume does...

Compute

- AWS ECS  CER-0341

### [Idle ECS Service on Fargate](https://www.pointfive.co/efficiency-hub/inefficiencies/idle-ecs-service-on-fargate)

An Amazon ECS service keeps its desired count of tasks running indefinitely: if a task stops, the scheduler starts a replacement. When the application behind a service is retired, replaced by a new service, broken, or simply no longer...

Compute

- AWS ECS  CER-0360

### [ECS on EC2 Without Binpack Task Placement](https://www.pointfive.co/efficiency-hub/inefficiencies/ecs-on-ec2-without-binpack-task-placement)

When Amazon ECS runs tasks on EC2 container instances, the placement strategy decides which instance each task lands on. Services default to spreading tasks across Availability Zones, and many teams also spread by instance ID or use random...

Compute

## More AWS services

- [AWS EC2  23](https://www.pointfive.co/efficiency-hub/cloud-services/aws-ec2)

- [AWS RDS  19](https://www.pointfive.co/efficiency-hub/cloud-services/aws-rds)

- [AWS S3  15](https://www.pointfive.co/efficiency-hub/cloud-services/aws-s3)

- [AWS Lambda  12](https://www.pointfive.co/efficiency-hub/cloud-services/aws-lambda)

- [AWS EBS  10](https://www.pointfive.co/efficiency-hub/cloud-services/aws-ebs)

- [AWS CloudWatch  8](https://www.pointfive.co/efficiency-hub/cloud-services/aws-cloudwatch)

- [AWS EKS  8](https://www.pointfive.co/efficiency-hub/cloud-services/aws-eks)

- [AWS ElastiCache  8](https://www.pointfive.co/efficiency-hub/cloud-services/aws-elasticache)

- [AWS DynamoDB  7](https://www.pointfive.co/efficiency-hub/cloud-services/aws-dynamodb)

- [AWS Bedrock  6](https://www.pointfive.co/efficiency-hub/cloud-services/aws-bedrock)

---
Source: the public page above. Product screenshots and illustrative interfaces are examples, not live customer data.

