VPC Flashcards
Think of VPC as
a logical datacenter in AWS
VPCs can span
AZs. They cannot span Regions
VPCs consist of
IGWs (or Virtual Private Gateways), Route Tables, Network ACLs, Subnets, Security Groups
1 subnet =
1 AZ
Security Groups are
stateful
Network ACLs are
stateless. responses to allow inbound traffic are subject to the rules for outbound traffic and vice versa
You can peer VPCs both in
same account and with other AWS accounts
Is transitive peering allowed?
No
When creating a NAT instance
Disable Source/Destination Check on the instance
NAT instances must be in a
public subnet and be behind a security group
NAT instances must have what in order to work?
elastic IP address, a route out of the private subnet to the NAT instance
the amount of traffic that NAT instances supports depends on
the instance size. If you are bottlenecking, increase the instance size
create high availability using
Autoscaling Groups, multiple subnets in different AZs and a script to automate failover
NAT gateways
preferred by enterprise, scale automatically up to 10 Gbps, No need to patch, not associated w/ security groups, assigned a public IP automatically, update route tables, no need to disable source/dest checks
Default Network ACL
created automatically with VPC and by default it allows all outbound and inbound traffic