VPC Flow Logs and Traffic Monitoring
You likely have several different public and private subnets within your AWS account allowing external connectivity. You may even have multiple VPCs connected via VPC peering connections or AWS Transit Gateway. Either way, you will have a lot of network traffic traversing your AWS infrastructure from numerous sources, internally and externally, across thousands of interfaces. Flow logs allow you to capture this IP traffic across the network interfaces attached to your resources, which could number in the tens of thousands in a corporate environment.
Flow logs can be configured for the following resources:
- Your VPC
- A subnet within your VPC
- A network interface from your EC2 instances or interfaces created by Elastic Load Balancing (ELB), Amazon RDS, Amazon ElastiCache, Amazon Redshift, Amazon WorkSpaces, NAT gateways, and Transit Gateway
As flow logs can capture information at these levels, they are a tool to help troubleshoot...