VPC Flashcards
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