D4Defect 1 of 17, in the order they close

Private Google Access is off on the data subnet

rabbitmq-1 cannot reach Secret Manager, Cloud Storage, or the logging API.

Severity
medium
Closes in
phase 1, Groundwork
Closed by
The subnet flag
Breaks
1 journey
  • Your VPC
  • Run by Google
  • Firewall and access rules
  • Allowed traffic
  • Where it breaks
Google APIsSecret Managersecretmanager.googleapis.comCloud Storagestorage.googleapis.comCloud Logginglogging.googleapis.comharbour-vpcsn-a-data · 10.10.17.0/24Private Google Access offD4an external IPthe tempting quick fixrabbitmq-110.10.17.x · no external IP✕no route out

Only what D4 touches. Red is the defect and what it lets through; switch to fixed to see the same parts with only D4 closed. Struck IDs are closed.

As foundprivateIpGoogleAccess: false on sn-a-data

Wide by design - scroll it sideways.

Notes

open one at a time

1.

What it can cause

The broker writes no logs and no metrics, so when it misbehaves there is nothing to look at.
  • The broker writes no logs and no metrics, so when it misbehaves there is nothing to look at.
  • It cannot read secrets or fetch from Cloud Storage, so any change that needs them fails on this one VM.
  • The tempting quick fix - giving it an external IP - undoes the design it was meant to follow.
2.

Why it is wrong

Private Google Access is the flag that makes “no external IP” survivable. Turn it on before removing any address, never after.

The VM has no external IP, which is correct, but nothing gave it a private path to Google APIs. This is the flag you turn on before removing any external IP, not after.

The idea

Private Google Access is the flag that makes “no external IP” survivable. Turn it on before removing any address, never after.

Learn it

3.

How you would find it

gcloud compute networks subnets list --filter="privateIpGoogleAccess=false" --format="table(name,region,ipCidrRange,privateIpGoogleAccess)"
detect
gcloud compute networks subnets list \  --filter="privateIpGoogleAccess=false" \  --format="table(name,region,ipCidrRange,privateIpGoogleAccess)"
4.

The change that closes it

privateIpGoogleAccess: true - Google API hostnames resolve to 199.36.153.8/30 from inside the subnet
As found
privateIpGoogleAccess: false on sn-a-data
Fixed
privateIpGoogleAccess: true - Google API hostnames resolve to 199.36.153.8/30 from inside the subnet
fix
gcloud compute networks subnets update sn-a-data \  --region=asia-southeast1 --enable-private-ip-google-access gcloud compute networks subnets describe sn-a-data \  --region=asia-southeast1 --format="value(privateIpGoogleAccess)"
5.

When to fix it

Phase 1, Groundwork

Phase 1, Groundwork, together with D12. Purely additive. Nothing can break, and both changes unblock later phases.

Cannot start until

Nothing. It can start as soon as its phase does.

Unblocks

  • D3blegacy-api instances carry external IPs · phase 4
6.

Journeys it breaks

The nightly job runs