Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
My Interview Partner My Interview Partner

My Interview Partner

My Interview Partner My Interview Partner

My Interview Partner

  • Designs
  • Data Structure
  • Micro Services
  • Spring Boot
  • Machine Learning
  • Big Data
  • Designs
  • Data Structure
  • Micro Services
  • Spring Boot
  • Machine Learning
  • Big Data
Designs

How to draw architecture diagram of your current project (web application) google cloud- GCP?

By SND
June 9, 2026 3 Min Read
0

High level architecture

Google Cloud Architecture

Your current architecture can be modernized on Google Cloud using managed services while keeping the same logical flow.

Users (Mobile/Desktop)
│
▼
Cloud Load Balancer + Cloud Armor
│
▼
Frontend/UI Layer
(2 Product UI Pods, 2 Order UI Pods)
Hosted on GKE
│
▼
API Gateway
(Google API Gateway / Apigee)
│
┌──────┴─────────┐
│ │
▼ ▼

Product Service Order Service
Route Route

Internal Load Balancer
│
┌─────┴─────┐
▼ ▼

Product Namespace
(GKE)
3 Java Pods

Order Namespace
(GKE)
3 Python Pods

│
▼

Cloud SQL
(Product DB)

Cloud SQL
(Order DB)

Read Replicas

Component Mapping

Hybrid ArchitectureGoogle Cloud Equivalent
F5 ASMCloud Armor
F5 LTMGlobal HTTP(S) Load Balancer
UI InstancesGKE Deployments
API GatewayGoogle API Gateway or Apigee
HAProxy/IngressGKE Service + Internal Load Balancer
Java PodsGKE Java Deployment
Python PodsGKE Python Deployment
DatabasesCloud SQL PostgreSQL
ELKCloud Logging + Cloud Monitoring or Elastic on GCP
JenkinsCloud Build / Jenkins on GKE
HelmHelm on GKE
Keycloak (UC)Keycloak on GKE or Identity Platform
KubernetesGKE
Container RegistryArtifact Registry

Detailed Architecture

1. Edge Layer

Cloud Load Balancer

Equivalent to F5 LTM.

Responsibilities

  • SSL termination
  • Global traffic distribution
  • Health checks
  • Cross-region routing

Cloud Armor

Equivalent to F5 ASM.

Responsibilities

  • WAF
  • DDoS protection
  • Rate limiting
  • OWASP Top 10 protection
  • Geo-blocking

NFR Coverage

NFRGCP Service
SecurityCloud Armor
AvailabilityGlobal Load Balancer
PerformanceEdge POPs
ReliabilityHealth checks

2. UI Layer

Google Kubernetes Engine (GKE)

Deploy:

Product UI
├─ Pod 1
└─ Pod 2

Order UI
├─ Pod 1
└─ Pod 2

NFR Coverage

NFRImplementation
AvailabilityMulti-pod deployment
ScalabilityHPA
PerformanceCDN integration
MaintainabilitySeparate deployments

3. API Management Layer

Option 1: Google API Gateway

Suitable for medium-sized workloads.

Option 2: Apigee

Enterprise-grade API management.

Features:

  • OAuth
  • JWT Validation
  • Rate limiting
  • Monetization
  • API Analytics

NFR Coverage

NFRImplementation
SecurityAuthentication
ObservabilityAPI Analytics
ScalabilityManaged gateway
GovernanceAPI lifecycle management

4. Product Domain

Product Namespace (GKE)

product-service
├── Java Pod 1
├── Java Pod 2
└── Java Pod 3

Use:

  • Deployment
  • HPA
  • ClusterIP Service

Instead of HAProxy:

GKE Service
+
Internal Load Balancer

NFR Coverage

NFRImplementation
ScalabilityHPA
ReliabilityMultiple replicas
AvailabilitySelf-healing
MaintainabilityMicroservice isolation

5. Order Domain

Order Namespace (GKE)

order-service
├── Python Pod 1
├── Python Pod 2
└── Python Pod 3

Use:

  • Deployment
  • HPA
  • ClusterIP Service

NFR Coverage

NFRImplementation
AvailabilityMulti-pod
ScalabilityAuto scaling
ReliabilityPod failover
MaintainabilityIndependent deployments

6. Database Layer

Cloud SQL for PostgreSQL

Product Database

Primary
├─ Read Replica 1
└─ Read Replica 2

Order Database

Primary
├─ Read Replica 1
└─ Read Replica 2

Recommended:

  • Regional deployment
  • Automatic backups
  • PITR (Point-in-Time Recovery)

NFR Coverage

NFRImplementation
AvailabilityHA Cloud SQL
ReliabilityReplication
RecoverabilityPITR
PerformanceRead replicas

7. Logging Architecture

Instead of ELK:

Native GCP

Pods
│
▼
Cloud Logging
│
▼
Log Analytics
(BigQuery)

Optional:

Elastic Cloud
on Google Cloud

NFR Coverage

NFRImplementation
AuditabilityCentral logs
ObservabilityManaged logging
MaintainabilityLog retention

8. Monitoring Architecture

Cloud Monitoring

Equivalent to Prometheus + Grafana.

GKE Metrics
Cloud SQL Metrics
Load Balancer Metrics
Application Metrics
│
▼
Cloud Monitoring
│
▼
Alert Policies

Optional:

  • Managed Prometheus
  • Managed Grafana

NFR Coverage

NFRImplementation
AvailabilityAlerts
PerformanceMetrics
ReliabilitySLO monitoring

9. CI/CD Pipeline

Recommended GCP Pipeline

Developer
│
▼
GitHub/GitLab
│
▼
Cloud Build
│
▼
Security Scan
(Container Analysis)
│
▼
Artifact Registry
│
▼
Helm Chart
│
▼
GKE Deployment

Alternative:

GitHub
│
Jenkins
│
Artifact Registry
│
Helm
│
GKE

NFR Coverage

NFRImplementation
DeployabilityAutomated pipelines
SecurityImage scanning
RecoverabilityRollbacks
MaintainabilityGitOps support

10. User Center (UC)

Option 1 (Recommended)

Google Cloud Identity Platform

Features:

  • OAuth2
  • OIDC
  • MFA
  • SSO
  • Social Login

Option 2

Keycloak deployed on GKE.

NFR Coverage

NFRImplementation
SecurityIAM
ComplianceAudit logs
UsabilitySSO
MaintainabilityCentral identity

Target Enterprise GCP Architecture

Users
│
▼
Cloud CDN
│
▼
Cloud Load Balancer
│
▼
Cloud Armor
│
▼
API Gateway / Apigee
│
▼
GKE Cluster
├── Product UI Pods (2)
├── Order UI Pods (2)
├── Product Service Java Pods (3)
└── Order Service Python Pods (3)
│
▼
Cloud SQL PostgreSQL
(Product DB + Replicas)

Cloud SQL PostgreSQL
(Order DB + Replicas)

Logging:
Cloud Logging

Monitoring:
Cloud Monitoring
Managed Prometheus
Managed Grafana

CI/CD:
GitHub → Cloud Build → Artifact Registry → Helm → GKE

Identity:
Identity Platform / Keycloak

This GCP version removes most self-managed infrastructure (F5, HAProxy, ELK servers, monitoring servers) and replaces them with managed Google Cloud services, improving operational efficiency while supporting enterprise targets such as 99.95% availability, auto-scaling, disaster recovery, centralized security, and full observability.

Author

SND

Technology leader with 24 years of experience designing and delivering large-scale enterprise applications across multiple industries. Expertise in Java, Spring ecosystem, cloud-native architectures, and distributed systems. Strong background in Big Data, machine learning, and building scalable, high-performance platforms. Extensive experience with open-source technologies, databases, microservices, and modern application modernization initiatives. Proven track record of leading architecture, engineering, and digital transformation programs from concept to production.

Follow Me
Other Articles
Previous

How to draw architecture diagram of your current project (web application on-prem)?

Next

Web Application- Azure Cloud Architecture – Detailed Component Breakdown & NFR Mapping

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • You have a 10-year-old monolith. How would you start the migration into microservices architecture?
  • Explain arrays and how they work internally?
  • Web Application Architecture in AWS (Amazon)
  • Advance on-prem web application architecture
  • Web Application- Azure Cloud Architecture – Detailed Component Breakdown & NFR Mapping

Recent Comments

  1. Tom on Web Application Architecture in AWS (Amazon)
  2. A WordPress Commenter on DESIGN A LOG AGGREGATION SYSTEM

Archives

  • June 2026

Categories

  • Data Structure
  • Designs
  • Micro Services
  • AI ML LLM Agents
  • Java SpringBoot REST
  • Design Problems
  • Data Structure
Contact us

contact@crackingmyinterview.com

  • YouTube
  • Facebook
Copyright 2026 — My Interview Partner. All rights reserved. Blogsy WordPress Theme