Amazon VPC Flow Logs 考试频率 ⭐⭐⭐⭐⭐

VPC Flow Logs

Amazon VPC Flow Logs

networkingAmazon VPC Flow LogsAWS
Last organized

Records ENI traffic metadata such as peers, ports, byte counts, and ACCEPT or REJECT decisions.

Basic information

FieldDetails
English / full nameAmazon VPC Flow Logs
ChineseVPC 流日志
JapaneseVPC フローログ
Review priority考试频率 ⭐⭐⭐⭐⭐
Often confused withTraffic Mirroring / CloudTrail / Reachability Analyzer

In one sentence

Records ENI traffic metadata such as peers, ports, byte counts, and ACCEPT or REJECT decisions.

Core summary

Flow logs can be enabled at VPC, subnet, or ENI scope and delivered to CloudWatch Logs, S3, or Firehose. They do not contain full packet payloads.

Study points

  • ACCEPT proves only that network controls accepted the flow, not that the application responded.
  • A REJECT still requires inspection of the actual security group and NACL rules.
  • Use Athena with S3 or Logs Insights and alarms with CloudWatch Logs.
  • Aggregation and delivery introduce delay; this is not live packet capture.

Common pitfalls

  • NODATA or SKIPDATA is not proof that connectivity is healthy.
  • Flow Logs show metadata, CloudTrail shows API activity, and Mirroring copies packets.

Key memory

Flow Logs for metadata; Mirroring for packet copies; CloudTrail for API activity.