VPC Flashcards
(37 cards)
VPC
Virtual Private Cloud is a logically isolated datacenter that you can configure in VPC.
Hardware VPC
is a connection between your corporate datacenter and VPC. It serves as an extension of your corporate data center.
VPC sample flow
InternetGW–>Router–>RouteTable–>NetworkACL–>SecurityGroup–>PublicSN
IANA resreves 3 sets of IP address for private use
- 0.0.0 - 10/8 prefix
- 16.0.0 - 172..16/12 prefix
- 168.0.0/16 prefix
Default VPC vs Custom VPC
All subnets in a default VPC has access to internet. easily deploy EC2. Each EC2 instance has public and private IP address.
VPC peering
Lets VPC talk to each other
1subnet
1 AZ
Security Groups vs Network ACL
Security Group are stateful, Nework ACL(allow deny). If you open in inbound it does not automatically open on outboud
The maximum number of VPCs has been reached.
the default limit is 5 VPCs per Region
VPC
Complete control over your networking env. IP address range, subnets, configuration of route tables and network gateways
VPC cannot span regions
VPS is a logical datacenter in AWS
When you create a VPS it does not create a subnet
route table, security group, Network acl is automatically created.
Main route table
is created when the vpc is created. It contains two routes. One for IPv4 and IPv6. Any subnet having this as route can communicate with each other. Any subnet created is associated automatically with the main route table
Reserves 5 ip addresses within every subnet
network address, router, DNS, reserved for future, Network broadcast
Reserves 5 ip addresses within every subnet
network address, router, DNS, reserved for future, Network broadcast
VPC flow logs
Flow log data is stored in amazon cloud watch logs
VPC flows logs can be created at 3 levels
VPC, subnet, Network interface level
Not all IP traffic is monitored by flow logs
traffic towards amazon DNS, windows instance, traffic to apipa for instance metadata, DHCP traffic, traffic to reserved IP address of default VPC router
AWS direct connect
cloud service solution that makes it eazy to establish a direct network connection from your premises to AWS. . Reduce network costs, increase bandwidth and consistent network experience
AWS direct connect
cloud service solution that makes it eazy to establish a direct network connection from your premises to AWS. . Reduce network costs, increase bandwidth and consistent network experience
with VPC endpoint
Traffic between your VPC components and other services do not leave the Amazon network
VPC endpoints
are virtual devices. horizontal scaled, redundant.
2 types of VPC endpoints
interface endoints gateway endoints( are NAT GWs supported for S3 and dynamo DB)
NAT gateways
Redundant inside AZ, Preferred by enterprise, Starts with 5Gbps and goes upto 45Gbps, no need to patch, Not associated with security groups, automatically assigned a public ip address, Remember to update your route tables, No need to disable source/destination checks