VPC Flashcards
Abbreviation of VPC?
Virtual Private Cloud
What is VPC?
VPC can isolate a section of AWS cloud where we can launch AWS resources.
Can we Deny specific IP using Network ACL?
Yes
How to connect EC2 in private subnets which has no internet?
Internet Gateway -> Router ->Routing Tables ->Network ACL -> Public Subnet -> Security Group -> EC2 -> Private Subnet ->EC2
What is Bastion Host?
EC2 instance of Public Subnet -connect to EC2 instance of Private Subnet.
Private reserved IP?
- 0.0.0
- 0.0.0
- 0.0.0
Default VPC vs Custom VPC?
Default VPC subnet has access to interest by default.
Each EC2 instance in default vpc has private & public IP address.
Default VPC have Internet access?
Yes
What is VPC peering?
Connect 1 VPC to another VPC.
Main components of VPC?
Internet Gateway Routing Tables Network Access Control List Subnets Security Groups
1 subnet - 1 AZ?
Yes
1 subnet - Many AZ?
No
Many subnet - 1 AZ?
Yes
What is Transitive peering?
VPC - A -> VPC B - A can connect to B.
VPC - A -> VPC B -> VPC C A can not connect to C.
VPC - A -> VPC C - A can connect to C.
can we Launch EC2 instance on any of our subnets using VPC?
Yes
Can we assign custom IP address for each subnet using VPC?
Yes
How we can configure route tables between subnet?
Using VPC
Can we create internet gateway & attach to VPC?
Yes
Can we enhance security using VPC?
Yes
Can we create network Access control list using VPC?
Yes
Can we create network Access control list using VPC?
Networking & Content delivery
After creating VPC what other components added to new VPC?
Route Table, Network ACL,Security group
After creating VPC what other components not added to new VPC?
Subnet, Internet Gateway
How many IP AWS reserves for internal purpose?
5
10.0.0.0 used for?
Network address
10.0.0.1 used for?
VPC Router
10.0.0.2 used for?
DNS Server
10.0.0.3 used for?
Future use
10.0.0.255 used for?
Network broadcast
how many Internet gateway can be associated with a VPC?
1
Any new subnet will be auto associated with which Route table?
Default Route table
Advisable settings for Main route table public accessible/private ?
Private
To enable route table to internet what IP need to added with gateway?
“0.0.0.0/0
::/0”
IPV6 start with ?
::
How to enable internet for subnet?
associate subnet with public route table.
To enable IP ping what need to be configured?
ICMP
HTTP port
80
HTTPS port
443
SSH port
22
MySQL port
3306
Abbreviation of NAT?
Network address translation
Purpose of NAT Instance/gateway?
NAT Instance / NAT gateways allows EC2 instance in private subnet to access internet through NAT Instance/gateway.
What is NAT Instance?
Single EC2 instance
What is NAT Gateway?
Highly available gateway
In which subnet we need to provision NAT Instances/gateway?
Public Subnet
NAT Instances use which security group?
Public Security Group
Can we have Source Destination Check enabled for NAT Instance?
NO it should be turned off for NAT Instance EC2.
In which route table we need to map NAT instance/gateway for Internet?
Private Route table to NAT Instance
Disadvantage of NAT Instance?
Performance issue & availability is low.
Advantage of NAT Gateway?
Highly available & High performance
AZ can have many NAT Gateway?
No Only 1.
Can NET Gateway auto scale?
Yes
Can NET Instance auto scale?
No
Can we have Source Destination Check enabled for NAT Gateway?
Not Applicable
AZ can have many NAT Instance?
Yes
NAT Gateway use which security group?
Security group not involved in NAT Gateway
NAT Gateway scale range?
5 Gbps to 45 Gbps
Do we get NACL when we create VPC?
Yes
What permission do we have when we create NACL?
Allow All