Common patterns
Deploy base VPC networking
A GCP infrastructure pattern, deployed with formae.
The networking baseline you build the rest of your infrastructure on. One forma
provisions a VPC network with subnetworks turned off, a public and a private
subnet, ingress firewall rules for SSH and for HTTP/HTTPS, and a Cloud Router.
Every resource attaches to the VPC.
Deploy. Apply the example forma. formae brings the VPC up first, then the
subnets, firewall rules, and router that depend on it:
Verify. Once the command completes, the stack’s resources are under
management:
Tear down. Remove everything the forma created:
The full forma is in the
gcp-lifeline example.

