Interview Prep/AWS/Observability, Deployments and Governance

How do you handle operational logging for ALB, CloudFront and API Gateway?

IntermediateProductionObservability, Deployments and Governance
Answer

Enable access logs on every production entry point: ALB and NLB access logs to S3, CloudFront standard logs (or real-time logs via Kinesis for live analysis), API Gateway access logging to CloudWatch with a JSON format including request ID, status, latency and integration latency. Query with Athena using partition projection. These logs answer "what did the client see" when application logs are silent, especially for 502/504 debugging.

aws All AWS questions

More on Observability, Deployments and Governance