What is the best practice to place web app server in AWS VPC? In Private subnet with ELB or Public subnet? As per my understanding the best practice is to place web app server in public subnet.
Asked
Active
Viewed 1,141 times
2
-
your question is too broad, where you are running the app and is it open to public or used internally? – Amit Dec 19 '17 at 17:20
1 Answers
5
Do not place the web server in the public subnet. Launch them in a private subnet and front end them with ELB that runs in a public subnet. You do not want to deal with DDoS attacks on your web server, leave that to ELB which does an excellent job in addition to load balancing.
See:

helloV
- 50,176
- 7
- 137
- 145