Quick Start Guide
Get your first load balancer running in minutes
Quick Start Guide
This guide walks you through creating your first load-balanced service with Tula. By the end, you will have a working Virtual IP (VIP) distributing traffic across multiple backend servers.
Prerequisites
Before proceeding, ensure that:
- Tula is installed, powered on, and accessible via the web interface.
- You have changed the default admin password and activated your license.
- You have at least two backend servers running the service you wish to load balance.
Step 1: Log In to the Web Interface
Open your browser and navigate to https://<appliance-ip-address>. Log in with your administrator credentials. You will be directed to the NetMan dashboard, which provides an overview of system status and configured services.
Step 2: Create a Virtual IP (VIP)
A VIP is the entry point for client traffic. It defines the IP address, port, and protocol that clients connect to.
- Navigate to Load Balancing > Virtual IPs in the sidebar.
- Click Add VIP.
- Complete the required fields:
- Name: A descriptive identifier for this service (e.g.,
web-frontend). - IP Address: The virtual IP address that clients will connect to. This address must be available on the network and not assigned to another host.
- Port: The listening port (e.g.,
80for HTTP,443for HTTPS). - Protocol: Select the appropriate protocol. Choose TCP for Layer 4 load balancing or HTTP/HTTPS for Layer 7.
- Algorithm: Select a load balancing algorithm. Round Robin is a good default for most workloads.
- Name: A descriptive identifier for this service (e.g.,
- Click Save to create the VIP.
Step 3: Add Backend Servers
Backend servers (also called real servers) are the targets that receive traffic from the VIP.
- Within the VIP configuration, navigate to the Backends section.
- Click Add Backend.
- For each backend server, provide:
- Name: A label for the backend (e.g.,
web-01). - IP Address: The real IP address of the backend server.
- Port: The port the backend is listening on.
- Weight: The relative traffic share for this backend. A weight of
1distributes traffic equally among all backends with the same weight.
- Name: A label for the backend (e.g.,
- Repeat for each additional backend server.
- Click Save after adding all backends.
Step 4: Configure Health Checks
Health checks ensure that Tula only sends traffic to healthy backends.
- In the VIP configuration, navigate to the Health Checks section.
- Enable health checking and configure the check parameters:
- Check Type: Select TCP for a basic port check, or HTTP for an application-level check.
- Interval: How frequently to check each backend (e.g., every 5 seconds).
- Timeout: How long to wait for a response before marking a check as failed.
- Threshold: The number of consecutive failures before removing a backend from the pool.
- Click Save.
Step 5: Apply the Configuration
Changes in Tula are staged until explicitly applied.
- Click the Apply Configuration button in the top navigation bar. This button appears with a notification badge when there are pending changes.
- Review the summary of pending changes and confirm the apply action.
- Tula will generate the underlying HAProxy or nftlb configuration, validate it, and reload the appropriate services.
Verify Traffic Distribution
To confirm that traffic is being balanced across your backends:
- Navigate to Monitoring > Statistics to view real-time connection and throughput metrics for your VIP and each backend.
- Send test requests to the VIP address and confirm that responses are served by different backends.
- Verify that health check status shows all backends as healthy.
Your first load-balanced service is now operational. Explore the documentation to learn about Layer 4 and Layer 7 load balancing, session persistence, SSL termination, and high availability.