frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why your 'Private Google Access enabled' subnet still bills Cloud NAT

https://github.com/FootprintAI/Containarium
2•hsin003•1h ago

Comments

hsin003•1h ago
We hit a Cloud NAT bill of ~$4,500/month (3.2 TiB/day at $0.045/GiB) on a project where we'd "enabled Private Google Access" on the subnet. The traffic was inference workloads pulling data from GCS — exactly what PGA is supposed to put on the private path for free.

The host is a multi-tenant LXC setup (Containarium — open source, many isolated user containers on one VM behind a shared NAT IP). The cost-saving reason we run it that way is exactly the same reason this incident was sneaky: ~20 workloads sharing one egress IP means VPC flow logs and Cloud NAT metrics all point at the same place, with no native GCP way to attribute traffic per workload.

Where the platform earned its keep: it tracks per-container resource stats (CPU/memory/disk/network via veth counters) and exposes them in a web UI. We sorted containers by lifetime tx bytes, and the offender jumped out — xxx-container, 1.5 TB rx since boot. Two orders of magnitude above any other container.

Without per-container traffic accounting, we'd have been left correlating VPC flow log timestamps against ps and lsof on the host — the kind of investigation that takes a day, not five minutes.

Then we looked at the destination IP from VPC flow logs: 192.178.163.207 → tt-in-f207.1e100.net. Google-owned. That misled us at first: it looked like PGA was working, just to a different Google service. It wasn't.

The actual problem: PGA has two halves and GCP only surfaces one of them in the subnet UI.

1. Subnet flag — --enable-private-ip-google-access. We had this on. 2. DNS — *.googleapis.com has to resolve to the private VIP range 199.36.153.8/30 (or 199.36.153.4/30 for restricted). Without that, storage.googleapis.com resolves to a normal public Google IP, the route to PGA never gets used, and Cloud NAT processes every byte.

The fix is a Cloud DNS private zone for googleapis.com attached to the VPC, with A and AAAA records pointing at the private VIP range (don't forget IPv6 — we hit that on attempt one and saw traffic go right back out the public path). Once that's in place, dig storage.googleapis.com from inside the VPC returns 199.36.153.11, traffic uses the private path, NAT bytes drop ~95%.

Verification one-liner from a VM in the VPC:

$ dig +short storage.googleapis.com 199.36.153.11 # private VIP — good # vs. 142.251.x.x # public IP — your "PGA-enabled" subnet is doing nothing

The annoying part is that everything else looks correct. Subnet flag set, no external IP on the VM, destination is a Google IP, NAT gateway is healthy. There's no warning anywhere that DNS is the missing piece.

Worth checking on every VPC where you assumed PGA was doing its job.

Peerloop – Review three products, get three reviews on yours

https://peerloop.xyz/
1•sssecasiu•7m ago•0 comments

HNSW vector search beyond available RAM for ESP21P4

https://github.com/brunokeymolen/nn20db-sdk
1•brunokeymolen•10m ago•1 comments

Great Paper: The Calculated Typer – Iowa Type Theory Commute Podcast S7 E6

https://pocketcasts.com/podcast/iowa-type-theory-commute/4c437000-eef8-0137-b700-0acc26574db2/gre...
1•matt_d•13m ago•0 comments

Show HN: Vaava – a baby routine tracker / logging app

https://www.vaava.app/
1•jkantola•16m ago•0 comments

WASM is not quite a stack machine

https://purplesyringa.moe/blog/wasm-is-not-quite-a-stack-machine/
1•signa11•19m ago•0 comments

TiddlyWiki v5.4.0

https://tiddlywiki.com/
1•Tomte•21m ago•0 comments

San Francisco, AI capital of the world, is an economic laggard

https://www.economist.com/finance-and-economics/2026/04/26/san-francisco-ai-capital-of-the-world-...
1•1vuio0pswjnm7•21m ago•0 comments

Cold Rush: Cooling Quantum Computers

https://www.science.org/content/article/helium-3-runs-scarce-researchers-seek-new-ways-chill-quan...
1•sudo_cowsay•21m ago•0 comments

Temporal Language Models

https://www.calcifercomputing.com/reports/tlm
1•oldfuture•24m ago•0 comments

QuickQWERTY: Touch typing tutor that runs in the web browser

https://codeberg.org/susam/quickqwerty
1•susam•26m ago•0 comments

Taylor Swift files to trademark voice and image after AI concerns

https://www.bbc.co.uk/news/articles/crm1mygrmv2o
2•austinallegro•26m ago•0 comments

Go is FIPS 140-3 certified

https://bsky.app/profile/filippo.abyssdomain.expert/post/3mkjbzbzxh62b
1•joonas•28m ago•0 comments

Personal Loan EMI Calculator – Check EMI Online – SMFG India Credit

https://www.smfgindiacredit.com/personal-loan-emi-calculator.aspx
1•saumyaraut11•34m ago•0 comments

Academics Need to Wake Up on AI, Part III

https://www.popularbydesign.org/p/academics-need-to-wake-up-on-ai-part-4c6
1•nedruod•35m ago•0 comments

Can Sam Altman be trusted? Musk wants a jury to answer the question

https://www.politico.com/news/2026/04/26/can-sam-altman-be-trusted-elon-musk-wants-a-jury-to-answ...
3•1vuio0pswjnm7•41m ago•2 comments

From Indiana to Idaho, a Backlash Against A.I. Gathers Momentum

https://www.nytimes.com/2026/04/27/technology/ai-artificial-intelligence-backlash.html
3•1vuio0pswjnm7•43m ago•0 comments

European Superheroes

https://europeisnotdead.com/european-superheroes/
1•hyperific•44m ago•0 comments

Show HN: Kplane – Virtual Kubernetes control plane

https://github.com/kplane-dev/kplane
1•lexokoh•45m ago•0 comments

Free Synastry Chart Calculator for Relationship Compatibility

https://synastrychart.org/
1•Jasonleo•49m ago•0 comments

Claude Code IDE – A Local Web IDE Wrapping Claude Code's CLI

https://github.com/Powellga/Claude-Code-IDE
1•greggapowell•50m ago•0 comments

Developer creates a FPS game using Gaussian Splats in browser

https://www.tomshardware.com/software/programming/developer-creates-a-basic-first-person-shooter-...
3•obilgic•54m ago•0 comments

Google Founder Leaves California Due to Socialism

https://www.foxbusiness.com/politics/google-co-founder-rips-california-billionaire-tax-i-fled-soc...
4•silexia•56m ago•1 comments

Three reasons why DeepSeek’s new model matters

https://www.technologyreview.com/2026/04/24/1136422/why-deepseeks-v4-matters/
3•thunderbong•1h ago•0 comments

Show HN: Cask.news – discover and track new homebrew Mac apps

https://cask.news/
1•to•1h ago•0 comments

I built a benchmark for testing LLMs playing Gomoku

https://github.com/homerquan/GomokuBench
1•homerquan•1h ago•0 comments

British cyclist takes KOM on San Francisco's steepest street with 41% gradient

https://www.bikeradar.com/news/harry-macfarlane-san-francisco-kom
1•littlexsparkee•1h ago•0 comments

Cheapest GPUs in the World

https://timlig.com/posts/cheapest-gpus-in-the-world/
1•anujsharmax•1h ago•0 comments

Meta Is Preparing to Have to Undo Its Manus Acquisition After China Ban

https://www.wsj.com/tech/ai/meta-is-preparing-to-have-to-undo-its-manus-acquisition-after-china-b...
2•thm•1h ago•0 comments

The AI Rug Pull

https://www.warman.life/blog/2026-04-27-the-apprenticeship/
3•shaunistyping•1h ago•0 comments

How to Start Journaling

https://www.theguardian.com/wellness/2026/apr/27/how-to-start-journaling
5•devonnull•1h ago•0 comments