Apache RocketMQ Messaging and Streaming

AWS Application Stacks
Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

Skip hours of manual broker setup - launch a hardened Apache RocketMQ instance with unique credentials and start messaging in minutes, backed by 24/7 cloudimg support.

Why the cloudimg image

This image arrives installed, configured and hardened, so there is no manual setup before you can use it. It is built on a patched base, runs with credentials generated uniquely for your instance on first boot, and passes an automated health check before every release. Every deployment is backed by 24/7 support from cloudimg engineers.

Key features

  • Zero-setup distributed messaging platform: Apache RocketMQ launches as systemd-managed NameServer, Broker and Dashboard services with the web console on port 80. Skip hours of manual installation, JVM heap tuning, systemd wiring and hardening that a DIY EC2 deployment requires. The broker accepts client connections within minutes of instance launch, so your team focuses on application logic rather than infrastructure provisioning.
  • Message store on a dedicated data disk with a correct advertised address: The commitlog, consume queues and index files reside on a dedicated EBS volume that you can resize independently for IOPS and capacity. The broker advertised address is set on first boot so remote producers and consumers connect without hand-editing configuration - a common failure mode when self-hosting RocketMQ on a cloud instance.
  • Hardened security from first boot: Every instance generates a unique Dashboard password stored in a root-only file - no shared or default web credentials ever ship. The Dashboard binds to loopback and is published only through an authenticating nginx reverse proxy. Deploy in a private VPC subnet with security groups restricting access to the ports your clients need. Backed by 24/7 cloudimg technical support via email and live chat.

See it running

Real screenshots taken while testing this image against its deployment guide.

Apache RocketMQ Messaging and Streaming screenshot 1 Apache RocketMQ Messaging and Streaming screenshot 2 Apache RocketMQ Messaging and Streaming screenshot 3

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

## Apache RocketMQ - Production-Ready Distributed Messaging Platform AMI

Deploy a fully configured, low-latency messaging and streaming platform on AWS in minutes - not hours. This AMI delivers Apache RocketMQ preinstalled and running as managed system services so you can start publishing and consuming messages immediately after launch.

### Why This AMI Instead of a DIY Install or Managed Service

  • Versus manual EC2 setup: Skip the hours of downloading the release, tuning JVM heaps, wiring up systemd units, provisioning a data disk, and hardening the web console. This image handles all of that at launch.
  • Versus rolling your own broker: Get a correctly ordered NameServer, Broker and Dashboard topology out of the box, with the message store on a dedicated data disk and the broker advertised address set correctly on first boot so remote clients connect without hand-editing configuration.
  • Versus other community AMIs: Benefit from a hardened first-boot process that generates a unique Dashboard password per instance (no shared or default credentials), a web console gated behind an authenticating reverse proxy, and 24/7 professional support from cloudimg.

### Application Stack

  • Apache RocketMQ installed under /opt/rocketmq, run by a dedicated unprivileged service account
  • Headless OpenJDK Java runtime with JVM heaps tuned for the instance
  • NameServer routing registry and Broker message store started and ordered by systemd, restarting on failure
  • Message store (commitlog, consume queues and index) on a dedicated EBS data disk - independently resizable for IOPS and capacity
  • RocketMQ Dashboard web console fronted by an nginx reverse proxy on port 80 with HTTP Basic authentication

### Messaging and Streaming Capabilities

The NameServer listens on 9876 as the routing registry; the Broker listens on 10911 for producers and consumers. Point your RocketMQ clients at the instance on those ports and start publishing and consuming. RocketMQ supports normal, ordered, scheduled/delayed and transactional messages, publish-subscribe topics with consumer groups, and message trace - suitable for event streaming, asynchronous decoupling and reliable task processing at scale.

### Security

Secure First Boot: A one-shot service generates a fresh Dashboard password unique to each instance, writes it to the nginx credentials store and a root-only file, and sets the broker advertised address. No shared or default web credentials ship in the image.

Authenticated Web Console: The RocketMQ Dashboard binds to loopback only and is published on port 80 through an nginx reverse proxy that enforces HTTP Basic authentication, so the console is never exposed unauthenticated.

Encryption at Rest: The dedicated data disk holding the message store can leverage AWS EBS encryption. Enable EBS encryption when launching the instance or use encrypted snapshots.

Network Isolation: Deploy the platform in a private VPC subnet and use security groups to restrict access to only the ports your clients require (9876, 10911, 80).

### Web Management Console

The RocketMQ Dashboard is served on port 80 through nginx. Sign in with the generated credentials to inspect the cluster, topics and consumer groups, browse and send messages, view message trace, and monitor broker health and throughput.

### Use Cases

  • E-commerce order processing: An order placement event triggers inventory reservation, payment capture, and shipment scheduling via transactional messages - ensuring exactly-once delivery across services handling thousands of orders per second.
  • Event streaming and log/metric pipelines at high throughput for DevOps and platform teams.
  • Asynchronous decoupling of microservices with durable topics and consumer groups, ideal for teams running containerized workloads on ECS or EKS.
  • Reliable task processing with ordered and scheduled/delayed messages for fintech settlement workflows and logistics dispatch systems.

### Evaluation Path

Launch this AMI on a small instance type to evaluate the platform with minimal AWS infrastructure cost. The NameServer, Broker and Dashboard are fully functional on any supported instance size, letting you validate connectivity, console access and message flow before scaling up for production workloads.

### Architecture Overview

The AMI runs three systemd-managed services in dependency order: NameServer starts first as the routing registry, then the Broker registers and begins accepting producer/consumer connections, and finally the Dashboard provides web-based cluster management. An nginx reverse proxy sits in front of the Dashboard on port 80, enforcing HTTP Basic authentication.

Related technologies

message brokerrocketmqdistributed messagingevent streamingmessage queuepublish subscribestreaming platformjava messagingmicroservices messagingtransactional messagingnameserver brokerevent drivenasync processing