Vivek Reddy
Vivek Reddy

Reputation: 13

What are the benefits of Autoscaling on AWS?

I have 2 questions on auto scaling:

  1. Is autoscaling only used for websites/webservers?
  2. Let us assume that I have a webpage named vivek.html on an instance (instance-1). Since I have configured autoscaling, once the traffic is more than 50%, there are 2 more instances that have started. How is this going to help to balance the load? As my webpage is only on the instance (instance-1). What happens if I terminate instance-1? How the users will be able to access vivek.html as the webpage is on instance-1?

Upvotes: 0

Views: 74

Answers (1)

Marcin
Marcin

Reputation: 238139

Is autoscaling only used for websites/webservers?

No. It could be used for whatever you need. For example, batch processing of large sets of images, high performance computing and more.

Let us assume that I have a webpage named vivek.html on an instance (instance-1). Since I have configured autoscaling, once the traffic is more than 50%, there are 2 more instances that have started. How is this going to help to balance the load? As my webpage is only on the instance (instance-1). What happens if I terminate instance-1? How the users will be able to access vivek.html as the webpage is on instance-1

You put Load Balancer in front of your autoscaling group. You also design your instances to be stateless. This means that it does not matter which instance is serving your users, which instances gets terminated or when new instance is going to be added.

Upvotes: 1

Related Questions