What to place in which subnet?

In my test VPC, I have six subnets—two for each type, as you can see in the following screenshot:

What should you insert in each kind of subnet? Consider the following points:

  • Public subnets: This refers to all of the external Elastic Load Balancing (ELB) with public access, the bastion host (if you have one), the virtual VPN software in an EC2 machine, and any other resource that requires access from the internet, and cannot be accessed in any other way.
  • Private subnets with internet access: This refers to all of the internal ELBs as well as all EC2 machines behind an ELB (internal or external), that have ...

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.