Skip to content
aj-geddes avatar

Load Balancer Setup

Configuration and deployment guide for HAProxy and AWS ELB load balancers covering traffic distribution and failover.

CCM score
37 of 100
skills.sh installs
457
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers HAProxy and AWS ALB, NLB, and classic ELB setup for distributing traffic across multiple backend servers
  • Includes an HAProxy configuration reference, a CloudFormation ALB template, a health check script, and monitoring guidance
  • Provides a hardened HAProxy baseline with TLS 1.2 minimum, restricted ciphers, and log and timeout defaults
  • Designed for teams handling session persistence, SSL termination, health checks, and high availability across availability zones

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill load-balancer-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Load Balancer Setup

Table of Contents

Overview

Deploy and configure load balancers to distribute traffic across multiple backend servers, ensuring high availability, fault tolerance, and optimal resource utilization across your infrastructure.

When to Use

  • Multi-server traffic distribution
  • High availability and failover
  • Session persistence and sticky sessions
  • Health checking and auto-recovery
  • SSL/TLS termination
  • Cross-region load balancing
  • API rate limiting at load balancer
  • DDoS mitigation

Quick Start

Minimal working example:

# /etc/haproxy/haproxy.cfg
global
    log stdout local0
    log stdout local1 notice
    maxconn 4096
    daemon

    # Security
    tune.ssl.default-dh-param 2048
    ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256
    ssl-default-bind-options ssl-min-ver TLSv1.2

defaults
    log global
    mode http
    option httplog
    option denylogin
    option forwardfor
    option http-server-close

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & Cloud, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the load-balancer-setup skill do?

load-balancer-setup configures and deploys load balancers such as HAProxy and AWS ELB, ALB and NLB to distribute traffic across backend servers. It also covers session management and high availability for those setups.

How do I install the load-balancer-setup skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill load-balancer-setup -y inside a project. Once installed, load-balancer-setup lets the agent write HAProxy configs and AWS load balancer templates for you.

Which load balancers does load-balancer-setup cover?

load-balancer-setup covers HAProxy and the AWS Elastic Load Balancing family, including ELB, ALB and NLB. Its reference guides include a HAProxy configuration and an AWS Application Load Balancer CloudFormation template.

Where does load-balancer-setup sit in the DevOps & Cloud category?

load-balancer-setup is listed in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare and azure-deploy. Unlike the Azure skills, load-balancer-setup focuses on HAProxy and AWS load balancing.

Does load-balancer-setup include health checks and monitoring?

Yes, load-balancer-setup includes a load balancer health check script and a monitoring guide. It also recommends health checks, connection draining and SSL/TLS termination as part of its best practices.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Load Balancer Setup

More DevOps & Cloud