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 no diagram uploads. The browser editor is free and needs no install.

Get GnomonOpen the browser editor

Others in Google Cloud architecture diagrams

Analytics cookies (optional)

May we use Google Analytics to understand visits, product links and feature use? If you accept, Google receives usage and device information, including your IP address, and sets analytics cookies. We do not send your documents, filenames or account details. Advertising features are disabled.

Analytics is off until you accept. Your choice is saved on this browser for 180 days using necessary local storage. You can change it at any time in Analytics preferences. Closing this message rejects analytics. Read our privacy policy.