Elastic Load Balancing (ELB) is a load-balancing service that is an integral part of Amazon Web Services (AWS) deployments. Using ELB, incoming application traffic is automatically distributed, and resources are scaled based on traffic levels. Admins can adjust capacity based on incoming applications and network traffic using ELB.
For consistent application performance, users can enable ELB within a single availability zone or across multiple availability zones. As a general rule, load balancing decreases the amount of work a computer requires by dividing the workload among multiple computers.
Secure
SSL/TLS encryption, integrated certificate management, and user authentication.
High Availability
Deliver Magento website with high availability and automatic scaling.
Monitor
Monitor the health and performance of Magento in real-time, identify bottlenecks and maintain compliance.
How it works
Elastic Load Balancing (ELB) automatically distributes incoming traffic across multiple targets in one or more Availability Zones (AZs). It monitors the health of the targets and routes traffic only to healthy targets.
Benefits
Connection-based L4 Load Balancing
Load balances both TCP and UDP traffic, routing connections to targets like Amazon EC2 instances and containers.
Preserve Source IP Address
Preserves the client-side source IP and allows the back end to see the IP address of the client.
Integration with Amazon Route 53
If the network Load Balancer is unresponsive, integration with Route 53 removes the unavailable IP address from the service. It directs traffic to alternate nodes in a different region.
TLS Offloading
It enables us to offload TLS termination tasks to the load balancer. It preserves the source IP address for the backend application.
Sticky Sessions
The sticky session is a process to route requests from the same client toward the same target. Stickiness is enabled at the target group level.
Low Latency
Elastic Load Balancing offers extremely low latencies for latency-sensitive ecommerce stores like Magento.
Static IP Support
The ELB service automatically provides a static IP for each Availability Zone.
Elastic IP Support
The ELB assigns an Elastic IP per Availability Zone or subnet and provides a fixed IP.
DNS Fail-over
In some cases, there are healthy targets registered with the ELB. Amazon Route 53 directs the traffic to nodes in other Availability Zones.
Integration with AWS Services
Integrate the ELB with AWS services such as Auto Scaling, Elastic Container Service, CloudFormation, and Elastic BeanStalk. Other services include CloudWatch, Config, CloudTrail, CodeDeploy, and AWS Certificate Manager.
Long-lived TCP Connections
The ELB supports long-lived TCP connections for WebSocket applications.
Central API Support
Central API support is useful to work to configure target groups and health checks. Set up the ELB across multiple ports on the same Amazon EC2 instance.
Zonal Isolation
The service is designed for architecture in a single zone. If something in the Availability Zone fails, it will automatically move to other healthy Availability Zones.
FAQs
No, the ELB does not have a static IP. The routing is managed by AWS when the IP changes, so it is not required.
Yes, it is possible to create a load balancer in a single AZ. It requires a single subnet when creating one.
Network LB offers TCP and UDP balancing. It handles millions of requests per second and sudden volatile traffic patterns. The service provides extremely low latencies.
It supports TLS termination and preserves the source IP of the clients. The service offers stable IP support and zonal isolation.
A load balancer is a single point of contact for clients. It distributes incoming application traffic across multiple targets. The targets are EC2 instances in multiple Availability Zones.
It increases the availability of Magento and reduces the load on the servers. We can add and remove targets as the demands change without disrupting the overall flow of requests.
We configure health checks to monitor the health of the registered targets. The ELB then sends requests only to the healthy targets.
We configure the ELB to distribute the requests uniformly across the instances in all the enabled AZs. It includes all the web servers in the hosting environment.
It eases the load on multiple servers and optimizes the speed and capacity utilization. The AWS cloud’s instantaneous scalability helps to maintain consistent performance.