You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Consul
Hi, all
I'm using a public cloud provider to build consul cluster, cluster nodes are managed by Auto Scaling Group (this means when nodes are dead they will be killed by ASG and ASG will start new one), and in front of consul server nodes there's an ELB (load balancer), consul cloud auto-joining supports cloud provider like aws, azure... so it supports defining retry-join like -retry-join"provider=aws tag_key=... tag_value=...",but my cloud provider is not in the list, I'm wondering if I can use elb IP address as the value of -retry-join so it can find dynamic nodes behind elb?
Thanks.
Shantanu Gadgil
unread,
Mar 10, 2019, 11:23:39 AM3/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Consul
In my quick opinion, if the ELB ip address/cname/dns name is constant, then this could work, (eventually) though, what also comes to mind is... How/why will the connection go to all servers?
This is a good use case to try and see what actually happens when you delete one server and new one is created in its place.
Jason
unread,
Mar 10, 2019, 6:49:00 PM3/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Consul
I've done this (well, I used the ELB _DNS_ as IP addresses of ELBs
change). Everything worked fine. My observation was Consul used the ELB
to initially connect to a consul server, after which gossip took over
and the ELB was not further used.