Amazon Web Services (AWS) provides Elastic Load Balancing (ELB) to automatically spread your incoming app traffic across multiple Amazon EC2 instances.
What is Amazon Elastic Load Balancing?
Amazon Web Services (AWS) provides Elastic Load Balancing (ELB) to automatically spread your incoming app traffic across multiple Amazon EC2 instances. ELB will detect unhealthy instances and re-routes the traffic to healthy EC2 instances until the unhealthy instances have been recovered. Elastic Load Balancing also allows the user to balance the load within Single or Multiple Availability Zones for more consistent performance. Elastic Load Balancing automatically scales its request handling capacity in response to incoming traffic.
What are You Going to Learn?
❖ What is the Need for ELB
❖ Advantages of Using Amazon Elastic Load Balancing
❖ Companies Depending on Amazon Elastic Load Balancing
❖ How to Setup and Manage Amazon Elastic Load Balancing
What is the Need for ELB?
For critical applications like e-commerce websites, SaaS applications and online transactions, the application server needs to be active all the time. The service level must be very high for the business demands. Hence the Elastic Load Balancing allows the user to run multiple instances with same application configuration and manage the heavy traffic or spike. It helps the application to run seamlessly and consistently to avoid disruptions and downtime.
Advantages of Using Amazon Elastic Load Balancing
● Improved response times shared by sharing the work amongst a group of servers such as Amazon’s Elastic Load Balancer rather than just one server
● Amazon Elastic Load Balancing helps to improve the availability of the application using different algorithms
● Sticky sessions will help the user to be connected with the same session along with the the application that is running inside one of the VM instance in the Elastic Load Balancer
● Elastic Load Balancing works along with Virtual Private Cloud to provide a improved network performance and security options
● Sign-in to Amazon Web Services management console.
● Create two or more instances to connect with the Elastic Load Balancer.
Companies Depending on Amazon Elastic Load Balancing
How to Setup and Manage Amazon Elastic Load Balancing
Login to aws.amazon.com and select EC2 option. On the left side pane, select Load Balancers options to create a new Elastic Load Balancer
Click on the Create Load Balancer button to create a new Elastic Load Balancer
The Elastic Load Balancer wizard will pop up in the screen. Enter the details like Load Balancer Name, configure the load balancer protocol, load balancer port, Instance protocol and Instance port.
In the next page, you can configure the ping settings and advanced options.
In the next page, you can choose the EC2 instance from existing security groups or you can create a new security groups.
Select the Instances from the list to add to the Elastic Load Balancer.
Finally, review all the settings before creating the Elastic Load Balancer. You can see the new Elastic Load Balancer in the list.
You can also configure the listener configurations for HTTP, HTTPS, TCP and SSL protocols. Amazon Elastic Load Balancer is available along with the EC2 Instances and Virtual Private Cloud. It is possible to connect with the back-end server authentication with Elastic Load Balancing.
Amazon Elastic Load Balancing is helpful for critical web applications which require high availability and regular health checkups. The ELB provides ping checks to the ports which will enable the user to manage and improve the scalability of the Multi-tier architecture.