Reputation: 129
We have use-case where we need to fulfill the request even after 60s.
We get Elastic Load Balancing Connection Timeout 504.
How to increase the timeout in ELB (aws).
Upvotes: 5
Views: 14606
Reputation: 131
Well if you have configured your environment (load balancer) through Elastic beanstalk, then from AWS console
Services -> go to 'EC2'
Under Resources, select 'Load balancers'. Choose your load balancer, and under 'Attributes', click the 'Edit idle timeout' button. Set it to whatever value you want (in seconds).
Upvotes: 9
Reputation: 11638
See the relevant AWS documentation on ELB Connection Management
Upvotes: 3