VPC Section Summary Flashcards
CIDR
IP Range
VPC
Virtual Private Cloud - we define a list of IPv4 & IPv6 CIDR
Subnets
tied to an AZ, we define a CIDR
Internet Gateway
at the VPC level, provide IPv4 & IPv6 Internet Access
Route Tables
must be edited to add routes from subnets to the IGW, VPC Peering Connections, VPC Endpoints, …
Bastion Host
public EC2 instance to SSH into, that has SSH connectivity to EC2 instances in private subnets
NAT Instances
gives Internet access to EC2 instances in private subnets. Old, must be setup in a public subnet, disable Source/Destination check flag
NAT Gateway
managed by AWS, provides scalable Internet access to private EC2 instances, IPv4 only
Private DNS + Route 53
enable DNS Resolution + DNS Hostnames (VPC)
NACL
stateless, subnet rules for inbound and outbound, don’t forget Ephemeral Ports
Security Groups
stateful, operate at the EC2 instance level
Reachability Analyzer
perform network connectivity testing between AWS resources
VPC Peering
connect two VPCs with non overlapping CIDR, non-transitive
VPC Endpoints
provide private access to AWS Services (S3, DynamoDB, CloudFormation, SSM) within a VPC
VPC Flow Logs
can be setup at the VPC/Subnet/ENI Level, for ACCEPT and REJECT traffic, helps identifying attacks, analyze using Athena or CloudWatch Logs Insights