Amazon MQ
- Activate RabbitMQ Web Console
- Activate RabbitMQ Web Console from Kubernetes Pod
- Accessing the Amazon MQ broker web console without public accessibility
- Access via port forwarding
Activate RabbitMQ Web Console
Run this command in RabbitMQ's container.
rabbitmq-plugins enable rabbitmq_management
Open http://localhost:15672 on your browser. This is the login info:
- Username: guest
- Password: guest
Activate RabbitMQ Web Console from Kubernetes Pod
Enter the pod by this command.
kubectl exec -ti -n <namespace> <pod-name> -- /bin/bash
Check the pod's deployment.
kubectl get deployment -n <namespace> <pod-name> -o yaml > rabbitmq.yaml
Accessing the Amazon MQ broker web console without public accessibility
Read the instruction from AWS
Configure FoxyProxy on your computer
Access via port forwarding
aws ssm start-session \
--target <instance-id> \
--document-name AWS-StartPortForwardingSession \
--parameters '{"portNumber":["15671"],"localPortNumber":["15671"]}'