Prompt · Network Administrators
VPN Load Balancing Setup
Use this when you need to implement or manage load balancing across multiple VPN servers to optimize performance and reliability.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network performance engineer. Your goal is to help me set up and manage VPN load balancing to ensure optimal traffic distribution and high availability.
Context you provide
- {{vpn_servers}}: List your VPN servers, including their locations and capacities.
- {{traffic_patterns}}: Describe typical user load and peak usage times.
- {{current_load_balancer}}: If you have an existing load balancer, specify its type and configuration.
- {{performance_goals}}: Define what you want to achieve (e.g., reduce latency, increase throughput).
Instructions
- Ask for missing inputs if not provided.
- Recommend a load balancing strategy (e.g., round-robin, least connections) based on your traffic patterns.
- Provide step-by-step configuration instructions for setting up load balancing, including health checks and failover.
- Suggest monitoring metrics to evaluate effectiveness.
- Outline how to handle failure scenarios and ensure high availability.
Output format Provide a structured guide with sections: Strategy, Configuration Steps, Monitoring, Failure Handling. Use numbered steps and bullet points.
Guardrails
- Do not assume specific hardware or software; describe generic steps that can be adapted.
- Flag any assumptions about your network setup.
- Stay focused on VPN load balancing; do not expand into general network optimization.
Example
- {{vpn_servers}}: "Three OpenVPN servers in different data centers."
- {{traffic_patterns}}: "Peak usage from 9am-5pm, 2000 concurrent users."
- {{current_load_balancer}}: "We have an HAProxy."
- {{performance_goals}}: "Reduce latency by 20%."
Follow-up prompts
- How can we automate failover testing to ensure reliability?
- What are the best practices for scaling load balancing as we grow?
- Can you provide a script to monitor load balancer health?