VPC Flashcards
Q. What is Amazon Virtual Private Cloud (Amazon VPC)?
Amazon VPC lets you provision a logically isolated section of the Amazon Web Services (AWS) cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways. You can also create a hardware Virtual Private Network (VPN) connection between your corporate datacenter and your VPC and leverage the AWS cloud as an extension of your corporate datacenter.
You can easily customize the network configuration for your Amazon VPC. For example, you can create a public-facing subnet for your web servers that have access to the Internet, and place your backend systems such as databases or application servers in a private-facing subnet with no Internet access. You can leverage multiple layers of security, including security groups and network access control lists, to help control access to Amazon EC2 instances in each subnet.
Q. What are the components of Amazon VPC?
A Virtual Private Cloud (VPC), Subnet, Internet Gateway, NAT Gateway, Hardware VPN Connection, Virtual Private Gateway, Customer Gateway, Router, Peering Connection, VPC Endpoint, Egress-only Internet Gateway
Virtual Private Cloud (VPC)
A logically isolated virtual network in the AWS cloud. You define a VPC’s IP address space from a range you select.
Subnet
A segment of a VPC’s IP address range where you can place groups of isolated resources.
Internet Gateway
The Amazon VPC side of a connection to the public Internet
NAT Gateway
A highly available, managed Network Address Translation (NAT) service for your resources in a private subnet to access the Internet.
Hardware VPN Connection
A hardware-based VPN connection between your Amazon VPC and your datacenter, home network, or co-location facility.
Virtual Private Gateway
The Amazon VPC side of a VPN connection.
Customer Gateway
Your side of a VPN connection.
Router
Routers interconnect subnets and direct traffic between Internet gateways, virtual private gateways, NAT gateways, and subnets.
Peering Connection
A peering connection enables you to route traffic via private IP addresses between two peered VPCs
VPC Endpoint
Enables Amazon S3 and Amazon DynamoDB access from within your VPC without using an Internet gateway or NAT, and allows you to control the access using VPC endpoint policies.
Egress-only Internet Gateway
A stateful gateway to provide egress only access for IPv6 traffic from the VPC to the Internet
Q. Why should I use Amazon VPC?
Amazon VPC enables you to build a virtual network in the AWS cloud - no VPNs, hardware, or physical datacenters required. You can define your own network space and control how your network, and the Amazon EC2 resources inside your network, is exposed to the Internet. You can also leverage the greatly enhanced security options in Amazon VPC to provide more granular access both to and from the Amazon EC2 instances in your virtual network.
Q. How do I get started with Amazon VPC?
Your AWS resources are automatically provisioned in a ready-to-use default VPC. You can choose to create additional VPCs by going to the Amazon VPC page in the AWS Management Console and selecting “Start VPC Wizard”.
You’ll be presented with four basic options for network architectures. After selecting an option, you can modify the size and IP address range of the VPC and its subnets. If you select an option with Hardware VPN Access, you will need to specify the IP address of the VPN hardware on your network. You can modify the VPC to add more subnets or add or remove gateways at any time after the VPC has been created.
The four options are:
VPC with a Single Public Subnet Only
VPC with Public and Private Subnets
VPC with Public and Private Subnets and Hardware VPN Access
VPC with a Private Subnet Only and Hardware VPN Access