September 14, 2020 / Nirav Shah
VPC Flow Logs is a feature that enables you to capture information about the IP traffic going to and from network interfaces within your VPC. Flow log data is then stored using Amazon CloudWatch Logs. And after you’ve created a flow log, you can view and retrieve its log data in Amazon CloudWatch.
How to create flow log?
Step 1
Sign in to your AWS account.
Step 2
Go to the VPC section and click on “Action” and create flow log.
There are two types of destination

For the “Destination log group” you have to create a cloud watch log. If you don’t know how to create a cloud watch log, this Visit Amazon Cloudwatch Logs Guidelines will help you.

Now if you click on “Send to an S3 bucket” you will see a screen as shown below.

If you have already created a bucket, then add the bucket ARN in the above section. After filling up information in all the above fields, just click on “create” button.
It can take around 10 minutes to add a log on the s3 bucket.
So that’s it for today’s blog please go to your s3 bucket and check the logs.
Also Read : VPC Endpoints with S3
FAQs:
1. How do I collect VPC flow logs?
2. Are CloudWatch logs stored in S3?
3. how to enable vpc flow logs in aws

Nirav Shah is the Director of Eternal Web Pvt Ltd, an AWS Advanced Consulting Partner and certified Odoo Partner based in the UK. With over a decade of experience in cloud computing, digital transformation, and ERP implementation, Nirav helps enterprises adopt the right technology to solve complex business challenges. He specialises in AWS infrastructure, Odoo ERP, and web development solutions for businesses across the UK and beyond.
Have queries about your project idea or concept? Please drop in your project details to discuss with our AWS Global Cloud Infrastructure service specialists and consultants.