Section 27: Networking and VPC Flashcards
What does CIDR stand for?
CIDR = Classless Inter-Domain Routing
What is CIDR?
CIDR is a method for allocating IP addresses
What are the two components of a CIDR?
1) Base IP
2) Subnet mask
What does a Subnet Mask do?
A subnet mask defines how many bits can change in the IP (like /0, /24/ /32)
What is a Base IP
A Base IP = IP contained in the range of (xx.xx.xx.xx), for example 10.0.0.0
What is a subnet?
A subnet is a range of IP addresses in your VPC.
What is the point of VPC Subnets?
You launch AWS resources into subnets
Can subnets connect to the internet?
Yes, a subnet can connect to the internet (and thus all the resources in that subnet), without connecting the VPC to the internet
How do you route traffic to and from subnets?
Using route tables
What are the 5 reserved IP addresses in each subnet?
The first 4 and last 1 IP address in each subnet is reserved by AWS
What number do subnet sizes start at?
they start at 32. For example: 10.0.0.0/32
What is a Bastion Host
Special purpose computer on a network, designed to withstand attacks by connecting a private subnet to the internet
Bastion host architecture: describe the main architectural pattern
EC2 instance (Bastion Host) sits in public subnet, receives user traffic, and then talks to EC2s in the private subnet
Important for the exam: What is the only port number for the Bastion Host traffic
Port 22
Can VPCs be public?
No, VPCs are private resources