VPC Flashcards
Subnets and Availability Zones?
One Subnet equals = 1 availability zone.
You cannot have a subnet that crosses multiple availability zones.
What is a security group
1) Your first line of defense against hackers.
2) It is a virtual FireWall
3) Associated to an EC instance.
4) Multiple security groups can be associated with an EC2 instance.
Security Groups are stateful
Whenever you add an inbound rule, it also adds an outbound rule.
Security group denial
Everything is denied/blocked by default, so you need to select what you want to allow, not what you want to. deny.
Security Groups outbound
All outbound traffic is allowed.
NACL State
Network Access Control Lists are stateless.
What is a VPC ?
Think of it as a virtual data centre in the cloud.
* You are given one on account setup.
What does a VPC do?
Lets you provision a logically isolated section of the AWS cloud where you can launch AWS resources in a virtual network that you define.
* You have complete control over your virtual networking environment. (IP Addresses, subnets, route tables and gateways)
VPC and VPN
YOu can create hardware VPNS connections between your corporate data centre and your VPC and leverage the AWS cloud as an extension of your DC.
How you do access a VPC ?
1) Internet Gateway (Internet access)
2) A virtual private gateway (VPN Access)
Subnets and Availability Zones
1 subnet = 1 availability zone
Security groups and Subnets
Security groups can span subnets.
AWS approved Internal IP Ranges:
- 0.0.0 - 10/8
- 16.0.0. - 172.16/12
- 168.0.0 - 192.168/16
VPC limit per region ?
Soft: 5
Default vs Custom VPC ?
All subnets in a default VPC have a route to the internet.