Javy de Koning

Welcome

Geek 🤓, love sports 🏃‍♂️🏋️‍♂️, food 🍛,
tech , @ Amsterdam ❌❌❌.

Javy de Koning

1 minute read

VPC Flowlogs log the traffic flow in your AWS VPC. These logs contain information such as source and destination IP addresses and the packets or bytes transferred. CloudWatch Insights let’s you query these logs, this can be helpful when you want to figure out what is driving the traffic cost within your network.

For example, the below query will tell you what the top contributors are to your NAT-GW cost:

fields srcAddr,dstAddr,bytes
| filter interfaceId = "eni-<nat-eni-id>"
| stats sum(bytes)/1024/1024 as totalMBytes by srcAddr,dstAddr
| sort totalMBytes desc
comments powered by Disqus

Recent posts

See more

Categories

About

There should go some text here but I'm to lazy to write it.