What is Load Balancer.
Load balancer provide automated traffic distribution from one entry point to multiple servers reachable from your VCN. They improve resource utilization, facilitate scaling, and help ensure high availability.
Types of Load Balancers?
OCI provides two types of Load Balancers.
1. Load balancer
The load balancer service provides a reverse proxy solution that hides the IP of the client from backend application server and vice versa. It is capable of performing advanced layer 7 (HTTP/HTTPS), layer 4 (TCP) load balancing and SSL offloading.
Best for: Websites, mobile apps, SSL termination, and advanced HTTP handling.
2. Network load balancer.
The network load balancer service provides a pass-through (non-proxy solution) that is capable of preserving the client header (source and destination IP). It is built for speed, optimized for long running connections, high throughput and low latency.
Best for: Scaling network virtual appliances such as firewalls, real-time streaming, long running connections, Voice over IP (VoIP), Internet of Things (IoT), and trading platforms.
Which load balancer is right for me?
Load balancer | Network load balancer |
The load balancer service provides a reverse proxy solution that hides the IP of the client from backend application server and vice versa. It is capable of performing advanced layer 7 (HTTP/HTTPS), layer 4 (TCP) load balancing and SSL offloading. Best for: Websites, mobile apps, SSL termination, and advanced HTTP handling. | The network load balancer service provides a pass-through (non-proxy solution) that is capable of preserving the client header (source and destination IP). It is built for speed, optimized for long running connections, high throughput and low latency. Best for: Scaling network virtual appliances such as firewalls, real-time streaming, long running connections, Voice over IP (VoIP), Internet of Things (IoT), and trading platforms. |
Can load balance applications and processes. HTTP / HTTPS / TCP | Can load balance packet forwarding, network traffic, and applications. TCP / UDP / ICMP / IP |
Acts as a reverse proxy. | Can preserve the client header information. |
Can achieve up to 8Gbps per load balancer. | Capable of scaling to multi-terabits per seconds. |
Supports backend autoscaling. | Supports backend autoscaling. |
Can terminate SSL connections. | Low-latency network integrated load balancer. |
Can have a web application firewall. | Network load balancers are Always Free tier. |
One load balancer instance for free (limited to 10 Mbps). Additional instances billed hourly. |
Find more about OCI Load Balancer
Click Load “Balancers” under the “Networking”
I will choose public as it’s for webservers.
Network and security team, will discuss about more options.
You need to add the backends at this point.
2 backends selected.
You can choose the type of traffic and key too.