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
已提問 3 年前檢視次數 2023 次
5 個答案
0
已接受的答案

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
已回答 3 年前
0

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

Nedim
已回答 3 年前
0

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

已回答 3 年前
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
已回答 3 年前
0

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

Does this answer your question?

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南