Serverless Architecture

API Gateway and Cloud Run. Scales to zero, which is the whole argument.

Serverless Architecture: rendered example
Rendered by Gnomon from the source below. No edits.

The source

26 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_api_gateway>
!include <gcp/cloud_run>
!include <gcp/cloud_functions>
!include <gcp/pubsub>
!include <gcp/firestore>
!include <gcp/cloud_scheduler>

title GCP — Serverless architecture

left to right direction

GCP_CLOUD_API_GATEWAY(gw, "API Gateway")
GCP_CLOUD_RUN(run, "Cloud Run", "container service")
GCP_PUBSUB(ps, "Pub/Sub", "events")
GCP_CLOUD_FUNCTIONS(fn, "Cloud Functions", "handler")
GCP_FIRESTORE(fs, "Firestore", "documents")
GCP_CLOUD_SCHEDULER(sched, "Cloud Scheduler", "cron")

gw --> run
run --> ps
ps --> fn
fn --> fs
sched --> fn
@enduml

Render 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.

Get GnomonOpen the browser editor

Others in Google Cloud architecture diagrams