gcp enabling vpc log flow for a subnet

 To enable VPC log flow for a subnet, we will have to go to this page here :- https://console.cloud.google.com/networking/networks/list and then select tab "Subnets in current projec"

And then proceed to select "Manage flow logs" and add new configuration. If you're trying to edit an existing configuration, choose edit. (Or you can click on the blue button next to it) 




Next, we will be directed to this page here :



Provide a name and specify the configuration for 

1. Aggregation time 

2. Connection logging sampling rate : I use 50% sampling rate to reduce data size.

3. Status - make sure it is on 


Once you're done, let's head over to Flow Analyzer to analyze your traffic  

https://console.cloud.google.com/net-intelligence/flow-analyzer


Ensure you have upgrade the bucket to support observability.



Once you have enabled it, then you will be able to start using to query your vpc flow 





Comments

Popular posts from this blog

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

llama cpp running it in google colab