Section 27: Networking - VPC Flashcards
A virtual network dedicated to your AWS account
Virtual Private Cloud (VPC)
A range of IP addresses within a VPC
Subnet
How many VPCs can you have within a single AWS region?
Up to 5
A redundant, horizontally scaled, and also highly available VPC component that allows communication between instances in your VPC and the internet
Internet Gateway (IGW)
An object that contains a set of rules that determine where network traffic from your subnet or gateway is directed
Route Table
What type of EC2 configuration can you use if you want to allow users to access private EC2 instances from outside of a VPC?
Bastion Hosts
Bastion Host security groups must allow inbound traffic from the internet on port ___ from restricted CIDR
22
If you want to reach a private EC2 via a Bastion Host, then the Security Group of the EC2 must allow the Security group of the Bastion host or this other attribute?
Private IP of the Bastion Host
Device launched in a public subnet to enable instances in the private subnet to initiate outbound IPv4 traffic to the internet or other AWS services, but prevent the instances from receiving inbound traffic initiated on the internet
NAT Instance
Service that can be configured to allow instances in a private subnet to connect to services outside your VPC but external services cannot initiate a connection with those instances
NAT Gateway
Networking feature that allows or denies specific inbound or outbound traffic at the subnet level; its like a firewall which controls traffic to/from subnets
Network Access Control Lists (NACL)
True/False: Network Access Control Lists are stateful so traffic does not have to be explicitly allowed or denied
False - They are stateless
True/False: Network Access Control Lists support allow and deny rules
True
A networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses. Instances in either VPC can communicate with each other as if they are within the same network
VPC Peering
True/False: To utilize VPC Peering, each VPC must have VPC Peering enabled
True
This virtual device, powered by AWS PrivateLink, allows you to connect to AWS services using a private network instead of using the public internet
VPC Endpoint
What are the two available types of VPC Endpoints?
Interface Endpoints
Gateway Endpoints
This type of VPC endpoint provisions an ENI as an entry point between private and AWS services
Interface Endpoint
A VPC endpoint type that serves as a gateway that you specify as a target for a route in your route table for traffic destined to a supported AWS service
Gateway Endpoint
Which AWS Services do Gateway Endpoints support?
S3 and DynamoDB
Is a Gateway Endpoint or an Interface Endpoint a better choice when picking a VPC Endpoint to access S3?
Gateway - It only requires modification of a route table to implement and it is free
A feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC
VPC Flow Logs
Which two gateways are needed to establish a Site-to-Site VPN connection?
Virtual Private Gateway
Customer Gateway
In a Site-to-Site VPN configuration, if your Customer Gateway is behind a NAT device that has NAT-T enabled, then your Customer Gateway should use the ______ IP for the ________ device
Public; NAT
A Site-to-Site VPN connection will not work until this feature is enabled for your Virtual Private Gateway in the route table that is associated with your subnets
Route Propagation