What is Elastic Load Balancing in AWS?

Elastic Load Balancing is an AWS service that ensures that load is distributed across a set of running instances - offered at 3 levels.
  • Elastic Load Balancing is an AWS service that ensures that load is distributed across a set of running instances
  • AWS offers three types of Load Balancing which run at different levels:
    • Application Load Balancer (ALB) – for web applications, runs at HTTP/HTTPS protocols
    • Network Load Balancer (NLB) – for network level load balancing, runs at TCP/TLS/UDP protocols
    • Classic Load Balancer (CLB) – a previous generation LB for existing EC2 instances running in classic network
  • Since Load Balancer environments don’t guarantee that the same instance executes a same request twice, session management can sometimes be an issue
  • If we wants to persist user sessions and route a user request to a particular instance under the ALB all the time, we need to enable Sticky Sessions on the ALB.

Buy Me A Coffee

Found this article helpful? Please consider supporting!

Ram
Ram

I'm a full-stack developer and a software enthusiast who likes to play around with cloud and tech stack out of curiosity. You can connect with me on Medium, Twitter or LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *