Amazon MQ for RabbitMQ web access when Public accessibility set as No

0

Hi everyone,

I just created a broker (RabbitMQ) and here are my details:

  • Broker status: Running
  • Broker engine: RabbitMQ
  • Deployment mode: Single-instance broker
  • Broker engine version: 3.8.6
  • Public accessibility: No

Additionally, my Security group settings (Inbound rules) are the following:

  • All traffic, All, All, 0.0.0.0/0 (I'll set IP later)

However, when I click on the link - it doesn't work. It works when I create a new broker with Public accessibility as Yes. Anyway, I don't want that. I'd prefer setting as 'No' with SG settings.

Does anyone know what could be wrong here? I'd like to have web app access too.

p.s. in VPC I have:

  • DNS hostnames: Enabled
  • DNS resolution: Enabled

Thanks!

Edited by: Nedim on Dec 15, 2020 3:39 PM

Nedim
preguntada hace 3 años2038 visualizaciones
5 Respuestas
0
Respuesta aceptada

I am not 100% certain this is the same for RabbitMQ. But I suspect you would need a similar setup as the one described for ActiveMQ here: https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/accessing-web-console-of-broker-without-private-accessibility.html

AWS
AWs-JDE
respondido hace 3 años
0

Yes, I found something similar in the meantime. Hopefully someone can confirm 100%. Thank you.

Nedim
respondido hace 3 años
0

Hi - confirming the guidance in the doc listed also applies to RabbitMQ.

respondido hace 3 años
0

AWSJamieK wrote:
Hi - confirming the guidance in the doc listed also applies to RabbitMQ.
Thanks!

Just a quick question: Does Amazon MQ supports AMQP 0-9-1 protocol. Seems there is lack of PHP libraries that support AMQP 1.0.

I'm not able to connect to Amazon MQ. It says:

Exception 'PhpAmqpLib\Exception\AMQPConnectionClosedException' with message 'Broken pipe or closed connection' in /var/www/html/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:171

I assume it is related to AMQP 1.0.

Nedim
respondido hace 3 años
0

Hello - confirming that Amazon MQ for RabbitMQ supports the AMQP 0-9-1 protocol (not 1.0).

Does this answer your question?

respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas