Platform · 3 of 4

Components

Every box on the map, what it is for, and the facts you check before writing any rule. Clicking a box on the map shows one of these on its own, with what it talks to.

How the parts connect

Every part of the platform, in the order a request meets it. Pick one to see what reaches it, what it reaches and where it lives, then follow a connection on to the next part.

Component atlasharbour-api · as found
  • Your VPC
  • Run by Google
  • Allowed traffic
  • Where it breaks
  • Not built yet
Entry pointsComputeDataNetwork servicesOutsideShoppersbrowser …CloudflareCDN + WAFD8Admin panelcampaign consoleDirect run.app URLshould not existD6Global external ALBserverless NEGD8Cloud Schedulerdaily cron · OIDCIAP TCP forwarding35.235.240.0/20Health check probes35.191/16 …harbour-apiCloud Run …D6D7harbour-workerCloud Run …harbour-jobsCloud Run · nightlylegacy-apiMIG · external IPsD3bbastionSSH open to …D2D3aD16rabbitmq-1broker …internal ALBcannot be createdD12D13D14harbour-pgpublic IPD5harbour-cacheprivate IP via PSAread replicaasia-south1Cloud StorageassetsSecret ManagerconfigCloud Router rtr-ahosts the NAT …Cloud NAT2 reserved IPs …PSA reservation10.90.0.0/16 …PSC endpoints10.99.0.0/24HA VPNBGP · dynamic …VPC peeringactive …D11sn-b-app10.20.0.0/20Office network192.168.0.0/16partner-vpc172.20.0.0/16D11PayGatea random Google IPBilling APIHTTPSFirebase Cloud Messagingpush to devicesLog vendorpublished service …

Wide by design - scroll it sideways, or open it on a larger screen.

harbour-api

Cloud Run · public API

D6D7Compute

The public API. It is the service everything else on the edge exists to protect, and it carries two of the register’s defects at once: a second unprotected door in, and an egress mode that silently breaks outbound whitelisting.

Reached from
serverless NEGshould not exist
Reaches
public IPprivate IP via PSAa random Google IPHTTPS
Lives in
››
Type
Cloud Run, asia-southeast1
Ingress
all - the run.app URL answers the internet
Egress
Direct VPC egress, private-ranges-only
Service account
api-sa@
Reaches
Cloud SQL, Redis, PayGate, the billing API

Every component

Entry points

8
Shoppers, Cloudflare, Admin panel, Direct run.app URL, Global external ALB, Cloud Scheduler, IAP TCP forwarding, Health check probes
1

Shoppers

browser · mobile app

The people the platform exists for. Everything on the left band is outside Google, which is why the first real decision is what they are allowed to reach.

Reaches
Cloudflare, and - as found - the run.app URL directly
2

Cloudflare

CDN + WAFD8

The CDN and WAF in front of everything. It terminates TLS at the edge, serves cached assets, and is meant to be the only way traffic arrives. As found it is not, because the load balancer accepts any source and the run.app URL answers the internet.

Role
CDN + WAF
Caching
Overlaps with Cloud CDN - which one actually caches is a decision, not a default
Origin lock
Not in place
3

Admin panel

campaign console

The internal campaign console. It goes through the same front door as shoppers rather than having a private path, which keeps one edge to secure instead of two.

Reaches
Cloudflare → global ALB → harbour-api
4

Direct run.app URL

skips CDN, LB and WAFD6

Not a thing anyone built. It is the second front door that exists because harbour-api has ingress set to all, so its run.app URL still answers the internet. Every protection on the load balancer chain is real and every one of them can be walked around here.

Exists because
ingress: all on the Cloud Run service
Skips
Cloudflare, Cloud CDN, the ALB, Cloud Armor
Closed by
Setting ingress to internal-and-cloud-load-balancing
5

Global external ALB

+ Cloud ArmorD8

The anycast front door. One IP announced from every Google edge, with Cloud Armor attached to the API backend service. It is a five-link chain rather than one object - the Load balancing tab opens it up.

Type
Global external Application LB - proxy, L7
IP
34.120.95.195, reserved static
Backends
Serverless NEG to harbour-api; backend bucket for static assets
Cloud Armor
On the API backend service only
6

Cloud Scheduler

daily cron · OIDC

Fires the nightly job with an authenticated OIDC request. It is on the map because it is an ingress path that is easy to forget when locking a service down - closing the public URL without accounting for the scheduler breaks the job.

Auth
OIDC token
Target
harbour-jobs, via the load balancer
7

IAP TCP forwarding

35.235.240.0/20

Identity-Aware Proxy TCP forwarding. It tunnels SSH through Google after checking who you are, so a VM needs no public IP and no open SSH port. This is what makes removing an external IP survivable for administration.

Source range
35.235.240.0/20 - fixed and published
Needs
iap.googleapis.com enabled, roles/iap.tunnelResourceAccessor, and a firewall rule
Note
roles/editor does not include the tunnel role
Also carries
RDP, or any TCP port
8

Health check probes

35.191/16 · 130.211/22

Health check probes originate from Google, not from the load balancer and not from your network. They need their own firewall rule, and the absence of one is the most common reason a working application shows every backend as unhealthy.

Source ranges
35.191.0.0/16 and 130.211.0.0/22
Allowed by
allow-health-check, targeting the lb-health-check tag
Does not probe
Serverless NEGs - Cloud Run manages its own health

Compute

7
harbour-api, harbour-worker, harbour-jobs, legacy-api, bastion, rabbitmq-1, internal ALB
1

harbour-api

Cloud Run · public APID6D7

The public API. It is the service everything else on the edge exists to protect, and it carries two of the register’s defects at once: a second unprotected door in, and an egress mode that silently breaks outbound whitelisting.

Type
Cloud Run, asia-southeast1
Ingress
all - the run.app URL answers the internet
Egress
Direct VPC egress, private-ranges-only
Service account
api-sa@
Reaches
Cloud SQL, Redis, PayGate, the billing API
2

harbour-worker

Cloud Run · consumer

Consumes the queue. It is internal-only and already configured the way the API should be, which makes it the useful comparison when reading the API’s settings.

Type
Cloud Run, asia-southeast1
Ingress
internal
Egress
Direct VPC egress, all-traffic
Service account
worker-sa@
Reaches
rabbitmq-1 on 5672
3

harbour-jobs

Cloud Run · nightly

Nightly batch work, triggered by Cloud Scheduler. Its subnet has Private Google Access on, which is why it can read Secret Manager without any external IP - the thing the broker cannot do.

Type
Cloud Run, asia-southeast1
Ingress
internal-and-cloud-load-balancing
Egress
Direct VPC egress, all-traffic
Service account
jobs-sa@
4

legacy-api

MIG · external IPsD3b

The monolith being migrated away from. Every instance has its own public address, which means each one egresses as itself and Cloud NAT is ignored entirely - so there is no shared, stable, whitelistable egress identity for this tier.

Type
Managed instance group, 3–10 VMs
Autoscaling
On CPU
Autohealing
Uses the same health check as the load balancer
External IP
Yes, per instance
Tags
legacy, lb-health-check
5

bastion

SSH open to 0.0.0.0/0D2D3aD16

The jump box, and the clearest example of a control that IAP makes unnecessary. Its whole reason to exist is being reachable, and once access is identity-based it does not need to be reachable at all.

Type
VM, sn-a-mgmt
External IP
Yes
SSH
Open to 0.0.0.0/0
Login mechanism
Metadata SSH keys, not OS Login
Tags
bastion
6

rabbitmq-1

broker · private only

The message broker. It is correctly private with no external IP, and it is broken anyway - its subnet has Private Google Access off, so it cannot reach the logging API or Secret Manager at all. Doing half of the no-external-IP design is worse than doing none of it.

Type
VM, sn-a-data
External IP
No
Ingress
5672 from the app subnet
Outbound
Cannot reach Google APIs - PGA is off on its subnet
Tags
broker
7

internal ALB

cannot be createdD12D13D14

Fronts the legacy MIG for internal callers. It cannot be created at all, because a regional proxy load balancer needs a proxy-only subnet and none exists - a dependency that is invisible until the create command fails.

Type
Regional internal Application LB - proxy, L7
Blocked by
No REGIONAL_MANAGED_PROXY subnet
Health check
TCP on port 80
Cloud Armor
None attached

Data

5
harbour-pg, harbour-cache, read replica · asia-south1, Cloud Storage, Secret Manager
1

harbour-pg

Cloud SQL · public IP + authorized netsD5

The production database, reachable over the public internet behind an IP allow-list. The private path it should be using already exists and is active - Redis is on it. The work is pointing the database at a path that is already built.

Type
Cloud SQL for PostgreSQL
Exposure
Public IP + authorized networks
Private path
PSA peering exists but privateNetwork is not set
Runs in
Google’s managed tenant, not your project
2

harbour-cache

Memorystore · private IP via PSA

Sessions and cache. Worth looking at closely because it is what the database should look like: a private IP drawn from the reserved PSA range, reachable only from the VPC, with no allow-list to maintain.

Type
Memorystore for Redis
Exposure
Private IP from 10.90.0.0/16
Reached over
The existing PSA peering
3

read replica · asia-south1

Read replica in the secondary region. Standing by, and it inherits whatever exposure the primary has.

Region
asia-south1
Exposure
Same as the primary
4

Cloud Storage

assets

Static assets, served through the load balancer as a backend bucket with Cloud CDN on. Also the thing a private VM needs Private Google Access to reach.

Reached by
Backend bucket on the global ALB; PGA from inside the VPC
Cloud CDN
On
5

Secret Manager

config

Config and credentials. It is a plain Google API, which is exactly why Private Google Access matters: a VM with no external IP and no PGA cannot read its own secrets.

Access control
IAM only
Reached by
PGA, or a PSC endpoint

Network services

7
Cloud Router rtr-a, Cloud NAT, PSA reservation, PSC endpoints, HA VPN, VPC peering, sn-b-app · 10.20.0.0/20
1

Cloud Router rtr-a

hosts the NAT · no BGP peers

A Cloud Router that does no routing. It exists purely to host the NAT configuration, which is a completely normal setup and the reason a Cloud Router can appear in a project with no BGP anywhere.

Region
asia-southeast1
BGP peers
None
Hosts
Cloud NAT
2

Cloud NAT

2 reserved IPs · stable egress

Gives private VMs outbound internet access, and gives everything behind it one stable, known egress address. It is configuration, not an appliance - no instance, no bandwidth ceiling, no single point of failure. It does nothing for a VM that has its own external IP.

Scope
Regional - one NAT covers asia-southeast1
Addresses
Two, manually reserved, so the egress IP is stable
Used by
Only VMs without external IPs
Rations
Ports, not addresses - each IP has about 64,000
3

PSA reservation

10.90.0.0/16 · peering active

The reservation and peering that let Google-managed services hold private IPs inside your address space. Built on real VPC peering, so it inherits non-transitivity - which is exactly what the partner network keeps running into.

Reserved range
10.90.0.0/16
Peering
servicenetworking.googleapis.com, active
In use by
Memorystore. Not yet by Cloud SQL.
Inherits
Non-transitivity, and no overlapping ranges
4

PSC endpoints

10.99.0.0/24

Endpoint IPs inside your own subnet that forward to a service elsewhere. Nothing is peered, so there is no transitivity problem, and each endpoint is a single IP you can firewall precisely.

Range
10.99.0.0/24
10.99.0.10
The log vendor’s published service
10.99.0.20
Google APIs - the controllable alternative to PGA’s shared ranges
5

HA VPN

BGP · dynamic routes · not built

Planned HA VPN to the office, with BGP on the Cloud Router. Drawn now and dimmed so the layout never has to be redrawn when dynamic routing arrives.

State
Not built
Would carry
Dynamic routes learned over BGP, rather than static entries
6

VPC peering

active · non-transitiveD11

VPC peering to the partner network. It works exactly as designed and still fails to do what the partner expects, because peering does not chain - no firewall rule or route can make it transitive.

Peer
partner-vpc, 172.20.0.0/16
Carries
Subnet routes between the two directly connected VPCs
Cannot carry
Traffic onward across the PSA peering to Cloud SQL or Redis
7

sn-b-app · 10.20.0.0/20

Failover capacity in the secondary region. Empty today, and on the map so the second region is visible rather than implied.

Range
10.20.0.0/20
Contents
None yet

Scopes and subnets

11
organization / folder firewall policies, harbour-vpc, asia-southeast1 · primary, asia-south1 · secondary, sn-a-app, sn-a-mgmt, sn-a-data, sn-a-proxy, Google-managed tenant, Google APIs, internet · third parties
1

organization / folder firewall policies

none exist - nothing sets a floor above the projectD10

Where an organization or folder firewall policy would sit. Nothing exists here, which means nothing sets a floor above the project - and the project is exactly where the trust problem is, since anyone with firewall permission can delete any rule.

Exists
No
Would be evaluated
Before any VPC rule, and cannot be overridden from below
Would enforce
Baselines like no SSH or RDP from the internet, across every project underneath
2

harbour-vpc

custom mode · allow-all ingress, no egress rulesD1D9

The network itself, and the only place you control routes and firewall rules directly. Custom mode, so every range in it was a decision rather than a default.

Mode
Custom - no automatic subnets
Routing mode
Global
Host project
harbour-net-prod, shared with the workload projects
Ingress
One allow-all rule at priority 1000 makes every narrow rule decoration
Egress
No rules at all, so the implied allow at 65535 governs everything
3

asia-southeast1 · primary

The primary region. Everything that serves traffic lives here; the second region is standby.

Region
asia-southeast1
Address block
10.10.0.0/16
4

asia-south1 · secondary

Secondary region, standing by. On the map from the start so cross-region routing has somewhere to go when it arrives.

Region
asia-south1
Address block
10.20.0.0/16
5

sn-a-app

10.10.0.0/20 · PGA on

Where the workloads live - Cloud Run services attached by Direct VPC Egress, and the legacy MIG. Private Google Access is on, which is the prerequisite for removing external IPs from anything in it.

Range
10.10.0.0/20 - 4,091 usable
PGA
On
Holds
harbour-api, harbour-worker, harbour-jobs, legacy-api
6

sn-a-mgmt

10.10.16.0/24 · PGA on

Administrative access only. Kept separate from the app subnet so the rules that govern getting in are not tangled with the rules that govern serving traffic.

Range
10.10.16.0/24
PGA
On
Holds
bastion
7

sn-a-data

10.10.17.0/24 · PGA OFFD4

Where the broker sits. Private Google Access is off here, which breaks every VM in it that has no external IP - the one setting that undoes the benefit of making them private in the first place.

Range
10.10.17.0/24
PGA
Off
Effect
rabbitmq-1 cannot reach logging, Secret Manager or Cloud Storage
8

sn-a-proxy

10.10.250.0/24 · proxy-only - never createdD12

A subnet that holds none of your resources. Google puts regional load balancer proxies in it, and without one the internal ALB simply cannot be created. It is invisible until a create command fails with a message that does not obviously say this.

Range
10.10.250.0/24
Purpose
REGIONAL_MANAGED_PROXY
State
Never created
Placed at
The far end of the region block, clear of ranges you will grow into
9

Google-managed tenant

Cloud SQL and Memorystore

Google’s own project, which you cannot see. Cloud SQL and Memorystore actually run here, not in your VPC - which is the entire reason Private Service Access has to exist.

Contains
harbour-pg, harbour-cache, the read replica
Reached by
A VPC peering from your network, drawing IPs from your reserved range
10

Google APIs

via PGA or a PSC endpoint

Google’s public API endpoints. They live on the internet, which is why removing a VM’s external IP breaks access to them unless Private Google Access is on.

Contains
Cloud Storage, Secret Manager, logging, and the rest
Reached by
PGA (199.36.153.8/30) or a PSC endpoint you control
11

internet · third parties

Everything the platform depends on but does not run. The band that makes egress a design problem rather than an afterthought.

Contains
PayGate, the billing API, Firebase Cloud Messaging

Outside

6
Office network, partner-vpc, PayGate, Billing API, Firebase Cloud Messaging, Log vendor
1

Office network

192.168.0.0/16

The office network, to be reached over HA VPN. Drawn now so dynamic routing has both ends when it arrives.

Range
192.168.0.0/16
Reached by
HA VPN, not yet built
2

partner-vpc

172.20.0.0/16D11

A partner’s VPC, peered in. It expects to reach the database through that peering, which cannot work no matter what is configured - the fix is a path of its own, not a rule.

Range
172.20.0.0/16
Reached by
VPC peering
Cannot reach
Cloud SQL or Redis, because peering does not chain
3

PayGate

whitelists our egress IP

The payment gateway, and the single external requirement that shapes the whole egress design. It whitelists your egress address, which is what forces manually reserved NAT addresses and all-traffic on Cloud Run.

Constraint
Accepts requests only from registered IPs
Needs
A stable, known egress address
Breaks when
Cloud Run egress is private-ranges-only, since calls then leave from a random Google address
4

Billing API

api.billing.example

A third-party API published as a hostname whose addresses change. The reason FQDN objects exist - you allow the name rather than chasing IP ranges.

Hostname
api.billing.example
Allowed by
An FQDN egress rule, not an IP list
5

Firebase Cloud Messaging

push to devices

Push notifications to user devices. Ordinary outbound traffic, included so the egress picture is complete rather than only showing the interesting cases.

Batch size
500 tokens
6

Log vendor

published service · reached by PSC

A log vendor’s published service, consumed through a PSC endpoint instead of over the internet. Neither side exposes anything publicly - GCP’s equivalent of PrivateLink.

Reached by
PSC endpoint 10.99.0.10
Exposure
None on either side