Copilot deployment giving error in ECS deployment #3067
-
I deployed a copilot app few days back. Which includes a load balancer container and 3 service container. Now I am again trying to deploy same application using copilot, but this time it's giving error in ECS container deployment. I don't understand what's the reason. Can someone please help me with this?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @gauravjeswani ! That's very interesting, I haven't seen a Would it be possible to go to the ECS console, navigate to your STOPPED tasks to see the reason? There might be more details there: |
Beta Was this translation helpful? Give feedback.
-
Hello @efekarakus , Thanks for your reply. I found the rootcause of issue. Basically previously I deployed Backed Service first and then followed by Load Balance. And this time somehow I tried for LoadBalance first. Which was causing the issue. Because LoadBalancer was Nginx container with .conf file pointing to service containers. As service URLs were not ready yet as I was deploying LoadBalancer first. Container was breaking and was not able to start. I think it would be great if we can show correct error in copilot rather than this weird error. |
Beta Was this translation helpful? Give feedback.
Hello @efekarakus ,
Thanks for your reply. I found the rootcause of issue. Basically previously I deployed Backed Service first and then followed by Load Balance. And this time somehow I tried for LoadBalance first. Which was causing the issue.
Because LoadBalancer was Nginx container with .conf file pointing to service containers. As service URLs were not ready yet as I was deploying LoadBalancer first. Container was breaking and was not able to start.
I think it would be great if we can show correct error in copilot rather than this weird error.