Subnets

  • Allows you to split your network inside the VPC.

  • You have it within your VPC.

  • Public subnet - Accessible from the internet; put the resources you want to be public in here, e.g. EC2 instances.

  • Private subnet - Not accessible from the internet; put the resources you want to be private in here, e.g. databases.

  • Route table - Define where network traffic is directed.

  • Attached to an availability zone.

Last updated

Was this helpful?