Diagram
A customer VPC with an application VM connects over a VPC Network Peering (Private Service Access) connection, using the allocated range 10.240.0.0/16, to a Google-managed services VPC where Cloud SQL runs with private IP 10.240.0.2. Traffic stays entirely on Google's internal network, with no path through the public internet.
Creating Private Isolation with Private Service Access
Creating private isolation with Private Service Access means giving a Cloud SQL instance a private IP address inside a VPC so traffic stays on Google's internal network. Private Service Access connects the customer's VPC network to Google's managed service network for Cloud SQL. The result is internal-only communication where applications and databases reach each other by private address, even across regions, with reduced public exposure.
Private Service Access relies on VPC Network Peering implemented internally by Google Cloud. The customer does not create the peering explicitly, but after the connection is created its underlying peering appears on the VPC Network Peering page. Traffic flows from resources in the customer VPC network to internal IP addresses of Cloud SQL resources in the Google-managed VPC network, and the boundary sits between those two peered networks. Private IP connections work across regions, but they do not work from legacy networks because legacy networks do not support VPC Network Peering or Private Service Access.
Domain 3 of 4
54 practice questions
Practice this DomainLast updated