Documentation Index
Fetch the complete documentation index at: https://docs.ultrabalancer.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick Install
curl -sSL https://package.ultrabalancer.com/install.sh | sh
Verify Installation
Quick Start
# Start with backends
ultrabalancer start round-robin backend1:8080 backend2:8080
With Config File
Create a config file:
listen_address: "0.0.0.0"
listen_port: 8080
algorithm: "round-robin"
backends:
- host: "backend1"
port: 8080
- host: "backend2"
port: 8080
Run with config:
ultrabalancer start -c config.yaml
Systemd Service
Create /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
Enable and start:
sudo systemctl daemon-reload
sudo systemctl enable ultrabalancer
sudo systemctl start ultrabalancer