---
title: "Discussion on \"Bash Script to Enable VPC Flow Logs on all subnets in a GCP Project\" | Hashnode"
description: "Discussion on \"Bash Script to Enable VPC Flow Logs on all subnets in a GCP Project\". Here's a super simple bash script to enable VPC flow logs on every subnet across a specified GCP project with an option to include or exclude logging metadata that I wrote. It has the aggregation inte"
url: "https://hashnode.com/posts/bash-script-to-enable-vpc-flow-logs-on-all-subnets-in-a-gcp-project/6408b15af502dea70f6685fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Bash Script to Enable VPC Flow Logs on all subnets in a GCP Project](https://blog.jennasrunbooks.com/bash-script-to-enable-vpc-flow-logs-on-all-subnets-in-a-gcp-project?utm_source=hashnode&utm_medium=feed)

Here's a super simple bash script to enable VPC flow logs on every subnet across a specified GCP project with an option to include or exclude logging metadata that I wrote. It has the aggregation inte

Mar 8, 2023 · 1 min read · blog.jennasrunbooks.com  
Updated Sep 4  
Read the article

-   [#google-cloud](https://hashnode.com/tag/google-cloud)
-   [#vpc](https://hashnode.com/tag/vpc)
-   [#bash](https://hashnode.com/tag/bash)
-   [#networking](https://hashnode.com/tag/networking)

## Written by

[Jenna's Runbooks](https://hashnode.com/@jennasrunbooks)

@jennasrunbooks

  
[View profile](https://hashnode.com/@jennasrunbooks)

Cloud Engineer & SRE transitioning to AI/ML Platform Engineering | Writing on AI Infra, MLOps & DevEx

Hi there! I'm a Cloud Engineer &amp; SRE, documenting my transition into AI/ML Platform Engineering. I write technical deep-dives, hands-on implementation guides, CLI helper scripts, and visual architectures covering cloud, infrastructure, orchestration, governance, and modern AI runtimes.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
