Logo

dev-resources.site

for different kinds of informations.

What is VPC Flow Log ? How to Enable VPC Log

Published at
11/4/2024
Categories
aws
vpc
security
awsvpc
Author
orhan_kamo_5bd96f9498a487
Categories
4 categories in total
aws
open
vpc
open
security
open
awsvpc
open
Author
25 person written this
orhan_kamo_5bd96f9498a487
open
What is VPC Flow Log ? How to Enable VPC Log

With Amazon Virtual Private Cloud (Amazon VPC), you can launch AWS resources in a logically isolated virtual network that you've defined. This virtual network closely resembles a traditional network that you'd operate in your own data center, with the benefits of using the scalable infrastructure of AWS.

Capture information about IP traffic going into your interfaces:
• VPC Flow Logs
• Subnet Flow Logs
• Elastic Network Interface (ENI) Flow Logs
• Helps to monitor & troubleshoot connectivity issues
• Flow logs data can go to S3, CloudWatch Logs, and Kinesis Data Firehose
• Captures network information from AWS managed interfaces too: ELB,
RDS, ElastiCache, Redshift, WorkSpaces, NATGW, Transit Gateway…

VPC Flow Logs –Traffic not captured
Enter fullscreen mode Exit fullscreen mode

• Traffic to Amazon DNS server (custom DNS server traffic is logged)
• Traffic for Amazon Windows license activation
• Traffic to and from 169.254.169.254 for EC2 instance metadata
• Traffic to and from 169.254.169.123 for Amazon Time Sync service
• DHCP traffic
• Mirrored traffic
• Traffic to the VPC router reserved IP address (e.g., 10.0.0.1)
• Traffic between VPC Endpoint ENI and Network Load Balancer ENI

We can use query with Athena ( top 10 ip adress)

We enable VPC Flow and we sent logs to S3 and CloudWatch

Image description

We created VPC

Image description

aggreation interval 10 minutes because 1 minute means to many logs and it can be expensive and if we want to sent logs to CloudWatch, we need IAM role

Image description

Right now we sent logs to S3.

Image description

Image description

vpc Article's
30 articles in total
Favicon
VPN Peering "Region to Region "
Favicon
Customize VPCs with CloudFormation Conditions
Favicon
AWS VPC with Public and Private Subnets & NAT Gateway
Favicon
Understanding AWS Networking Services: A Comprehensive Guide
Favicon
SECURITY GROUP IN AWS VPC
Favicon
IPs Explained: The Address of the Internet
Favicon
I am a wall - Call me a VPC
Favicon
AWS Private Zones To The Max
Favicon
High Availability Database Architecture on AWS: A Deep Dive
Favicon
Build a Virtual Private Cloud
Favicon
Subnet Settings in AWS: A Subtle Configuration That Can Cause Big Headaches
Favicon
Exploring Advanced Networking Concepts in the Cloud: VPC and Subnets
Favicon
A Beginners Guide to AWS (VPS) Virtual Private Cloud
Favicon
VPC y Subredes en AWS - Parte 2: Configuración de Conectividad Segura entre Recursos y hacia Internet
Favicon
Demystifying an interesting relation between ECR and S3
Favicon
Secure AWS VPC using Public and Private Subnets
Favicon
What is VPC Flow Log ? How to Enable VPC Log
Favicon
Cloud Networking - VPC Peering
Favicon
AWS VPC Peering: A Comprehensive Guide
Favicon
How to Create AWS VPC Using Terraform
Favicon
Deploy an EC2 instance inside a custom VPC using Terraform.
Favicon
Explaining Elastic IP Addresses in AWS
Favicon
Networking Essentials for Cloud Specialists
Favicon
Fundamentos de Redes en AWS: VPC y Subredes - Parte 1
Favicon
Transit Gateway v/s Direct Connect v/s Site-to-Site VPN
Favicon
AWS Networking - VPC
Favicon
AWS Client VPN Caveat: Knowing this can save you hours of troubleshooting
Favicon
Understanding AWS Availability Zones: Boosting SaaS Resilience and Uptime
Favicon
AWS VPC Limits
Favicon
AWS Networking, VPC, and Application Deployment: A Step-by-Step Guide

Featured ones: