VPC 4 Flashcards
Internet Gateways
Two types of IGWs?
IGWs and Egress-Only IGWs
Internet Gateways
Do IGWs support one-way / two-way IPv6 traffic?
Yes, plain IGW handles full IPv4 and IPv6.
Internet Gateways
What’s an Egress-only IGW used for?
IPv6 only when you don’t want all internal things to be publicly-available
Internet Gateways
What does an IGW do with IPv4 addresses?
All VPC IPv4 traffic is via RFC1918 addresses; IGW does STATIC NAT for their public IPs.
Internet Gateways
What does an IGW do with IPv6 addresses?
Nothing: all IPv6 addresses are publicly-routable. No NATing done.
Flow Logs
High-level, what’s in VPC Flow Logs?
Metadata only, no content (need packet sniffer for that)
Flow Logs
Where can you attach a monitor?
All ENIs in a single VPC, one subnet in a single VPC, a specific ENI
Flow Logs
Is Flow Logs real-time?
important
No, definite delay before you see them
Flow Logs
Where does Flow Logs send it’s logs?
S3 or CloudWatch Logs
Flow Logs
What filtering can you set on Flow Logs?
Capture all, only accepted, or only rejected
Flow Logs
5 key parts of a Flow Log record, in order?
src ip, dest ip, source port, dest port, protocol
Flow Logs
What are important values for protocol?
ICMP is 1, TCP is 6, UDP is 7
Flow Logs
See entries for inbound accepted to EC2, outbound rejected. What happened?
important
NACL. Security Group would have accepted both or rejected both
Flow Logs
What 4 things won’t Flow Logs capture?
Anything to 169.254.169.254, DHCP, AmazonProvidedDNS, Amazon Windows License