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
MODERADOR
preguntada hace 3 años607 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas