Skip to content

Why do you default to creating all three subnet tiers in the VPC module? #166

Answered by yorinasub17
yorinasub17 asked this question in Help
Discussion options

You must be logged in to vote

You always need a public subnet even for a purely private deployment of the VPC for the purposes of NAT routing. Without a public subnet tier, the nodes in the private tier will not be able to make outbound connections to the public.

Depending on your use case, you may be able to get away without any public access (air gapped app deployment) by leveraging AWS private links for the services that you do need access (e.g., s3 and ECR and pulling packages there). However, this is fairly cumbersome to implement and is typically not worth the cost in 90% of use cases.

As such, we default to what we expect most customer organizations and team needs, which is the three subnet tiers we default to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yorinasub17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment