// diagrams › google cloud
Secured three-tier web app on Google Cloud Run
A secured three-tier web app on Google Cloud Run: load balancer and Cloud Armor in front, separate frontend and API services, Memorystore and Cloud SQL on private addresses, and the costs that do not scale to zero.
Opens a copy in the editor, in a new tab, ready to change. No account needed.
What’s in this diagram
services and parts
- Users
- Cloud Armor policy (preconfigured OWASP rules)
- External Application Load Balancer
- Frontend service (Cloud Run)
- API service (Cloud Run)
- Serverless VPC Access connector
- Memorystore for Redis (cache)
- Cloud SQL (private IP)
- Secret Manager
- Artifact Registry (images)
- Cloud KMS (CMEK)
- Cloud Logging and Monitoring
groups
- Service project
- Region
- VPC network
- Connector subnet
Key points
- Put an external Application Load Balancer and Cloud Armor in front, and set Cloud Run's ingress so it only accepts traffic from the load balancer.
- Split the frontend and API into separate Cloud Run services so each scales and deploys on its own.
- Reach the cache and database privately through the VPC, and keep secrets in Secret Manager, mounted as volumes.
- The security blueprint is from March 2023. Check newer networking options before copying it exactly.
The whole story, step by step: Cloud Run web app architecture on Google Cloud.


