ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.
Questions tagged [amazon-elb]
552 questions
5
votes
3 answers
How do you use ELB's support for PROXY protocol version 1 securely?
Amazon's Elastic Load Balancer supports PROXY protocol version 1. This allows the server behind the load balancer to determine the original source IP address of a client connection.
However, the protocol specification makes clear in sections 2 and 5…

David Schwartz
- 31,449
- 2
- 55
- 84
5
votes
2 answers
What happens after you deregister an EC2 instance from Elastic Load Balancer?
Suppose I have a couple of web servers behind an ELB instance. I want to take down half of them to do software update. Suppose my application have some potentially longer requests (say take up to 30 seconds because the database is slow). I don't…

jz87
- 195
- 1
- 5
5
votes
3 answers
AWS ELB poor performance
We're using ELB for SSL termination. Our applications run on EC2 instances behind ELB using HTTP.
We're monitoring the application response times and performance hit when going through the ELB seems to be very high:
- Average response time when…

Berkay Mollamustafaoglu
- 119
- 4
5
votes
3 answers
After setting up Elastic Load balancer my https doesn't work anymore. Nginx error
I have a regular instance that works fine when not behind a load balancer.
I set up an ELB with 80 forwarding to 80 and 443 forwarding to 443 and sticky sessions.
Afterward I receive this error when going to any https page.
The plain HTTP request…

jchysk
- 319
- 1
- 5
- 13
5
votes
3 answers
Load testing sites behind an EC2 load balancer with ApacheBench
When ever I try to load test a site that is load balanced on EC2 I get the following message:
ab -n 20 -c 20 http://www.somesite.com/
Benchmarking www.somesite.com (be patient)...Send request failed!
apr_socket_recv: Connection reset by peer…

Mitul
- 139
- 1
- 8
5
votes
1 answer
Amazon ELB HTTPS Backend authentication causing invalid certificate error
I have a wild card SSL certificate issued by Starfield Secure Certifcation Authority that is valid thru 2014. I have been using the certificate with ELB without backend authentication (cert not installed on ELB) for over a year. I recently needed…

Dave
- 223
- 1
- 7
4
votes
1 answer
Is there any point in using more than one Application Load Balancer on AWS?
One can add to ALB multiple listeners and rules that can check for hostname and forward requests to appropriate target groups. So, I'm not sure what could be the point in using more than 1 Application Load Balancer, if I can just add a new rule?

Defozo
- 153
- 1
- 6
4
votes
1 answer
How to use external DNS in conjunction with an AWS Elastic Load Balancer?
I'm setting up an Application Elastic Load Balancer, and I have it pointing to a few EC2 instances. I'm now trying to get my head around how to set up the DNS, given that my DNS is hosted externally from AWS.
I understand that I can use the cname…

JonoB
- 273
- 1
- 3
- 9
4
votes
1 answer
How to use the same target group of instances with 2 ELBs (ALBs) + auto-scaling
I'm trying to route some traffic to one target group from two ELBs (ALBs). One is external & the other one is an internal one.
I have the following rules in my external ALB:
IF path is /static/* THEN forward to frontends
IF path is /media/* THEN…

GTXBxaKgCANmT9D9
- 415
- 1
- 7
- 16
4
votes
2 answers
Force HTTPS on AWS ELB
I host a small Java-based JAR-packaged webapp on AWS ELB using a custom domain. I upload a ZIP file like:
myapp.zip
* myapp.jar
I've configured a certificate using AWS CM and am able to access my application via both http://www.example.com as well…

lexicore
- 221
- 3
- 9
4
votes
2 answers
SSL on both ELB and server
I configured my ELB to be able to serve ssl pages by putting my certs in the ELB itself. Say the ELB serve requests from www.example.com.
At the same time i need to use ssl outside the ELB and serve some content directly from the server without…

rollsappletree
- 141
- 2
4
votes
1 answer
AWS ELB endpoint in Godaddy
I have my domain name regsitered in Godaddy. I have my servers in AWS. We use a public ELB to redirect traffic to our webservers inside a VPC in a public subnet. I want to point one of my subdomain name to the elastic loadbalancer endpoint and I…

Arjun Prasad
- 173
- 1
- 13
4
votes
0 answers
ELB_5xx errors but no application errors
We see lot of ELB_5xx errors recently. During this time there is no error logged in the back end server, no HTTP 5xx errors , there is no 5xx errors in ELB logs and there is no application restart. But still ELB throws 5xx errors to the user and…

Selvakumar P
- 305
- 2
- 8
- 16
4
votes
1 answer
AWS ELB Latency issue
I have two c3.2xlarge EC2 machines with Ubuntu environment both in us-west-2a AZ. Both contains same code with mySQL database from AWS RDS (db.r3.2xlarge). Both instances are added to an ELB. Both has one cron scheduled that runs twice in a day.
ELB…

Thamilhan
- 93
- 11
4
votes
1 answer
AWS ELB: cloudwatch metric for open connections?
I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool.
RequestCount doesn't work because some requests are much cheaper than others.
Latency doesn't work because some requests are for…

Bryan Larsen
- 249
- 2
- 6