AWS Distributed Load test

0

Hi , I was testing Distributed load test . I am also having an autoscaling group with an ALB, which was set to scale out in case of CPU utilization of 60 %.

After the test, the CPU utilization reached 10% and the web page of my EC2 instance started giving 5XX errors, so the ALB saw the machine as unhealthy. Accordingly the autoscaling group deleted this machine and created a new one.

This should not have happened. As when we try to access the ec2 web page directly without the ALB during the 10% CPU utilization it is working fine. but from the ALB DNS name it is giving us the 5XX errors

Can someone please help explain why this is happening and what should be edited in the distributed load test ?

질문됨 일 년 전243회 조회
1개 답변
0

Hello, Do you have logs from the ALB and also logs from the application/web servers that run inside the EC2 ? I think analyzing the logs (both from ALB and from apps) will help paint a clearer picture of what happened. The CPU load might be ok, but there could be issues on other component, ex: memory, disk I/O, or even application configuration. It happened to me once, and it turned out I wrongly set up my application's concurrency, and it was clearly shown in my application logs.

AWS
Frank
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠