Skip to content

Instantly share code, notes, and snippets.

View pfcodes's full-sized avatar
🌃

pfcodes

🌃
  • Boston • Los Angeles
View GitHub Profile
@pfcodes
pfcodes / vpc-notes.md
Last active July 20, 2021 20:47
AWS VPC and Subnet notes

General Info

  • A NAT is required for the Lambda to access the internet.
  • Connect to an AWS Aurora Serverless database using Cloud9 (or an SSH tunnel through an additional EC2 instance).

Subnets

The public subnet has the route table with the internet gateway (igw) The private subnet has the rotue table with the nat.

  • To create a new subnet, increment the third section. (10.0.x.0/24)
  • Application Load Balancers go in public subnets.
  • Lambda functions go in private subnets.