Skip to content
Back

Unexpected GCP Networking Bill? Watch Out for Cloud Network Insights

upd
Edit Page

Suddenly got a bill from GCP showing that my November charges were over $100.

Cost Explorer showed the cost came from Networking, and the Billing Report pointed to a SKU called “Hybrid Subnets”.

I was surprised because I didn’t have any active services running in that GCP project—it was strictly a sandbox for experiments.

Turns out, the culprit was Network Intelligence Center -> Cloud Network Insights.

Cloud Network Insights Pricing

https://cloud.google.com/products/network-intelligence-center/pricing?hl=en

It is an easily overlooked service that can quietly rack up a high bill:

$0.10 per path / hour

For just a single path, that adds up to $72/month, which is completely unexpected for a personal toy project.

Never enable Cloud Network Insights in a sandbox project. There really should be an organization policy or guardrail to block this by default.

How to Prevent Accidental Activation (If You Use a GCP Organization)

If your project belongs to a GCP Organization, you can block this service using an IAM Deny Policy so even a Project Owner cannot accidentally enable monitoring:

  1. Grant yourself the Deny Admin (roles/iam.denyAdmin) role at the Organization level.
    1. Create a Deny Policy attached to your project (or organization) that denies networkinsights.googleapis.com/monitors.create for principalSet://goog/public:all.

Note: Individual GCP accounts without an Organization cannot use IAM Deny Policies. In that case, setting a low-threshold billing budget alert. And set multiple thresholds on 110%, 150%, 200%, etc.

Edit Page
Next
DevSecOps From Zero to Hero