All GCP services

GCP · Networking

VPC

Global software-defined networks.

Official docs

Overview

VPC provides global subnets, routing, firewall rules and Private Service Connect.

When to use it

  • Isolate QA from prod networks
  • Private connectivity to managed services

Setup

  1. Create VPC + subnets per region.
  2. Add firewall rules per tag.
  3. Enable Private Google Access for serverless egress.

How to use

Allow SSH from corp
gcloud compute firewall-rules create allow-ssh --network=qa --allow=tcp:22 --source-ranges=203.0.113.0/24

QA use cases

  • Use separate QA VPC peered with shared services VPC for fixtures.