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
4
votes
1 answer
is there a standard for chaining x-forwarded-for headers?
IETF RFC 2616 Section 4.2 allows a request to contain multiple headers with the same field-name as long as chronological order of insertion is preserved and their values can be converted into single header with a comma-separated list of…

BaltoStar
- 197
- 3
- 14
4
votes
1 answer
What's a good load balancer check for puppet master
We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability).
Currently the load balancer's check is just TCP connect on port 8140. But this didn't detect that one…

Capt. Crunch
- 839
- 2
- 12
- 25
4
votes
1 answer
Whitelist Elastic Load Balancer based on IP
I'm serving HTTP traffic on port 80 through an ELB. Since a short time, a growing amount of clients are asking me what our IP addresses are (to harvest data). Apparently they can't whitelist the DNS of the ELB, only IP addresses ("Your IP addresses…

Bas Peeters
- 233
- 1
- 5
- 11
4
votes
3 answers
Block traffic behind AWS ELB
My web servers are behind ELB, I want to block traffic from some specific user agent which is a DDOS attack. Apache always see ip address of ELB as an end user so I tried below attempts:
Blocking IP address at ELB level is not possible because it…

Deepak Deore
- 691
- 1
- 9
- 16
4
votes
4 answers
Can't get Network Solutions Certificate chain working with EC2 Elastic Load Balancer
I have a certificate file provided to me which is a wildcard domain name.
It comes as both a key and a crt file. No other files were provided.
I'm having trouble getting it to work correctly with the elastic load balancer.
I've tried this…

hookenz
- 14,472
- 23
- 88
- 143
4
votes
2 answers
Why is my instance failing ELB health checks when adding it to the load balancer via Ansible?
I am trying to add an EC2 instance to an Elasitic Load Balancer using an Ansible playbook, with the ec2_elb module. This is the task that should do this:
- name: "Add host to load balancer {{ load_balancer_name }}"
sudo: false
local_action:
…

pkaeding
- 810
- 2
- 13
- 23
4
votes
1 answer
Instances slow when connected to AWS load balancer
I have setup 5 t1.micro EC2's behind an AWS load balancer.
All the instances slow down once they are connected to the LB. Eight out of 10 requests takes more than 30s even when I do the requests directly to the instances (bypassing LB). The CPU load…

quintencls
- 51
- 1
- 3
4
votes
4 answers
Amazon CloudFormation: How to get an ELB's private IP for a specific subnet?
TL;DR - Is it possible for a CloudFormation template to insert the subnet-specific internal IP address of a specific ELB into the UserData of an instance within that subnet?
We have a fleet of EC2 web servers in an Amazon VPC with six subnets, one…

Craig Watson
- 9,575
- 3
- 32
- 47
4
votes
6 answers
Get AWS ELB name from an attached instance
I created one ELB and attached a few instances to this ELB. So when I login into one of these attached instance, I would like to type a command or run a nodejs script that can return me the its ELB name. Is it possible? I know I can look up on AWS…

Nam Nguyen
- 169
- 1
- 5
4
votes
4 answers
adding an ELB to an existing Auto Scaling group
I just created two new ELBs, and I'm trying to figure out how to add one of them to an existing autoscaling group; so far the only way that this seems to be possible is by recreating the already existing autoscaling group, adding the new ELB to the…

Alexej Magura
- 161
- 2
- 9
4
votes
3 answers
Temporarily disable ELB health check during backend deployment
We are using ELB for SSL termination, with only ONE backend.
During deployment, the backend need to be restarted and it usually take several minutes to boot up.
My questions:
As I only have one backend, so I cannot remove it from ELB, I just want…

Ryan
- 5,831
- 24
- 72
- 91
4
votes
3 answers
How to configure my Elastic Load Balancer to balance SSL traffic?
I'm totally lost so I apologize if I'm not making sense.
I need to create a load balancer in EC2 for our application servers. I'm trying make the ELB balance traffic over SSL (8443). However, it's asking me for an SSL Certificate. It looks to be…

Classified
- 163
- 2
- 6
4
votes
2 answers
Is there a limit on the length of URLs when using Amazon ELBs? If so, is there a way to increase it?
We appear to be encountering an error due to Amazon ELBs truncating a long (over 1K characters) URL.
I have searched through the usual suspects, but can't find any discussion of URL length limits for Amazon ELBs.
Is there a limit on the length of…

Jordan
- 143
- 1
- 1
- 5
4
votes
1 answer
How to setup nginx to redirect to https for certain host when behind an SSL termination load balancer
Hello I have a web server (running nginx) in EC2 behind an ELB (load balancer) which terminates SSL connections.
If there is a request to www.domain.com it will go http to the ELB and be passed to http on the nginx server
If there is a request to…

mp3tricord
- 41
- 3
4
votes
2 answers
CloudFront with Custom Origin and ELB
We are using CloudFront for our static assets but also wanted to allow for Gzip. We set up a new distribution with a custom origin pointing back to our application servers which are behind a elastic load balancer. We manually keep the files in sync…

kmfk
- 161
- 1
- 6