Not objecting to your idea to use DNS but would it be easier to use Consul or etcd for discovery?
Or would such additional dependency be not worth the effort?
On 26.05.2020, 12:18, rabbitm...@googlegroups.com on behalf of Rasmus Larsson wrote:
Short update, we now have this configured using CloudFormation templates. AWS does not yet support mounting EFS on ECS/Fargate in CloudFormation so that is a manual step we'll have to do at deploy time.
We are still using classic peer discovery. I did some experiments with DNS peer discovery but it fails since RabbitMQ wants to do a reverse lookup from IP to node and Service Discovery does not add the necessary DNS PTR records to Route53, which means that the node names resolve to ipx-x-x-x.compute.internal instead of the service discovery name we're using. I'm guessing this could be worked around using a custom init script that does a ´dig` command or similar, parses the result and writes custom records to /etc/hosts or erl_inetrc, but in our case it's not worth the effort so I tabled it for now.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/6f2f54e7-5560-4eb3-9105-3bd2f0c19447%40googlegroups.com.
Hi Rasmus,
We're currently also trying to run RabbitMQ on Fargate. We seem to hit a block when trying to configure amqps over our network loadbalancer. (management ui, webstomp and prometheus are all configured on an application loadbalancer and work just fine). When trying to connect to amqps we get the message stream_socket_client() unable to connect to ssl://dns-before-nl.com:5671 . We tried tls offloading on the nlb, we got ssl successful tls handshakes using openssl. Yet when trying to connect we keep getting the same error. Could you be so kind to share you insights / cloudformation templates.. on your fargate setup?Op woensdag 14 oktober 2020 om 08:36:51 UTC+2 schreef rasmus....@gmail.com: