VPC Networking
DNS, CDN and the network edge. Draw this when latency or egress is the question.
- Format.puml
- Length29 lines
- LibraryGoogle Cloud icons
The source
29 lines of PlantUML, and pulls in Google Cloud icons. Copy it, or open the template inside Gnomon and render it as it is.
@startuml
!include <gcp/GCPCommon>
!include <gcp/cloud_dns>
!include <gcp/cloud_cdn>
!include <gcp/cloud_armor>
!include <gcp/cloud_load_balancing>
!include <gcp/virtual_private_cloud>
!include <gcp/compute_engine>
!include <gcp/cloud_nat>
title GCP — VPC networking
left to right direction
GCP_CLOUD_DNS(dns, "Cloud DNS")
GCP_CLOUD_CDN(cdn, "Cloud CDN")
GCP_CLOUD_ARMOR(armor, "Cloud Armor", "WAF policies")
GCP_CLOUD_LOAD_BALANCING(lb, "Load Balancer")
GCP_VIRTUAL_PRIVATE_CLOUD(vpc, "VPC", "10.0.0.0/16")
GCP_COMPUTE_ENGINE(vm, "Instance group", "autoscaled")
GCP_CLOUD_NAT(nat, "Cloud NAT", "egress only")
dns --> cdn
cdn --> armor
armor --> lb
lb --> vpc
vpc --> vm
vm --> nat
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.
Others in Google Cloud architecture diagrams
- Simple ArchitectureLoad balancer, compute, database. The shape most projects start as.
- Serverless ArchitectureAPI Gateway and Cloud Run. Scales to zero, which is the whole argument.
- Microservices (GKE)GKE with a load balancer in front. The heavier option, and sometimes the right one.
- Data PlatformPub/Sub into Dataflow. The pipeline shape, where ordering and replay matter.
- CI/CD PipelineCloud Build and Artifact Registry. The path from commit to running service.