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 the ability to hint the rolling_deploy with a named ELB #64

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

edhgoose
Copy link

This resolves #63, allowing you to specific the name of the ELB to de-register from.

It does have at least one limitation which is if multiple roles are specified which belong to different ELBs it'll only use the last one.

I also haven't written ruby before - so please feel free to change it up if anything looks rubbish!

@edhgoose
Copy link
Author

I've further extended my implementation as I found a wrinkle when we got to our production environment.

Our dev and staging environments point to one instance, and the previous version of this PR worked fine for distinguishing between the two.

However, in our production environment we run 3 ELBs - two for real production and one for a demo. We therefore want our deployments to production to affect 2 of the 3 ELBs.

Bit annoying, but now this should suit that case as well. As before, my ruby is beginner at best, so please do recommend any improvements!

@edhgoose edhgoose changed the title Add the ability to deregister a instance by name Add the ability to hint the rolling_deploy with a named ELB Feb 23, 2015
@Rylon
Copy link
Contributor

Rylon commented Feb 24, 2015

Hey there, thanks for your pull request, I'll try to get some time to review it as soon as I possibly can :)

@edhgoose edhgoose force-pushed the named_elb_deregister branch from 2f7d75e to 1d671a7 Compare February 24, 2019 22:13
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

Successfully merging this pull request may close these issues.

Assumes only one ELB per instance
2 participants