ECS CodeDeploy "install" step is taking a while.

0

ECS CodeDeploy "install" step is taking a while. What exactly is involved in the "install" step during ECS CodeDeploy. I'm thinking the task/container is being created. I'm trying to figure out how to reduce the time associated with the "install" step. Any help will be greatly appreciated. Thank you.

질문됨 2년 전1457회 조회
1개 답변
0

Hi -

You are mostly correct, during the install step the application is being installed on a task set that is going to replace the old one.

Specifically, during the Install lifecycle event:

  1. A replacement task set is created in your Amazon ECS service.
  2. The updated containerized application is installed into the replacement task set.
  3. The second target group is associated with the replacement task set. [1]

It's unclear exactly how long the step is taking, but in general it's not a step that will be finished very quickly (like within a min) because of the heavy weight activities going on.

That said, you might want to see if the size of our container images is a factor.

Jason_S
답변함 2년 전
  • I can probably improve the container image size.

    Any idea on what I can adjust for #1, #2, or #3? Maybe adjusting the health check times on the load balancer for #3.

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

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

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

관련 콘텐츠