VPC Section Flashcards
1
Q
What is a VPC
A
- Virtual Private Cloud - a private network for your resources
- Divided into Public subnet (www access) and Private subnet (non-www)
- route tables define access
- A VPC spans all Availability Zones (AZs) within a region.
2
Q
What is Internet Gateway and NAT Gateway?
A
- Internet Gateway allows www access to public subnet
- NAT gateway allows www access to Private subnet - for example to allow software updates to be downloaded from web - while remaining private
3
Q
What is NACL and Security Groups?
A
- NACL: network access control list - ip address control (firewall) at subnet level. Allow and Deny
- Security Groups: IP access control at EC2 instance level. Allow only.
4
Q
What are VPC Flow Logs?
A
- Logging for IP traffic into your interfaces
5
Q
What is VPC Peering?
A
- Allows two VPCs to be joined so they appear as as being on same network.
6
Q
What are VPC Endpoints?
A
- Endpoints allow connection from VPC to AWS services on private network vs public network
- Lower latency and enhanced security
- VPC Endpoint Gateway: For dynamoDB and S3 ***
- VPC Endpoint Interface: for the rest
7
Q
Options to connect private network to AWS?
A
- Site-to-Site VPN: public encrypted connection
- Can be setup very quickly
- On Premise uses Customer Gateway
- AWS side has Virtual Private Gateway
- Direct Connect: Physical very private connection
- Takes a month to set up
8
Q
What is Transit Gateway?
A
A way to connect 100’s or 1000’s of VPCs to private network