AWS Networking Services Flashcards
A virtual network dedicated to your AWS account
Amazon Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (VPC) Features
Analogous to having your own Data Center (DC) inside AWS.
It is logically isolated from other virtual networks in the AWS Cloud.
Provides complete control over the virtual networking environment including selection of IP ranges, creation of subnets, and configuration of route tables and gateways.
You can launch your AWS resources, such as Amazon EC2 instances, into your VPC.
VPC IP Addresses
When you create a VPC, you must specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
This is the primary CIDR block for your VPC.
Amazon VPC Facts
A VPC spans all the Availability Zones in the region.
You have full control over who has access to the AWS resources inside your VPC.
You can create your own IP address ranges, and create subnets, route tables and network gateways.
When you first create your AWS account a default VPC is created for you in each AWS region.
A default VPC is created in each region with a subnet in each AZ.
By default you can create up to 5 VPCs per region.
You can define dedicated tenancy for a VPC to ensure instances are launched on dedicated hardware (overrides the configuration specified at launch).
Default VPC
A default VPC is automatically created for each AWS account the first time Amazon EC2 resources are provisioned.
The default VPC has all-public subnets.
Instances in the default VPC always have both a public and private IP address.
Public subnets
Public subnets are subnets that have:
“Auto-assign public IPv4 address” set to “Yes”.
The subnet route table has an attached Internet Gateway.
Availability Zone Fact
AZs names are mapped to different zones for different users
(i.e. the AZ “ap-southeast-2a” may map to a different physical zone for a different user).
Components of a VPC
A Virtual Private Cloud
Subnet
Internet Gateway
NAT Gateway
Hardware VPN Connection
Virtual Private Gateway
Router.
Peering Connection
VPC Endpoints
Egress-only Internet Gateway
A logically isolated virtual network in the AWS cloud. You define a VPC’s IP address space from ranges you select.
A Virtual Private Cloud
A segment of a VPC’s IP address range where you can place groups of isolated resources (maps to an AZ, 1:1).
Subnet
The Amazon VPC side of a connection to the public Internet.
Internet Gateway
A highly available, managed Network Address Translation (NAT) service for your resources in a private subnet to access the Internet.
NAT Gateway
A hardware-based VPN connection between your Amazon VPC and your datacenter, home network, or co-location facility.
Hardware VPN Connection
The Amazon VPC side of a VPN connection.
Virtual Private Gateway
Customer side of a VPN connection
Customer Gateway
Used to interconnect subnets and direct traffic between Internet gateways, virtual private gateways, NAT gateways, and subnets.
Router
Enables you to route traffic via private IP addresses between two peered VPCs.
Can be created with VPCs in different regions (available in most regions now).
Peering Connection
Enables private connectivity to services hosted in AWS, from within your VPC without using an Internet Gateway, VPN, Network Address Translation (NAT) devices, or firewall proxies.
VPC Endpoints