Related Articles


  1. 1


    Hello Onur,

    Just by going the naming convention that you have used for subnets, I’m making an assumption that Public Subnet will host all web servers and private subnet will host DB servers. If this assumption is correct then below mentioned my question holds sense.

    Instances provisioned in public subnet cannot access internet until public (Elastic) IP is associated. Considering this, Is it a good practice to have web servers in Public subnet with public IP, even if instances are behind ELB? Here I’m assuming that web server needs internet connectivity to complete one or more functionalities.


    1. 1.1

      Onur SALK

      Hi Ravindra,

      You can put your webservers in private subnet behind ELB. And for the internet access, you should use a NAT server in public subnet and use your default gateway for your webservers.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.