ECS Stucked in Activating/Deactivating state

0

Hi!

I have 2 EC2 instances, 3 services, each service runs 2 tasks with 1 container each.

Config:

Min capacity: 30% Max capacity: 200% Min tasks: 2 Max tasks: 4 I only have 1 alb forwarding traffic to this containers.

99% of the time the desired capacity is 2 for each service.

When I want to update the service, it takes up to 20 minutes to stop and start a new instance. So each deploy takes me up to 40 minutes. Whereas in the qa environment where i only have 1 ec2 instance and 1 container per service, it takes 2 o or 3 minutes.

Most of the time the task are in the activating/deactivating state. Why is taking so long to do the deploy?

질문됨 7달 전241회 조회
답변 없음

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

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

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

관련 콘텐츠