Fork me on GitHub
#ring
<
2018-01-03
>
petr.mensik16:01:45

Is there a way how to get servers DNS name or IP without having the request or response map?

weavejester16:01:37

@petr.mensik You can look up the IP address of the machine the process is running on, but if you’re behind a load balancer…

petr.mensik16:01:40

@weavejester I am, unfortunately (hosted on AWS).

weavejester16:01:33

There might be some AWS way to provide the host. And AWS I believe can instantiate VMs with shell variables.

weavejester16:01:57

So you could set up something to pass the host/IP to the servers that way.

petr.mensik16:01:39

yep, I was thought I'll try this way. I was just thinking that Ring might store that information somewhere