πΌ Redpanda Console - Self-Hosted Production Setup
This guide explains how to manually install Redpanda Console on a production server using the official Redpanda APT repository.π Reference: Redpanda Official Docs
π What is Redpanda Console?
Redpanda Console is a web-based GUI to manage and monitor Redpanda clusters. It offers real-time topic views, consumer groups, schema registry, ACLs, and more.π¦ Install Redpanda Console (Debian/Ubuntu)
π οΈ Step 1: Add Redpanda APT Repository and Install
π Configuration
After installation, Redpanda Console can be configured via:/etc/redpanda/console.yaml- Environment variables (
REDPANDA_CONSOLE_prefix)
βΆοΈ Start the Console
Use systemd or directly run the binary:
You can change the default port in the console.yaml.
π§ͺ Verify the Installation
Check service status:π Production Recommendations
- Use TLS for secure console access
- Add authentication (OIDC, Basic Auth)
- Configure RBAC if managing multiple teams
- Deploy behind a reverse proxy like NGINX or Cloudflare Tunnel
π§Ή Uninstall
To remove the console:π References
Let me know if you want this with a Docker-based setup or a full systemd service + config deployment example. To create a production-like
systemctl service for running your binary with the required environment variable, follow these steps:
1. Move the Binary to a System Path
Move yourredpanda-console binary to a system directory, such as /usr/local/bin:
2. Create a Systemd Service File
Create a new service file forredpanda-console. Use your preferred editor, e.g., nano or vim:
Explanation of Key Fields:
Environment: Sets the environment variableKAFKA_BROKERS.ExecStart: The command to run the binary.Restart: Ensures the service restarts automatically if it fails.UserandGroup: Use a specific user for security (redpandain this case). Create this user if it doesnβt exist.WorkingDirectory: Sets the working directory.
3. Create a User for the Service
For security, create a dedicatedredpanda user:
4. Reload Systemd and Start the Service
Reloadsystemd to recognize the new service file, then enable and start the service:
5. Check Service Status
Verify that the service is running correctly:6. Logs and Troubleshooting
To view logs for the service, use:This setup ensures
redpanda-console runs in a production-like environment, managed by systemctl. Let me know if you encounter any issues!