W
W
WenSiL2018-03-21 16:02:33
Nginx
WenSiL, 2018-03-21 16:02:33

Does Nginx make sense over Node.js on AWS?

Actually the question is purely theoretical, asked out of personal curiosity.
Essence: for example, there is an application on node.js. There are a couple of backend wheelbarrows with this very application and there is a frontend wheelbarrow with nginx for returning statics and load balancing between backends. But now I was impatient to switch to AWS, but the question is, should I leave nginx? After all, in fact, all the features of nginx can be replaced using Elastic Load Balancing (for load balancing between node instances) and CloudFront (for distributing static).
And in general, are instances with web servers needed if they can be mostly replaced by a bunch of ELB and CloudFront?
Why does the AWS reference architecture need a cluster with web servers at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2018-03-22
@WenSiL

It makes no sense, since it is better to put content in S3 and distribute it from there via CloudFront.
What your nginx does is perfectly done through ELB.
Most importantly, if you use Cloud Formation tools, you can simply scale the project without fixing any configs, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question