Difference between working of Auto-Scaling and ELB?

0 votes
Hi when i was working with EC2 instances I came across the term Auto-scaling and ELB, I got to know that they are used for managing the traffic but I am confused in understanding their role. Can anyone help me in understanding difference between them?
Jun 14 in AWS by Damon Salvatore
• 5,490 points
26 views

1 answer to this question.

0 votes

Well, both are the services offered by AWS, to reduce the worries of their customers regarding the backend tasks like increasing or reducing the servers as per requirement, monitoring the health of servers, managing the traffic load among the servers and many more.

Now, as you are having some queries to understand ELB and Auto-Scaling so let me help you-

ELB:

ELB( Elastic Load Balancer ) distributes the traffic load evenly across the available EC2 instances present in the target groups and they ensure that they connect the traffic to appropriate Target Groups.

ELB also monitors the health of EC2 instances and routes the traffic to a healthy instance only. If it finds any unhealthy instance then it stops sending the request to that instance and makes sure that the data request is sent to some other available instance.

Hence the role of ELB is to just distribute the Traffic, check the health of instance and make sure that every request is connected to appropriate target groups.

AUTO SCALING:

Auto Scaling increases or decreases the no. of available instances as per the scaling policy mentioned, to manage the instances both in peak and off-peak hours.

It is the work of Auto-Scaling to increase the instance when the Threshold value is exceeded and to remove the instances when they are not being utilized.

This helps to ensure that the application faces low down time.

Cloud Watch:

It is a monitoring service by AWS which monitors the health of AWS resources and Applications running on AWS infrastructure , if some action is to be taken then triggers the appropriate resources via alarms.

Hence, ELB distributes the traffic among the instances, cloud watch triggers the Auto Scaling whenever the scaling of instances is to be done and as result, Auto Scaling performs the scaling to ensure the availability of right no. of instances.

ELB, Auto Scaling and CloudWatch all 3 work in Sink.

For the more detailed understanding of ELB and Auto Scaling watch this video

answered Jun 14 by ArchanaNagur
• 2,190 points

Related Questions In AWS

+2 votes
10 answers

Difference between s3n, s3a and s3?

S3 Native FileSystem (URI scheme: s3n) A ...READ MORE

answered Oct 25, 2018 in AWS by Rishab rohan
4,785 views
0 votes
1 answer
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,160 points
98 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is difference between Lightsail and EC2?

EC2 is one of the service by AWS ...READ MORE

answered Aug 7, 2018 in AWS by ArchanaNagur
• 2,190 points
244 views
+1 vote
1 answer