a scalable, self hosted real time messaging server for websocket, sse and http streaming pub/sub
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.
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.
Real screenshots taken while testing this image against its deployment guide.
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
### Why This AMI Over a Manual Install
Unlike installing Centrifugo yourself, this image eliminates hours of package installation, dependency troubleshooting, and reverse-proxy configuration:
### Built-In Capabilities
### 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.