Centrifugo Real-Time Messaging Server

AWS Streaming & Messaging

a scalable, self hosted real time messaging server for websocket, sse and http streaming pub/sub

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

Centrifugo is a scalable, open source real time messaging server. It keeps persistent connections open to your online users over WebSocket, Server Sent Events, HTTP streaming and other transports, and instantly delivers messages to everyone subscribed to a channel. Following a language agnostic publish and subscribe model, it keeps your real time transport layer separate from your application: your backend publishes events through a simple server side HTTP API, and your users connect with short lived JSON Web Tokens. It suits chat, live comments, multiplayer games, collaborative tools, live dashboards and streaming AI responses, with any backend written in any language.

Why the cloudimg image

The cloudimg image runs Centrifugo as the official single Go binary behind an nginx reverse proxy that binds the server to loopback and is ready for your TLS certificate, with WebSocket upgrades already configured. Nothing ships with a known credential: Centrifugo has no default login, and four unique secrets, the admin password, the server api key, the client token signing key and the admin session secret, are all generated on first boot and written to a root only file. Cross origin browser connections stay rejected until you set your own app origins, systemd manages the service for automatic restarts and clean logging, and a paired deploy guide covers TLS and scaling. Backed by 24/7 cloudimg support.

Common uses

  • Push real time chat, live comments and notifications to online users
  • Stream live dashboard, presence and collaborative editing updates
  • Deliver streaming AI responses over WebSocket or server sent events

Key features

  • Centrifugo, the scalable open source real-time messaging server - pushes events to online users over WebSocket, SSE and HTTP-streaming through a language-agnostic pub/sub model, reverse-proxied with nginx
  • Secure by default: loopback-bound with no default login - a per-instance api key, client JWT signing key and admin password are generated on first boot and stored in a root only file
  • 24/7 technical support from cloudimg for deployment, TLS termination, scaling and integration

See it running

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

Centrifugo Real-Time Messaging Server screenshot 1 Centrifugo Real-Time Messaging Server screenshot 2 Centrifugo Real-Time Messaging Server screenshot 3 Centrifugo Real-Time Messaging Server screenshot 4

Description

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

## Centrifugo Real-Time Messaging Server - Pre-Configured and Secure

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

### What You Get

Centrifugo is a scalable, open-source real-time messaging server that keeps persistent connections open to your online users over WebSocket, Server-Sent Events, HTTP-streaming and other transports. It instantly delivers messages to everyone subscribed to a channel through a language-agnostic publish/subscribe model.

Your backend publishes events through a simple server-side HTTP API, and your users connect with short-lived JSON Web Tokens. This keeps your real-time transport layer completely separate from your application code - no matter what language your backend is written in.

### Ideal Use Cases

  • Chat and live comments
  • Multiplayer games and collaborative tools
  • Live dashboards and analytics displays
  • Streaming AI responses
  • Notifications and activity feeds

### Why This AMI Over a Manual Install

Unlike installing Centrifugo yourself, this image eliminates hours of package installation, dependency troubleshooting, and reverse-proxy configuration:

  • Ready in minutes - A working messaging server is running immediately after launch with no manual steps
  • Secure by default - Centrifugo binds only to loopback and is served through nginx. No default passwords exist: the admin password, server API key, client token signing key, and admin session secret are all generated uniquely on first boot and stored in a root-only file
  • Production-ready architecture - nginx handles WebSocket upgrades and is ready for your TLS certificate. systemd manages the service for automatic restarts and clean logging
  • No exposed attack surface - Competing images and manual installs often ship with default credentials or expose the API port publicly. This image eliminates those risks from the start

### Built-In Capabilities

  • Admin web interface for inspecting nodes, channels, and connected clients
  • Server HTTP API for publishing, broadcasting, presence queries, and channel history
  • Channel namespaces with configurable history retention and presence tracking
  • JWT and connect-proxy authentication methods
  • Official client SDKs for JavaScript, Dart, Swift, Java, Python, Go, and more
  • Redis engine support for horizontal scaling across multiple nodes

### AWS Integration

Deploy on any EC2 instance type. The AMI works within your existing VPC, security groups, and IAM configurations. Scale horizontally by adding instances behind an Application Load Balancer with the Redis engine enabled for shared state.

### Quickstart Path

1. Launch the AMI on your chosen EC2 instance

2. SSH in and retrieve your auto-generated credentials from the root-only config file

3. Access the admin web interface through your browser

4. Publish your first event using the server HTTP API

5. Connect a client using one of the official SDKs with a signed JWT

### 24/7 Support from cloudimg

The cloudimg image includes around-the-clock technical support by email and live chat covering deployment, TLS termination, scaling, and integration assistance.

### Licensing

Centrifugo is distributed under the Apache License 2.0. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

centrifugoreal-time messagingwebsocketpub subserver sent eventsmessage brokerself hostedopen source