Enable VPC Flow Logs¶
If you provided a S3 Bucket during the stack creation from the CloudFormation template in the previous section, a S3 bucket is created by the template that acts as the destination for the VPC Flow Logs. Flow logs must be enabled for each of the VPCs.
Steps¶
- Go to the VPCs section on the AWS Console
- Select the VPC and select the Flow Logs tab for that VPC
- Select All as the Filter
- Select Send to an Amazon S3 bucket as the Destination
- Provide the S3 Bucket ARN copied from the Outputs of the CloudFormation template stack
- Choose Custom Format as the Log Record Format
- Select all the fields from the Log Format dropdown
- Click Create Flow Log