3

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).

javaLearner java
  • 109
  • 3
  • 17

2 Answers2

9

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).

AWS ELB idle timeout config.

Rafey Hijazy
  • 121
  • 1
  • 5
2

See the relevant AWS documentation on ELB Connection Management

mcfinnigan
  • 11,442
  • 35
  • 28
  • 1
    The link provided is exactly what you asked for. Simply saying it's "not working" is not helpful and won't give anyone enough detail to be able to give you a solution to your problem. Did you actually set the timeout as the link suggests? What happened? What debugging steps did you take? – Mike Apr 25 '18 at 09:32