Related Articles

2 Comments

  1. 1

    Ravindra

    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.

    Thanks.

    Reply
    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.

      Reply

Leave a Reply to Onur SALK Cancel reply