In the first post of this series, I discussed how Avi Controller & Service Engines are deployed in an SDDC running in VMC on AWS.
In this post, I will walk through the steps of configuring load balancer settings for load balancing web servers.
Lab Setup
The below diagram is a pictorial representation of my lab setup.
Let’s jump into the lab and start configuring the load balancer.
I have deployed a couple of web servers running on CentOS 7.
These are plain HTTP servers and a sample page deployed.
Load Balancer Configuration
Create Session Persistence Profile
A persistence profile controls the settings that dictate how long a client will stay connected to one of the servers from a pool of load-balanced servers. Enabling a persistence profile ensures the client will reconnect to the same server every time, or at least for a desired duration of time.
Cookie based persistence is the most commonly used mechanism when dealing with web applications.… Read More