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
asked 3 years ago1990 views
5 Answers
0
Accepted Answer

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
answered 3 years ago
0

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

Nedim
answered 3 years ago
0

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

answered 3 years ago
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
answered 3 years ago
0

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

Does this answer your question?

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions