Professional Cloud Security Engineer
Private IP allocation forms the baseline of internal VPC boundaries. Unlike public IPs, private ranges are not routable across the public internet, which establishes isolation by default. VPC subnets typically draw from RFC 1918 address space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), but can also use RFC 6598 (100.64.0.0/10) or custom non-RFC 1918 ranges. Network architects must ensure these ranges do not overlap with on-premises networks connected via Cloud VPN or Cloud Interconnect to avoid unresolvable routing conflicts.
Advanced configurations use alias IP ranges to assign multiple internal IPs to a single virtual machine network interface. This technique allows multiple services or containers to run on one host with distinct network identities, supporting strict workload isolation and multi-interface virtual appliances. Because VPC networks are global, subnets across distinct regions communicate privately across Google's internal backbone without crossing the public internet.
Logical isolation inside or between networks relies on structured security controls. Organizations can isolate workloads using:
Direct public IP allocation on compute instances exposes workloads to external network scans and internet threats. Security administrators enforce organization policy constraints at the resource hierarchy level to prevent instances from receiving external IPs. These policies can block external IP creation entirely or restrict protocol forwarding rules, ensuring backend compute engines remain completely private.
When private instances require outbound internet access for software updates or dependencies, Cloud NAT manages this traffic. Cloud NAT provides managed source network address translation (SNAT), permitting instances to initiate connections to the internet without allowing unsolicited inbound connections. This setup keeps the internal IP topology hidden while maintaining essential outbound connectivity.
Inbound public access should enter through managed edge infrastructure rather than direct instance connections. An external Application Load Balancer terminates client traffic at Google's network edge, inspecting requests before proxying them to private backend instances. Layered security at this perimeter includes:
Workloads operating exclusively on private IP addresses still need access to managed Google services like Cloud Storage or BigQuery. Enabling Private Google Access on a subnet allows instances without external IPs to reach Google APIs over Google's private internal network. Traffic destined for API endpoints routes directly through the internal network path rather than traversing the public internet.
Private Service Connect (PSC) offers granular connectivity by provisioning private IP endpoints directly inside the consumer VPC. These endpoints map to Google APIs, third-party services, or internal services published by other VPCs using a producer-consumer model. PSC eliminates IP address overlap conflicts between distinct organizations and gives engineers precise control over which internal endpoints can communicate with specific target services.
To secure these private channels against data exfiltration, organizations combine private routing mechanisms with VPC Service Controls. VPC Service Controls define a security perimeter around managed resources, blocking unauthorized data transfers even if an identity has valid IAM credentials. Restricting access to authorized private paths ensures that private-IP-only workloads stay securely insulated from public threats while safely consuming cloud services.
Prepare and test your skills
Prepare and test your skills
VPC subnets typically draw from RFC 1918 address space, which includes the private ranges 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. However, they can also use RFC 6598 (100.64.0.0/10) or custom non-RFC 1918 ranges when needed.
Cloud NAT provides managed source network address translation (SNAT), permitting instances to initiate connections to the internet without allowing unsolicited inbound connections. This keeps the internal IP topology hidden while maintaining essential outbound connectivity.
Private Google Access enables instances without external IPs to reach Google APIs over Google's private internal network. When enabled on a subnet, traffic destined for API endpoints routes directly through the internal network path rather than traversing the public internet.
Alias IP ranges allow the assignment of multiple internal IP addresses to a single virtual machine network interface. This technique enables multiple services or containers to run on one host with distinct network identities, supporting strict workload isolation and multi-interface virtual appliances.
An enterprise has deployed a backend microservice on Cloud Run with its ingress setting configured to internal to prevent direct exposure to the public internet. The security team needs to allow a frontend application running in App Engine standard environment within the same Google Cloud project to privately invoke this Cloud Run service.
Which architecture should the security team implement to satisfy these requirements?