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.

demandé il y a 2 ans1457 vues
1 réponse
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
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions