AWS CodeDeploy deployment stuck at install phase

Install is the first stage of CodeDeploy deployment. New containers with updated task will be created in this step and it will proceed to the next stage only if the containers passed the health checks.

ELB (Elastic Load Balancer) will constantly do the healthchecking of the containers in the target group to check if the container is still responding.

So the if the containers are failing in healthchecks, CodeDeploy will stuck in this stage and we need to check the logs and resolve the issue with the containers.

That's all…