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

Dynamic worker url configuration #104

Open
chrisnatali opened this issue Aug 4, 2017 · 0 comments
Open

Dynamic worker url configuration #104

chrisnatali opened this issue Aug 4, 2017 · 0 comments
Milestone

Comments

@chrisnatali
Copy link
Contributor

chrisnatali commented Aug 4, 2017

When bringing a server up and down on ec2, the ip address changes. Since the worker url is currently set statically in a config, this requires a manual modification for each down/up of worker. This is a barrier to dynamic up/down/resize of workers on ec2.

We can derive the public ip and set the url dynamically (though assumes external service is up):
https://stackoverflow.com/questions/2311510/getting-a-machines-external-ip-address/36205547#36205547

Or we could expose a worker_init endpoint in primary which returns the public ip back to the worker using something like:
https://stackoverflow.com/a/28959670/2044042

This code needs to change

@chrisnatali chrisnatali modified the milestone: Easy Up/Down Aug 4, 2017
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

1 participant