VPC Flashcards
What is a VPC?
A VPC is basically a virtual data center within the AWS Cloud.
How many VPCs can you have in a region?
Soft cap of 5 VPCs in a given region. You can call AWS to increase the limit
What security features does VPC have?
NACLS (Network Access Control List)
Security Groups
What subnet ranges can you use?
You can use any classful private IP address ranges as well as CIDR/VLSM blocks.
What is the lowest and highest prefix length for a subnet you can use in VPC?
/16
/28
What are subnets in VPC/AWS?
Each subnet is in its own AZ. 1 subnet = 1AZ
How many internet gateways can you have in a VPC?
You can only have 1 internet gateway per VPC.
How is a default VPC structured?
All subnets in the default VPC has a route out to the internet.
All EC2 instances have a private and public IP address
What is VPC Peering?
VPC peering allows you to connect one VPC with another. You can even connect VPCs in one AWS account with another AWS account’s VPC.
Instances will behave as if they are on the same private network.
What type of logical network topography is a VPC peer in?
Star-type, 1 central VPC with other peers connecting to that central VPC. Each peer does not have transitive access to the other through the central VPC. (Not mesh)
What do VPCs consist of?
Internet Gateways/VP Gateways, Route Tables, NACLs, Security Groups, Subnets
Are Security Groups stateful?
Yes, Security groups are stateful which means that if an inbound connection is allowed, once the session is created outbound will also be allowed even if it’s not explicitly configured so.
Are NACLs stateful?
No. NACLs are not stateful. NACLs are stateless. You must explicitly configure inbound and outbound.
What does it mean for a network connection to be stateful?
It means that if the connection session has been created whether inbound or outbound the opposite (inbound/outbound) does not need to be explicitly configured.
What is a NAT Gateway used for?
A NAT gateway allows a subnet to reach the internet.