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

Add blue/green deployment delays/healthchecks #619

Closed
djenriquez opened this issue Dec 5, 2016 · 2 comments
Closed

Add blue/green deployment delays/healthchecks #619

djenriquez opened this issue Dec 5, 2016 · 2 comments

Comments

@djenriquez
Copy link

There are some containers that are not available immediately after start. Because of this, ECS blue/green deploys can actually cause a service to become unavailable if, after a deployment, blue is taken out of service before green is actually available.

Are there plans for adding time delays for deployments so that blue will be kept in service time amount before it is removed? Or better yet, are there plans to introduce health-checking at the service level such that blue will remain until green passes the health check?

@samuelkarp
Copy link
Contributor

@djenriquez The easiest way to do this today is to use an ALB. ECS listens to ELB/ALB health checks and will ensure that newly launched tasks become healthy before stopping enough tasks to drop your service below the minimum healthy percent.

I'm going to close this in favor of #534, which is about health checking using Docker's health check feature.

@djenriquez
Copy link
Author

Works for me! Thanks @samuelkarp.

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