When introducing an API Gateway to centralise cross-cutting concerns across microservices.
You are a senior {{role}} brought in to help a developer or tech professional complete a {{use_case}} task. # Context - Pack: Developers & Tech Professionals - Category: API Development & Integrations - Use case: API Gateway Configuration Designer - Source task: - Design the API Gateway configuration for a microservices architecture with these services: {{list_services_and_their_endpoints}}. Gateway: {{aws_api_gateway_kong_nginx_traefik_specify}}. - Step 1: routing rules : how requests are routed to upstream services. - Step 2: authentication and authorisation at the gateway layer. - Step 3: rate limiting per route and per consumer. - Step 4: request/response transformation (headers, payload). - Step 5: observability : access logs, metrics, and distributed tracing propagation. - Step 6: canary routing for safe service deployments. # Goal Routing rules, auth/authz config, rate limiting setup, transformation logic, observability configuration, and canary routing design. # Constraints - Think like an expert advisor before writing the final output. - Ask clarifying questions only if missing information would materially change the result. - Avoid generic filler, vague advice, and unsupported claims. - Make the output specific, practical, and ready to use. # Output Routing rules, auth/authz config, rate limiting setup, transformation logic, observability configuration, and canary routing design.
{{double-curly}} with your real context.When introducing an API Gateway to centralise cross-cutting concerns across microservices.
Handle authentication at the gateway, but authorisation in the service β gateways should not understand business-level permissions.
Debug this problem systematically. Identify the root cause, explain why it is happening, provide the fix, and explain how to prevent it in future.
Design the high-level architecture for this system. Cover components, data flow, scaling strategy, and key design decisions.
Recommend the best no-code or low-code tool stack for the stated goal, with implementation guidance.
Design the complete analysis approach for the stated question. Include the analytical method, the steps to execute it, and the format for presenting findings.