V
V
vaarsn2017-03-07 00:40:32
Amazon Web Services
vaarsn, 2017-03-07 00:40:32

How does AWS Auto Scaling work when using dynamic content on EC2?

Good day.
I'm trying to get into the workings of Auto Scaling along with Load Balancer. Well familiar with the structure and operation of other services, such as VPC, RDS, EC2, etc.
I would like to understand how Auto Scaling works.
I have a working EC2 with WHM running on it and a few online stores. Periodically, there are peak loads on the server, which led me to Auto Scaling. New products are often added to online stores. As I understand it, at the time of peak load, Auto Scaling should raise a new instance, and ELB should distribute traffic between them. But how will all this work if the data in the online store changes every minute?
Perhaps I have not fully understood how Auto Scaling works.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Axian Ltd., 2017-03-07
@AxianLTD

Something tells me that in order to use Auto Scaling, the architecture of the application itself (in your case, the store) needs to understand scaling and balancing. If this is not the case, then the result will be zilch. For example, you will automatically raise how many web server instances, let's say even on the balancer, but the database remains the bottleneck. Those. The database also needs to be scaled at some point. And so for each link of the architecture separately and all of them together and in different combinations.
Briefly - do not put a saddle on a cow.

P
Puma Thailand, 2017-03-07
@opium

you don’t understand how it works,
the database should be separate in the rds, respectively, replicas should be automatically raised to read from them when the load grows
under autoscaling, there should be only the application itself, if there are any user files or pictures, they should be on external storage, for example c3
then there is an application that needs to be completed for autoscaling, it will not scale by itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question