Interview Prep/AWS/Route 53, CloudFront, API Gateway and Messaging

Clients get `429 Too Many Requests` with `{"message":"Too Many Requests"}` from API Gateway at modest traffic.

BeginnerTroubleshootingRoute 53, CloudFront, API Gateway and Messaging
Answer

Likely causes → Throttling at one of the levels: the usage plan or API key limit, a stage or method throttle set low, or the account-level Regional limit (10,000 rps steady with a 5,000 burst by default) shared by all APIs.

Diagnose →

aws apigateway get-stage --rest-api-id abc123 --stage-name prod --query methodSettings
aws apigateway get-usage-plan --usage-plan-id up1 --query '[throttle,quota]'
aws apigateway get-account --query throttleSettings

Fix →

  1. Raise the stage, method or usage plan throttles to match the expected load
  2. Request an account limit increase if needed
  3. Make clients retry with backoff and jitter

Prevent → Load-test with real limits, alarm on the 4XXError rate, and document per-client quotas.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront, API Gateway and Messaging