load-balancing

Configure Nginx or HAProxy load balancers with health checks and SSL termination.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill load-balancing-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-balancing
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/networking/load-balancing
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill load-balancing-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of efficiently distributing incoming network traffic across multiple servers, enhancing application availability, reliability, and performance.

Core Features & Use Cases

  • Traffic Distribution: Implements various load balancing algorithms (e.g., least connections, round robin) to spread requests evenly.
  • Health Checks: Configures automated checks to monitor server health and remove unhealthy instances from rotation.
  • SSL Termination: Manages SSL certificates to offload encryption/decryption from backend servers.
  • Use Case: When deploying a web application, use this Skill to configure an Nginx or HAProxy load balancer to direct user traffic to multiple application instances, ensuring no single server is overwhelmed and maintaining service uptime.

Quick Start

Configure an nginx load balancer to distribute traffic across backend servers.

Frequently Asked Questions about load-balancing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure nginx load balancing for multiple application instances?

Configuring nginx load balancing involves generating configuration files that distribute incoming network traffic across multiple backend servers using algorithms like round robin or least connections, preventing any single server from being overwhelmed.

What is the best way to implement health checks for traffic distribution across servers?

Implementing health checks for traffic distribution requires configuring automated monitors that track server health and automatically remove unhealthy instances from the rotation to maintain high availability and optimal performance.

Does this approach support SSL termination with AWS ALB or HAProxy?

Yes, this approach supports SSL termination by managing SSL certificates to offload encryption and decryption tasks from backend servers, compatible with traffic distribution strategies across distributed systems using AWS ALB or HAProxy.

When do I need load balancing for distributed systems and microservices?

You need load balancing for distributed systems when deploying web applications or microservices that require efficient traffic distribution across multiple servers to enhance application availability, reliability, and performance during high traffic.

Can I use HAProxy to distribute traffic using least connections instead of round robin?

Yes, you can use HAProxy to distribute traffic using least connections instead of round robin, as this Skill implements various load balancing algorithms to spread requests evenly based on current server load and connection counts.

Why does configuring traffic distribution across multiple servers improve application uptime?

Configuring traffic distribution across multiple servers improves application uptime by implementing automated health checks and removing unhealthy instances from rotation, ensuring service availability remains high even when individual servers fail.