VPC’s Flashcards
What is the method for allocating IP’s called?
Classless Inter-Domain Routing (CIDR)
What defines how many bits can change in the IP?
A subnet mask
What is the max number of VPC’s you can have in an AWS region?
5
What is the max number of CIDR’s you can assign per VPC?
5
AWS reserves ____ in each subnet.
5 IP addresses (first 4 & last 1)
What allows resources in a VPC to connect to the internet?
An Internet Gateway (IGW)
Internet gateways on their own do not allow Internet access, what also must be edited?
The route tables
We can use __________ to SSH into our private EC2 instances
Bastion Host
Where is the Bastion Host located?
The public subnet
For a Bastion host, the security group MUST allow?
Access from the Internet on port 22 from a restricted CIDR
What does NAT stand for?
Network Address Translation
What allows EC2 instances in private subnets to connect to the Internet?
NAT Gateways
Where must the NAT Instance be launched?
In a public subnet
What setting must be disabled in NAT instance?
Source/destination check
What must a NAT Instance have attached to it?
An Elastic IP
Inside of a Nat Gateway, how must the route tables be configured?
For traffic to go from the private subnets to the NAT instance
If you need to implement a VPC where you only want IPv6 instances to be able to connect out and receive responses then you should use what?
An Egress-Only internet Gateway
Gateway endpoints provide a private-only resource inside a VPC or any resource inside a private-only VPC access to which services?
S3 and DynamoDB
Gateway endpoints are highly available across _______________ in a region by default.
All Availability Zones
Do Gateway endpoints go into a particular subnet?
No, it’s associated with a VPC but you just set which subnets are going to be used with it and it automatically configures the route on the route tables for those subnets.
When you are implementing gateway endpoints, you can configure ________________, which allows you to control what things can be connected to that gateway endpoint?.
Endpoints Policy
Gateway endpoints can only be used to access services within the same ____________
Region