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 年前檢視次數 1458 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南