AWS Reliability Recipes

Peak traffic on AWS hits limits you didn't set yourself: the ALB idle timeout, Lambda concurrency, NAT gateway ports and database connections from Lambda. These recipes show the error each limit throws and the setting that moves it. Start with Fix ALB 502 Bad Gateway and 504 Gateway Timeout.