Skill 1.2.6

Determine and configure appropriate log sources based on network design, threats, and attacks (for example, VPC Flow Logs, transit gateway flow logs, Amazon Route 53 Resolver logs)

Key Concepts

VPC Flow Logs capture IP traffic metadata (source, destination, ports, action ACCEPT/REJECT, bytes) at VPC, subnet or ENI level, to CloudWatch Logs, S3 or Firehose. Custom formats add fields such as pkt-srcaddr, tcp-flags and flow direction. They do not capture packet contents (use Traffic Mirroring for that).

Transit Gateway Flow Logs capture traffic crossing a Transit Gateway between VPCs and on-premises networks. Route 53 Resolver query logs record DNS queries from VPCs, useful for spotting DNS exfiltration and command-and-control lookups; Route 53 Resolver DNS Firewall can block them.