1. Install Bitnami AMI:
- bitnami-rabbitmq-3.7.9-0-linux-ubuntu-16.04-x86_64-hvm-ebs-mp-51f5525e-ccb8-4e61-a253-3d893aacf1a4-ami-099cf3b940a2af15d.4 (ami-064a0ea09e8799230)
2. Obtain username and password.
3. Enable plugins:
- rabbitmq-mqtt
- rabbitmq-web-mqtt
4. Enable the management console plugin:
$ sudo rabbitmq-plugins enable rabbitmq_management
5. Enable MQTT plugin:
$ sudo rabbitmq-plugins enable rabbitmq_mqtt
6. Enable web-MQTT plugin:
$ sudo rabbitmq-plugins enable rabbitmq_web_mqtt
7. Restart RabbitMQ after enabling plugins:
$ sudo /opt/bitnami/ctlscript.sh stop rabbitmq $ sudo /opt/bitnami/ctlscript.sh start rabbitmq
8. Open the following ports:
- 22, ssh
- 1883, MQTT
- 15672, Rabbitmq Management HTTP
- 15675, Web Sockets