About This Architecture
Dynamic API routing architecture using AWS API Gateway, Lambda, and DynamoDB to resolve service endpoints at runtime. Client requests flow through API Gateway to an Auth Service Lambda that queries Service Config and Endpoint Config DynamoDB tables to extract app_code and endpoint parameters, returning base_url and full_url for downstream routing. API Gateway then forwards the request to the resolved App1 Service running on ECS with t3.medium instances, enabling multi-tenant routing without hardcoded endpoints. This pattern solves dynamic service discovery for microservices architectures where backend URLs change per tenant or environment. Fork this diagram on Diagrams.so to customize DynamoDB schemas, add caching layers, or integrate with AWS App Mesh for advanced traffic management.