Quick Install
Verify Installation
Quick Start
With Config File
Create a config file:Systemd Service
Create/etc/systemd/system/ultrabalancer.service:
Related
- Systemd - Service management
- Configuration - Full configuration guide
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deploy UltraBalancer on Linux server
curl -sSL https://package.ultrabalancer.com/install.sh | sh
ultrabalancer --version
# Start with backends
ultrabalancer start round-robin backend1:8080 backend2:8080
listen_address: "0.0.0.0"
listen_port: 8080
algorithm: "round-robin"
backends:
- host: "backend1"
port: 8080
- host: "backend2"
port: 8080
ultrabalancer start -c config.yaml
/etc/systemd/system/ultrabalancer.service:
[Unit]
Description=UltraBalancer Load Balancer
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/etc/ultrabalancer
ExecStart=/usr/local/bin/ultrabalancer start -c /etc/ultrabalancer/config.yaml
Restart=always
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable ultrabalancer
sudo systemctl start ultrabalancer