Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS Dedeploy Timeout #209

Closed
angelozignaltinho opened this issue Jul 21, 2022 · 3 comments
Closed

ECS Dedeploy Timeout #209

angelozignaltinho opened this issue Jul 21, 2022 · 3 comments

Comments

@angelozignaltinho
Copy link

angelozignaltinho commented Jul 21, 2022

Any updates on this? Does ecs deploy support blue green? I have the new container running along side the old version as well. ecs-deploys timeouts. However the container is running succesfully. After a little longer the old container dies and the new one is still running. But I get the following error
Deployment failed due to timeout. Please see: https://github.com/fabfuel/ecs-deploy#timeout Only once i increase the timeout to 600 seconds. The deployment is successful at 426 seconds. is there a way I can change this to a lower number by overriding some defaults?

@fabfuel
Copy link
Owner

fabfuel commented Jul 21, 2022

Hay, I'm closing this as duplicate, please follow up in #120 regarding Blue/Green Deployments.

Regarding your timeout: Did you see the link/linked page you quoted?

The time it takes to deploy is only depending on your containers. To speed it up, you have to optimize the startup time of your application(s), you can not increase the deployment time with ecs-deploy. You only tell ecs-deploy how long to wait for a typical deployment, otherwise ecs-deploy will fail with timeout, as you described. Please just use a longer timeout until you optimized the startup time of your app(s).

Best
Fabian

@fabfuel fabfuel closed this as completed Jul 21, 2022
@angelozignaltinho
Copy link
Author

How does ecs-deploy check if the container has successfully started? I can see in the console that the container has started but ecs-deploy is still waiting.

@fabfuel
Copy link
Owner

fabfuel commented Jul 21, 2022

@angelozignaltinho please stop posting your same answers and questions in multiple issues, instead please show some appreciation for other people trying to help you out here for free.

A deployment is only finished, if all old containers have stopped. And they only stop, if the desired count of new containers is running successfully. Please check the Deployments tab in your ECS service. As long as you see more than one deployment there, ecs-deploy is waiting for the active deployment to succeed or fail.

Repository owner locked as spam and limited conversation to collaborators Jul 21, 2022
Repository owner unlocked this conversation Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants