---
title: "Deploy internal-load-balancer"
description: "A load balancer for internal networking"
category: "Other"
url: https://railway.com/deploy/j79q_M
---

# Deploy internal-load-balancer

A load balancer for internal networking

**[Deploy internal-load-balancer on Railway](https://railway.com/template/j79q_M)**

- **Creator:** Aetherix Web
- **Category:** Other
- **Total deploys:** 8

## Template content

### railway-internal-load-balancer

- **Source:** DJint-code/railway-internal-load-balancer

## Documentation

# Internal Load Balancer

If you're using an internal railway service with multiple replicas, then you might have noticed that internal incoming traffic isn't always spread out across all replicas.

This load-balancer solves that issue by routing all traffic to this load balancer instead of the target service, and it will spread the requests to all replicas (Using Round-robin).

The only thing you need to configure is the `TARGET` environment variable to the internal hostname of the target service, so for example if your target's hostname is `process-ocr` then specify `TARGET=process-ocr`. And of course don't forget to route the original traffic to this load balancer instead of the original target host.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/j79q_M
