Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 11:Load Balancer

                                                            Lab 11:Load Balancer




What is Load Balancer ? Why we use it?

It Automatically distribute incoming traffic across mutiple targets such as EC2 instances containers,IP addresses,and lambda functions.It can handle have varying load of your applications traffic in a single availability zone or Cross multiple availability zones.

There are Three types of load Balancers are there:
1.Classic load balancer--------------->It provides basic loading balancing across multiple EC2 instances and operates at both the request level and connection level.It is intended for applications that were built within the EC2 -classic network.

2.Application Load Balancer----------------->it provides advanced request routing targeted at delivery of modern application architecture,including ,microservices and container-based applications.

3.Networking load Balancer ------------------>It is capable of hadling millions of request per second while
maintaining ultra-low latencies.It is optimized to handle sudden and volatile traffic patterns while using a single static ip address per availability Zone.

Some key words:

High availability
Target groups
Health check

Lab :Creating  a classic load balancer



Go to EC2 dashboard select load balancer

Click on load balancer



Select classic load balancer



Give a name to load balancer
Leave as default rest



And click on security group give load balancer security group



Click configure security settings
click on Next



Leave as default and click on EC2 instances
Select two webservers and click on add tags



Click on review and create 




click on create



Load balancer is created

Lab: Creating an application load balancer

Go to the Ec2 dashboard,select load balancer

Create alb load balancer



Select alb load balancer



Give a name to load balancer
Leave as Default

Come to availability zone select all availability zone
Then click on security settings



Leave as a default click on configure setting group



Select an existing security group

Select alb security group 
click on Next 



Next click on routing settings
Give a name to target group
In health check give index.hmtl



Click on next register targets



Click on review



click on create 




Comments

Popular posts from this blog

Lab 21:Installing docker in instance and build an image

Lab 22:Pushing a docker image to docker hub

Lab 5: Installing Nginx in EC2 instance