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
MODERATORE
posta 3 anni fa607 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande