Amazon MQ
Create RabbitMQ brokers in Floci, then manage queues, publish test messages and peek at what your app sent, without opening the RabbitMQ management UI.
Features
Brokers
- List brokers with engine and created date; filter by name
- Create a broker: name, username and password (RabbitMQ, single instance)
- Reboot a running broker
- Delete one or more brokers (type the name to confirm)
- Status refreshes on its own while a broker is being created or rebooted
Queues tab
- Sign in with the broker user you created; the credentials are kept in this browser tab only, and Sign out clears them
- List queues with type, durability and message count; filter by name; Auto refresh every 5 seconds
- Create queue (durable or transient)
- Publish message to any exchange with a routing key and payload; the console tells you if the message wasn't routed to any queue
- Peek messages (1–50): see payload (JSON formatted), routing key, exchange and properties; messages stay in the queue
- Purge a queue (type its name to confirm) and delete queues
Exchanges tab
- List exchanges with type and durability (read-only)
Details tab
- Connect: AMQP endpoint and management console URL for apps in the same Docker Compose, and the port range to use from your machine
- Node.js (
amqplib) and Python (pika) code samples that readAMQP_URL - General: engine and version, state, deployment mode, instance type, created date, broker ID, ARN and a link to the CloudWatch Logs group
Typical workflow
- On Brokers, choose Create broker, enter a name, username and password (keep the password), then Create broker.
- When the broker is running, open it and Sign in on the Queues tab with that user.
- Start your app so it declares its queues, or choose Create queue.
- Choose Publish message to send a test payload, then Peek messages to check what is waiting in a queue.
Works with
- Amazon CloudWatch Logs: each broker links to its general log group
Limitations
- Floci's Reboot reports success without restarting the broker.
- The endpoints Floci returns only work from containers in the same Docker Compose. From your machine use
localhoston a port in 5672–5699 (management 15672–15699); rundocker psto see each broker's port. - Floci publishes the RabbitMQ ports on all interfaces (
0.0.0.0), not only127.0.0.1. - Neither AWS nor Floci returns the broker user's password, so you sign in once per browser tab.
- The first broker is slow to create because Floci downloads RabbitMQ; it fails offline.
- Floci stubs
AWS::AmazonMQ::Brokerin CloudFormation: the stack succeeds but no broker is created. - After Reset data the broker containers keep running; run
docker compose restart floci.