Network design: Shared VPC and private access
Networking on Google Cloud differs from other clouds in ways that matter for design. VPC networks are global, with regional subnets, so one network can span Mumbai and Delhi without peering. Shared VPC lets a central host project own the network while service projects place workloads in its subnets, which keeps network control with the platform team and workload control with product teams.
| Approach | Strengths | Trade-offs |
| Shared VPC | Central control of subnets, firewall rules and connectivity; one address plan | Host project administrators hold broad power; subnet-level IAM needs planning |
| VPC Network Peering | Simple connection between separately owned networks | Not transitive; peering limits and overlapping ranges become constraints |
| Network Connectivity Center | Hub for connecting many VPCs and hybrid links with transitive routing | Another layer to design and operate |
| Private Service Connect | Consume Google APIs or published services through private endpoints | Endpoint and DNS management per service |
Private Google Access lets instances without external IP addresses reach Google APIs, and Cloud NAT handles other outbound traffic. Hybrid connectivity uses Cloud VPN or Cloud Interconnect, and Cloud DNS forwarding zones join on-premises and cloud name resolution.
Organization policies worth setting early
Organization policy constraints are preventive guardrails applied down the resource hierarchy. A handful cover most early risk, and they are much easier to set before projects multiply than after:
iam.disableServiceAccountKeyCreation: stops new service account keys, pushing teams to Workload Identity Federation and impersonation.
iam.allowedPolicyMemberDomains: restricts IAM grants to identities from your own domains, preventing accidental sharing with personal accounts.
gcp.resourceLocations: limits where resources can be created, for example to India regions for data residency.
storage.publicAccessPrevention: blocks public access to Cloud Storage buckets.
compute.vmExternalIpAccess: restricts which instances may have external IP addresses.
compute.requireOsLogin: ties SSH access to IAM identities instead of keys in metadata.
We apply them at the organization or folder level in Terraform, with exceptions granted to specific projects and documented, and use the policy simulator or dry-run mode where available to see what would break before enforcing.
Controlling GKE upgrades
GKE release channels decide how fast clusters receive new versions: Rapid, Regular, Stable, and Extended for clusters that need a longer support period. Maintenance windows restrict when automatic upgrades happen, and maintenance exclusions pause them for a period, for example blocking minor version upgrades during a peak business season while still allowing security patches. Node pools can upgrade with surge upgrades or blue-green upgrades, which keep the old nodes available for fast rollback.
Our usual configuration puts non-production on a faster channel than production, sets windows outside business peaks, and uses exclusions sparingly with an end date, so a pause does not quietly turn into a cluster that falls out of support. Removed APIs are checked before each minor upgrade; GKE's deprecation insights help, and the Kubernetes upgrade checker shows support timelines.
Running Cloud Run in production
Cloud Run is simple to start with, and a few settings decide how it behaves under real traffic. Concurrency sets how many requests one instance handles at once; raising it reduces instances needed, as long as the code is safe for concurrent requests. Minimum instances avoid cold starts for latency-sensitive services, at the cost of always-on capacity. The billing mode, request-based or instance-based, affects whether background work after a response is allowed. Direct VPC egress connects services to private resources such as Cloud SQL or Memorystore without a connector. Cloud Run jobs run batch work to completion, and Cloud Run supports GPUs for inference workloads that fit a single attached GPU, which is useful for smaller models with variable traffic. When a service needs sidecars, custom networking, long-running connections at scale or node-level control, GKE is usually the better home, and the two can share the same images and pipelines.
On many Google Cloud estates, BigQuery is the largest and least predictable line. The levers: choose between on-demand billing, charged by data scanned, and capacity-based editions with reservations and autoscaling, based on how steady query load is; partition tables by date and cluster them by common filter columns so queries scan less; set maximum bytes billed on ad hoc queries and dashboards; and review the most expensive queries from job metadata regularly. Billing export to BigQuery, described above, makes these costs visible per project and label.
Sequencing a Google Cloud engagement
We usually start with the organization: identity integration with your directory through Cloud Identity or Google Workspace, groups for access, the folder structure and the organization policies above. Then come the Shared VPC and hybrid connectivity, central logging, and Security Command Center. Workload platforms, GKE, Cloud Run or both, follow, with Workload Identity Federation for every pipeline from the first deployment. Cost reporting and AI foundations come once the baseline is in place, so new projects inherit guardrails rather than receiving them later. Wider infrastructure practice is covered in Cloud Infrastructure & IaC, and data residency concepts in the data residency glossary entry.