Virtual Host Routing for Docker using Rancher Load Balancer

Rancher Virtual Host Routing

Virtual Host Routing is a new feature in Rancher, a platform built around the Docker container runtime. It made its debut in Rancher 0.29.

Though new in Rancher, Virtual Host Routing is not a new concept. It’s widely used on similar platforms.

In the following linked-to article, from Rancher’s official blog, you’ll read how to set up and configure this new feature on the Rancher platform.

Rancher Virtual Host Routing

Here’s an excerpt from the article:

The typical use case for host-based load balancing is using a single IP address to distribute traffic to multiple services. For my example today, I’ll show how a company can host two different applications – a website and chat – on a single public IP address. In this case, a user would configure Public DNS with two records pointing to the same IP address:

chat.example.com: 108.162.202.109

web.example.com: 108.162.202.109

We’ll then be using two separate applications to deliver these functions: nginx for the website and the wonderful LetsChat for the chat platform. With host load balancing, the traffic can be split between these two services based on the request coming in. If the request is coming for chat.example.com, it will be directed to the LetsChat servers; if the request is for web.example.com – it will be directed to the Nginx nodes.

Here is how the end setup should look in Rancher:

You may read the complete article at Virtual Host Routing for Docker using Rancher Load Balancer.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
0
Hya, what do you think? Please comment.x
()
x