[FLOC-2137] Allow the public IP address of the node to be statically configured#2059
[FLOC-2137] Allow the public IP address of the node to be statically configured#2059
Conversation
There was a problem hiding this comment.
This isn't strictly necessary though, right? We after all manage without right now. And it adds an extra burden of configuration on users that they don't necessarily need. Maybe indicate it's useful but not required? Or the caveats of not doing it?
There was a problem hiding this comment.
One thing we need to keep in mind: bandwidth costs. Data sent within AWS private network is free, data sent over external IPs costs money. I would hope that DNS lookups for AWS hosts within AWS get turned into the private IP, in which case documenting we want explicit hostname (as opposed to "address" which implies IP) is important. If hostnames always resolve to external IPs then it's possible that following this advice may cost our users a bunch of money on AWS, depending how AWS does bandwidth accounting...
|
I am happy with the implementation mostly, other than some comments here and there and whatever more detailed code review would come up with. What worries me is change from IP to hostnames (are there consequences we haven't thought of beyond REST API?) and impact on users re bandwidth costs. So please address only those two points and resubmit. |
|
Can someone verify this PR? |
|
Just FYI, I just killed a buildbot builder for this branch that had been running for 205 hrs (http://build.clusterhq.com/builders/flocker-centos-7/builds/7521). Hopefully it didn't need more time 😛. Probably worth investigating as part of review. |
Design / Implementation for https://clusterhq.atlassian.net/browse/FLOC-2137
hostnamevalue inagent.ymlsocketprobing technique.hostnameconfiguration option when configuring agents on acceptance nodes.