cloud-foundation-fabric/blueprints/networking
Julio Castillo 0ee32be2fa More updates 2 2022-09-09 16:40:37 +02:00
..
decentralized-firewall More updates 2 2022-09-09 16:40:37 +02:00
filtering-proxy More updates 2 2022-09-09 16:40:37 +02:00
hub-and-spoke-peering More updates 2 2022-09-09 16:40:37 +02:00
hub-and-spoke-vpn More updates 2 2022-09-09 16:40:37 +02:00
ilb-next-hop More updates 2022-09-09 16:39:01 +02:00
onprem-google-access-dns More updates 2022-09-09 16:39:01 +02:00
private-cloud-function-from-onprem Rename examples folder to blueprints 2022-09-09 16:38:43 +02:00
shared-vpc-gke Rename examples folder to blueprints 2022-09-09 16:38:43 +02:00
README.md More updates 2022-09-09 16:39:01 +02:00

README.md

Networking and infrastructure blueprints

The blueprints in this folder implement typical network topologies like hub and spoke, or end-to-end scenarios that allow testing specific features like on-premises DNS policies and Private Google Access.

They are meant to be used as minimal but complete starting points to create actual infrastructure, and as playgrounds to experiment with specific Google Cloud features.

Blueprints

Hub and Spoke via Peering

This blueprint implements a hub and spoke topology via VPC peering, a common design where a landing zone VPC (hub) is connected to on-premises, and then peered with satellite VPCs (spokes) to further partition the infrastructure.

The sample highlights the lack of transitivity in peering: the absence of connectivity between spokes, and the need create workarounds for private service access to managed services. One such workaround is shown for private GKE, allowing access from hub and all spokes to GKE masters via a dedicated VPN.

Hub and Spoke via Dynamic VPN

This blueprint implements a hub and spoke topology via dynamic VPN tunnels, a common design where peering cannot be used due to limitations on the number of spokes or connectivity to managed services.

The blueprint shows how to implement spoke transitivity via BGP advertisements, how to expose hub DNS zones to spokes via DNS peering, and allows easy testing of different VPN and BGP configurations.

DNS and Private Access for On-premises

This blueprint uses an emulated on-premises environment running in Docker containers inside a GCE instance, to allow testing specific features like DNS policies, DNS forwarding zones across VPN, and Private Access for On-premises hosts.

The emulated on-premises environment can be used to test access to different services from outside Google Cloud, by implementing a VPN connection and BGP to Google CLoud via Strongswan and Bird.

Shared VPC with GKE and per-subnet support

This blueprint shows how to configure a Shared VPC, including the specific IAM configurations needed for GKE, and to give different level of access to the VPC subnets to different identities.

It is meant to be used as a starting point for most Shared VPC configurations, and to be integrated to the above blueprints where Shared VPC is needed in more complex network topologies.

ILB as next hop

This blueprint allows testing ILB as next hop using simple Linux gateway VMS between two VPCs, to emulate virtual appliances. An optional additional ILB can be enabled to test multiple load balancer configurations and hashing.

Calling a private Cloud Function from On-premises

This blueprint shows how to invoke a private Google Cloud Function from the on-prem environment via a Private Service Connect endpoint.

Decentralized firewall management

This blueprint shows how a decentralized firewall management can be organized using the firewall factory.