Notes
open one at a time
1.What it can cause
The partner integration quietly does not work, and both teams spend days checking firewall rules that cannot be the problem.
- The partner integration quietly does not work, and both teams spend days checking firewall rules that cannot be the problem.
- The usual workarounds - a proxy VM, or a public endpoint - expose far more than the integration needs.
2.Why it is wrong
Peering is non-transitive. Traffic cannot cross two peerings, and no firewall rule or route changes that - it is structural, not configuration.
Peering does not chain, so traffic cannot cross your peering and then the PSA peering. No rule or route makes this work. The partner needs its own path.
The idea
Peering is non-transitive. Traffic cannot cross two peerings, and no firewall rule or route changes that - it is structural, not configuration.
Learn it
- VPC peering, and its two rules · GCP 14
- Private Service Connect, the narrow option · GCP 14
3.How you would find it
gcloud compute networks peerings list --network=harbour-vpc
gcloud compute networks peerings list --network=harbour-vpc # a connectivity test names the reason, not just the failuregcloud network-management connectivity-tests create partner-to-db \ --source-network=partner-vpc --destination-ip-address=10.90.0.34.The change that closes it
Partner creates a PSC endpoint in their own VPC, pointing at a service attachment you publish.
- As found
- Partner sends traffic to 10.90.x.x and it is silently dropped.
- Fixed
- Partner creates a PSC endpoint in their own VPC, pointing at a service attachment you publish.
# on your side: publish a service attachmentgcloud compute service-attachments create harbour-db-sa \ --region=asia-southeast1 --producer-forwarding-rule=harbour-db-fr \ --connection-preference=ACCEPT_MANUAL --nat-subnets=sn-a-psc