VPC Flashcards
What is AWS VPC?
A virtual datacenter in the cloud. A logically isolated part of the AWS cloud where you can define your own network.
What does an AWS VPC consist of?
Internet gateways (or virtual private gateways), route tables, network access control lists, subnets, and security groups.
How many AZ’s can 1 subnet be in?
1
Can a subnet span multiple AZ’s?
No
What is a NAT Gateway?
Network Address Translation Gateway
it enables instances in a private subnet to connect to the internet or other AWS services while preventing the internet from initiating a connection with those instances.
What is a NAT Gateway?
Network Address Translation Gateway
it enables instances in a private subnet to connect to the internet or other AWS services while preventing the internet from initiating a connection with those instances.
Where does the NAT gateway live in your VPC environment?
The public subnet.
What Gbps throughput does NAT Gateway start at?
5 Gbps
What Gbps throughput can a NAT gateway scale too?
45 Gbps
Do you need to patch a NAT Gateway?
No
Are security groups stateful?
Yes
What does it mean that Security groups are stateful?
If you send a request from your instance, the response traffic for that request is allowed to flow in regardless of inbound security group rules
Are Network ACL’s stateful?
No, they are stateless
Does your VPC Automatically come with a Network ACL?
Yes
Does the default NACL allow inbound and outbound traffic?
yes
Does a custom NACL allow all inbound and outbound traffic by default?
No, it denies by default.
Does a Subnet need to be associated with a NACL?
Yes, if you do not add one the default one will be associated to the subnet.
Would you use a NACL or a security group to block an IP address?
A NACL
Can a subnet be associated to multiple NACL’s?
No
Can a NACL be associated to multiple subnets?
Yes
If you add a subnet to a NACL what happens to the prior NACL associated to the subnet?
The previous association is removed.
Does a NACL contain a numbered list of rules?
Yes
In what order do NACLs evaluate the rule list?
In order starting with the lowest numbered rule.
Can NACLs have separate inbound and outbound rules for the same thing.
For example can it allow inbound traffic on port 80 but deny outbound traffic on port 80?
Yes