Simple Architecture
Load balancer, compute, database. The shape most projects start as.
- Format.puml
- Length20 lines
- LibraryGoogle Cloud icons
The source
20 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_load_balancing>
!include <gcp/compute_engine>
!include <gcp/cloud_sql>
!include <gcp/cloud_storage>
title GCP — Simple architecture
left to right direction
GCP_CLOUD_LOAD_BALANCING(lb, "Load Balancer", "global HTTPS")
GCP_COMPUTE_ENGINE(vm, "Compute Engine", "e2-standard-4")
GCP_CLOUD_SQL(db, "Cloud SQL", "PostgreSQL 15")
GCP_CLOUD_STORAGE(gcs, "Cloud Storage", "static assets")
lb --> vm
vm --> db
vm --> gcs
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.
Others in Google Cloud architecture diagrams
- VPC NetworkingDNS, CDN and the network edge. Draw this when latency or egress is the question.
- 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.