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

[Feature request] Deployments to ASG Warm pool instances using CodeDeploy lifecycle hooks #390

Open
pawelhajski opened this issue Mar 4, 2024 · 2 comments

Comments

@pawelhajski
Copy link

Currently, CodeDeploy lifecycle hooks in EC2 Auto Scaling are not working with Warm pool instances in Warmed:Pending:Wait state. Please make it possible for CodeDeploy to work with Warm pool instances.

@cocest
Copy link

cocest commented May 20, 2024

I am currently experiencing the exact problem, and this happens if you have a warm pool attached to your AWS auto scaling group (ASG). I am using AWS launch template's user data. Even though my cloud configuration script invoke AWS lifecycle hook to complete the process. If I am to SSH into the launch instance I can complete the lifecycle hook manually. My only conclusion is that the lifecycle hook is only invoked on Warmed:Pending:Wait and never Pending:Wait event for it to transition into InService state.

One of the way to overcome this issue is to deamonise your bash script to complete the lifecycle hook on system startup.

@slmdeepu
Copy link

This is very important and helpful feature. Please make it possible for CodeDeploy to work with Warm pool instances.

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

3 participants