Search⌘ K

Understand VPC Flow Logs

Explore how to configure and use Amazon VPC flow logs to monitor network traffic within your AWS environment. Learn about flow log levels, destinations like CloudWatch and S3, and key limitations to enhance your cloud network monitoring and troubleshooting capabilities.

After setting up the network infrastructure, the next step is to configure adequate network monitoring capabilities for future debugging and troubleshooting. Appropriate monitoring allows for the early detection of network issues and aids in the timely resolution of network problems.

Amazon VPC provides a network monitoring service called VPC Flow Logs that collects logs of network traffic going to and from VPC network interfaces. Flow logs capture traffic metadata such as the source address, destination address, protocol, port number, etc., in the form of a flow log record. These are stored at the maximum aggregation level of 10 minutes by default but can be changed to 1 minute when creating a flow log. The contents of traffic packets are not recorded in flow logs.

Flow log levels

...