What Types of Sticky Sessions Does ELB Support?

2



The ELB supports the following types of sticky sessions: Source IP address, App cookie, and HTTP cookie.



Other related questions:
What Is ELB?

ELB is a service that automatically distributes incoming traffic across multiple backend Elastic Cloud Servers (ECSs) based on specified forwarding policies. It improves the fault tolerance and expand service capabilities of your applications. ELB also eliminates single points of failure (SPOFs) and improves system availability.

In addition, ELB supports centralized deployment on both the internal and external networks, active/standby VRRP deployment, and access through VPNs and Direct Connect connections and across VPCs.

You can create a load balancer on a web-based console, configure monitoring ports of the service, and configure ECSs associated with the load balancer.


What are the application scenarios of ELB
ELB application scenarios include service distribution, service expansion, and access control.

Which Forwarding Modes Does ELB Support?

ELB supports the following forwarding modes:

  • Round robin: sends requests to backend ECSs in polling mode. This forwarding rule applies to short-connection services, such as the HTTP service.
  • Least connections: preferentially sends requests to the backend ECS with the least connections. This forwarding rule applies to long-connection services, such as the database service.
  • Source IP address: calculates the hash value of the request source IP address and sends requests to a matched ECS. This forwarding rule ensures that requests initiated from the same source IP addresses are sent to a fixed ECS. This rule applies to TCP connections of load balancers that do not use cookies.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top