What is an Amazon Virtual Private Cloud (VPC)?
A logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define.
What is a subnet in a Virtual Private Cloud?
a range of IP addresses in a VPC
What characterizes a public subnet?
Resources in a public subnet can access the public internet. The subnet has a direct route to an internet gateway.
What characterizes a private subnet?
The subnet does NOT have a direct route to an internet gateway. Resources in a private subnet require a NAT device to access the public internet.
True or False?
Each subnet must reside entirely within one Availability Zone and cannot span zones.
True.
True or False
A VPC spans all of the Availability Zones in a Region.
True. After you create a VPC, you can add one or more subnets in each Availability Zone.
See VPC Basics
What is an internet gateway?
A network connection between a VPC and the public internet.
How do you enable public traffic from the internet to a public subnet in a VPC?
By attaching an internet gateway to the VPC and configuring routing.
True or False
A resource in a public subnet must have a public IPv4 or IPv6 address to connect to the public internet
True. Likewise, resources on the public internet can initiate a connection to resources in a public subnet using the public IPv4 or IPv6 address of the resource.
Fill in the blank
If a subnet is associated with a route table that has a route to an internet gateway, it’s known as a ________ subnet.
Public
Fill in the blank
If a subnet is associated with a route table that does not have a route to an internet gateway, it’s known as a ________ subnet.
Private
What is a Virtual Private Network (VPN)?
A service that creates a secure, encrypted connection over a public network, e.g. the public internet. The encrypted connection is sometimes referred to as a secure tunnel.
What is a Virtual Private Gateway?
The VPN endpoint on the Amazon side of a Site-to-Site VPN connection that can be attached to a single Virtual Private Cloud (VPC).
Applicable to Site-to-Site VPN.
To establish a VPN connection to a Virtual Private Cloud (VPC), e.g. from an on-premises data center, you need what on the Amazon side?
A virtual private gateway, which allows traffic into the VPC only if it is coming from an approved network.
What is AWS Client VPN?
A fully managed, elastic, client-based VPN service that enables secure access to AWS resources (and resources in an on-premises network) from any location using an OpenVPN-based VPN client.
True or False
AWS Client VPN can be used to provide access to AWS cloud resources for remote workers
True. It can also be used to provide access to on-premise networks for remote workers.
What is AWS Site-to-Site VPN?
Site-to-Site VPN creates a secure VPN connection between an on-premise data center or branch office and AWS Cloud resources.
What is AWS PrivateLink?
A service that allows you to connect a VPC to services and resources in other VPCs using private IP addresses, as if those services and resources were hosted directly in your VPC.
True or False?
With AWS PrivateLink, you do not need to use an internet gateway, NAT device, public IP address, Direct Connect connection, or AWS Site-to-Site VPN connection to allow communication with the remote service or resource from your private subnets.
True. Consumers (i.e. the consuming VPC) create VPC endpoints to connect to endpoint services and resources that are hosted by providers.
What is AWS Direct Connect?
A service for establishing a dedicated private connection between an on-premise network and the AWS Cloud.
True or False?
Direct Connect bypasses the internet.
True. Direct Connect links your internal network to a Direct Connect location over a standard Ethernet fiber-optic cable. A Direct Connect location provides access to AWS in the Region with which it is associated.
When does it make sense to use Direct Connect?
True or False?
In the AWS Direct Connect architecture, there is an endpoint at the AWS Direct Connect location that connects to your VPC’s Virtual private gateway in the AWS Cloud.
True. There is a dedicated physical connection from the customer’s on-premise router to a router at the AWS Direct Connect location. The latter connects to an AWS Direct Connect endpoint, which connects to a Virtual private gateway (attached to a VPC) in the AWS Cloud.
When does Direct Connect make more sense than VPN?
When you need much higher bandwidth with a dedicated line.