Resource Utilization for Fargate ECS

0

A customer is in the midst of transitioning their ECS workload from running on EC2 hosts to Fargate.

As a part of this process,they'd like to ensure their ECS tasks are appropriately sized in terms of CPU and Memory reservation - ideally to maximize resource utilization while ensuring they can scale horizontally when necessitated by workload requirements.

I've not had much success finding advice on what CPU / Memory utilization % targets to shoot for. if anyone can provide insight or recommendations it would be greatly appreciated.

AWS
管理員
已提問 3 年前檢視次數 607 次
1 個回答
0
已接受的答案

The general answer is that they would need to load test their application and determine how much vCPU and memory the application needs. Since they are currently using ECS/EC2, they should be able to look at their existing metrics and get an understanding of how much vCPU and memory their tasks are using in production and define task size and scaling parameters based on that.

Container Insights is useful for this purpose: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html

profile pictureAWS
Mats
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南