Reputation: 59
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.
Upvotes: 2
Views: 1484
Reputation: 52423
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:
Upvotes: 5