Elastic Load Balancer - Part1

Utkarsh RastogiUtkarsh Rastogi
3 min read

Amazon Cloud Concepts Learning --> Day10

Elastic Load Balancing

  • It automatically distributes your incoming traffic across multiple targets such as EC2 Instances, containers and IP Addresses in one or more Availability Zones.

  • It monitors health of its registered targets and sends traffic solely to the targets that are healthy.

  • In reaction to variations in incoming traffic, elastic load balancing automatically increases or decreases your load balancer's capacity.

  • Your applications' availability and fault tolerance will enhance if you use a load balancer.

  • The following load balancers are supported by Elastic Load Balancing

    Application Load Balancer (ALB)

    Network Load Balancer (NLB)

    Gateway Load Balancer (GLB)

    Classic Load Balancer (CLB)


Elastic Load Balancer Features

Elastic Load Balancer offers following features

Security

  • To offer more networking and security options for any type of Load Balancer, you may build and administer security groups linked to Elastic Load Balancing when utilizing Amazon Virtual Private Cloud (VPC).

  • You have the option to set up any load balancer to face the internet or to act as an internal, non-internet load balancer by creating a load balancer without a public IP address.

High availability

  • The availability of an elastic load balancer is high.

  • You have the option of allocating incoming traffic to one or more Availability Zones for your Amazon EC2 instances. As more application traffic comes in, an elastic load balancer will dynamically increase or decrease its capacity to handle requests.

  • Elastic Load Balancer performs customizable health checks on your targets at a predetermined interval to make sure they are available and in good condition.

High throughput

  • An elastic load balancer can load balance millions of requests per second and is made to accommodate traffic growth. It can manage abrupt changes in traffic patterns as well.

Health checks

  • An Elastic Load Balancer only routes traffic to healthy targets such as EC2 instances, containers, IP addresses, Lambda functions.

  • With Elastic Load Balancing, you get improved insight into the health of your applications in two ways

  1. health check improvements that allow you to configure detailed error codes. The health checks allow you to monitor the health of each of your services behind the load balancer.

  2. new metrics that give insight into traffic for each of the services running on an EC2 instance.

Sticky sessions

  • Requests from the same client can be directed to the same destination using sticky sessions.

  • Sticky sessions are supported by elastic load balancers.

  • At the level of the target group, stickiness is defined.

Operational monitoring & logging

  • Application and Classic Load Balancer metrics, including request counts, error counts, error kinds, request latency, and more, are reported by Amazon CloudWatch.

  • Amazon CloudWatch also monitors Active Flow Count, New Flow Count, Processed Bytes, and other Network and Gateway Load Balancer information.

  • AWS CloudTrail, which keeps account of API calls to the ELB.

Delete protection

  • To guard against unintentional deletion, you can activate deletion protection on an elastic load balancer.

"Thank you for reading! If you found this blog helpful, don't forget to subscribe for more insightful content. Your support keeps me motivated to bring you valuable insights. Stay updated and never miss out on our latest posts. Feel free to leave comments or suggestions for future topics. Happy learning!"

https://awslearner.hashnode.dev/amazon-web-services-via-category

0
Subscribe to my newsletter

Read articles from Utkarsh Rastogi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Utkarsh Rastogi
Utkarsh Rastogi

๐Ÿ‘จโ€๐Ÿ’ป AWS Cloud Engineer | Around 6 years of Corporate Experience | Driving Innovation in Cloud Solutions ๐Ÿ”ง Day-to-Day Tasks: Specialize in creating AWS infrastructure for Migration Projects. Leveraging services such as S3, SNS, SQS, IAM, Lambda, System Manager, Kinesis, OpenSearch, Cognito, Storage Gateway, Cloud Watch, API Gateway, AWS Event Scheduler, Secret Manager, ECS, Application Load Balancer, VPC among others. Additionally, I excel in crafting Splunk Dashboards and implementing alerting mechanisms for Cloud Watch logs to monitor failures. My approach involves constructing AWS infrastructure using the Serverless framework and Cloud Formation templates, while automating tasks through Boto3 (Python Scripting) Lambdas. ๐ŸŽฏ Passion: I am deeply passionate about continuously learning new technologies and eagerly anticipate the transformative impact of cloud computing on the tech landscape. ๐Ÿ“ง Connect: Feel free to reach out to me at awslearningoals@gmail.com. Let's connect and explore potential collaborations! https://www.linkedin.com/in/rastogiutkarsh/