The API gateway is not a managed cloud service. It is a self hosted Spring Boot
application running as a dedicated microservice inside the GKE cluster, giving full control over routing
logic, authentication enforcement, header manipulation, rate limiting, circuit breaking, and
observability instrumentation without vendor lock in or managed gateway limitations.
The gateway runs in both the Mumbai and Delhi upstream subnets simultaneously with
both regions active. All inbound traffic hits the gateway first. The gateway validates JWT tokens,
enforces RBAC permissions, applies per route rate limits, injects correlation IDs for distributed
tracing, and routes requests to the correct downstream domain service. If a downstream service is
unhealthy, the circuit breaker opens at the gateway; the caller receives a structured error immediately
rather than waiting on a timeout.
Spring Boot
Spring Cloud Gateway
JWT validation
RBAC enforcement
Circuit breaker
Correlation ID injection
GKE Deployment
Horizontal Pod Autoscaler