Architecture Components Explained
1. API Consumer (Actor)
The API consumer is typically an application developer or an external/internal application that needs to access your backend services through managed APIs.
Who are they? - Third-party developers building apps using your APIs - Internal teams consuming microservices - Partner systems integrating with your platform - Mobile/web applications calling your endpoints
What they do: - Register on the Developer Portal to get API keys - Make HTTP/HTTPS requests to published API endpoints - Receive responses processed through Apigee policies
2. Customer-Owned GCP Project
This is YOUR Google Cloud project where you have full control. It contains:
VPC (Virtual Private Cloud): - Your own private network within GCP - Hosts the networking components that connect external traffic to Apigee - Controlled by your security and networking teams
F5 BIG-IP / F5 XC (Distributed Cloud): - Acts as the external-facing load balancer and WAF (Web Application Firewall) - Sits at the edge of your customer VPC - Handles: - SSL/TLS termination - DDoS protection - Geographic load balancing - IP whitelisting/blacklisting - Advanced traffic management (A/B routing, canary deployments) - Layer 7 security (OWASP protection) - Routes clean traffic to the Apigee instance endpoint
Provisioned Apigee (Instance Endpoint): - The Apigee runtime instance that is provisioned within your GCP project - Acts as the bridge between your VPC and Google's managed Apigee infrastructure - Connected to the Apigee runtime via Private Service Connect (PSC) or VPC Peering - This ensures traffic stays within Google's private network (never hits the public internet)
3. Google-Owned GCP (Apigee Tenant)
This is Google's managed infrastructure where the actual Apigee runtime lives. You don't manage this — Google does.
GCP Network Bridge (VPC Peering / PSC): - Provides secure connectivity between your customer VPC and Google's Apigee VPC - Two connection options: - VPC Peering — Direct private connection between VPCs (legacy approach) - Private Service Connect (PSC) — Newer, more secure method using endpoints (recommended) - Traffic never traverses the public internet
Shared VPC: - Google's internal networking layer that connects the network bridge to the Apigee runtime - Managed entirely by Google - Provides redundancy and high availability across zones/regions
Apigee X Runtime: - The core engine where API proxy execution happens - Handles: - Request Processing — Receives API calls, applies policies, routes to backend - Policy Enforcement — Security (OAuth, API keys), rate limiting, caching, transformations - Traffic Management — Load balancing across backend targets, failover - Analytics Collection — Captures metrics, latency, error rates, payload data - Fully managed by Google (auto-scaling, patching, HA)
4. Backend APIs
Your actual services that Apigee proxies requests to:
- On-Premises — Connected via Cloud VPN or Cloud Interconnect
- AWS/Azure — Multi-cloud backends accessible via public endpoints or VPN
- GCP Services — Cloud Run, GKE, Cloud Functions, Compute Engine
- Legacy Systems — SOAP services, mainframes, databases
5. Developer Portal
A self-service web portal for API consumers:
- API Documentation — OpenAPI/Swagger specs rendered as interactive docs
- API Key Management — Developers register apps and get credentials
- Try-It Console — Test API calls directly from the browser
- API Products — Bundled APIs with different access tiers
- Monetization — Usage-based billing for API consumption