Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Public and private Subnets

Pragya Keshap answered on February 21, 2023 Popularity 7/10 Helpfulness 2/10

Contents


More Related Answers

  • c# private public
  • public vs private functions
  • Public Subnet vs Private Subnet
  • what is public private and protected as together called
  • 4. Separate Public, Protected and Private Attributes
  • Private and Public Fields#
  • public and private subnet by ip range

  • Public and private Subnets

    0

    Subnets are a range of IP addresses in the VPC and, as the name suggest Public Subnets have direct access to the internet while Private Subnets have NO access to the internet.

    When you first create a public and a private subnet and all subnets will have a local route, so they look absolutely the same.

    In order for a Public Subnet to be Public and have access to the internet:

    VPC must have a IGW (Internet Gateway) attached

    we need to attach that Internet Gateway to the subnets route table

    instances in the subnet must have a public IP address ( or we must enable Autoassign public IPv4 address to the subnet)

    NACL associated with the subnet must be properly configured to allow inbound and outbound traffic.

    Each subnet can only be associated with one route table, so that traffic can be routed within the VPC or to the internet.

    Subnets are created within AZ, by having a multi-tier application and placing multiple subnets into different AZ you can set up Highly Available and resilient Architectures.

    Popularity 7/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.