ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.
Questions tagged [amazon-elb]
547 questions
5
votes
1 answer
EC2 VPC Intermittent outbound connection timeouts
My production web service consists of:
Auto-scaling group
Network loadbalancer (ELB)
2x EC2 instances as web servers
This configuration was running fine until yesterday when one of the EC2 instances started to experience RDS and ElastiCache…
![](../../users/profiles/468942.webp)
DanielB6
- 121
- 5
5
votes
2 answers
AWS Autoscaling Group won't honor five minute draining policy of the Target Group when scaling down
We have an Autoscaling Group in AWS that we manually scale up and down at the time being. Our ASG is currently attached to one Target Group, which has all of our prod servers in it.
Before using the ASG, we would add and remove servers to the…
![](../../users/profiles/494088.webp)
Michael Davidson
- 153
- 1
- 5
5
votes
1 answer
How to health check Squid server with ELB?
I wanted to have an HA forward proxy solution using Squid, and I am trying to use the Squid servers behind ELB solution on page 41.
However, my forward proxy service is a service meant to forwarding traffic to an internal network (back to my corp…
![](../../users/profiles/74551.webp)
chen
- 319
- 1
- 5
- 13
5
votes
4 answers
Apache redirects from HTTPS to HTTP when adding trailing slash to directory
I am using Apache using Docker on AWS. The Apache listens on port 80 and serves HTTP.
The Apache is behind an AWS ELB load balancer, which listens only on port 443 serving HTTPS.
When I request https://example.com/foo/ (with trailing slash) it works…
![](../../users/profiles/249493.webp)
Adrian Smith
- 276
- 4
- 9
5
votes
1 answer
AWL ELB error message
I am hosting a website on AWS and want to disable traffic coming from any cipher other than TLS 1.2. This is easy to do on the ELB, but want to create a custom 'landing page' for those users who need to update their browser to visit the site.
I…
![](../../users/profiles/434178.webp)
Chri3
- 151
- 2
5
votes
1 answer
Blue/green deployment - AWS Cloudfront with ELB as custom origin
I have following configuration:
Cloudfront - ELB - AutoScalingGroup - EC2s
Cloudfront serves file-[hash].js files (with chunkhash in their names) from custom origin (ELB).
EC2s serve the file-[hash].js files for Cloudfront plus dynamically…
![](../../users/profiles/252031.webp)
mgr32
- 183
- 4
5
votes
2 answers
Why is iptables not blocking an IP address? (LB/proxy version)
WARNING: Long. Lots of info here.
3 years ago someone asked Why is iptables not blocking an IP address? and it turned out the reason was because the servers were behind CloudFlare which made it impossible to block IP addresses directly they way they…
![](../../users/profiles/186364.webp)
dcmbrown
- 305
- 3
- 12
5
votes
2 answers
504s on Elastic Beanstalk app deploy (user -> ELB -> Elastic Beanstalk mod_wsgi)
I have a Python Elastic Beanstalk load-balanced app. Here is the path a user request takes on its way into the Elastic Beanstalk app:
user -> Elastic Beanstalk ELB -> Elastic Beanstalk mod_wsgi
The problem:
The first ~2-4 requests from user after…
![](../../users/profiles/342563.webp)
markplindsay
- 151
- 3
5
votes
1 answer
Grace Period? - AWS EC2 Container Service and Elastic Load Balancers
When an elastic load balancer (ELB) is associated with an auto-scaling group, it is possible to specify a grace period during which new EC2 instances will not be terminated even if they are marked as unhealthy by the ELB. Is it possible to specify a…
![](../../users/profiles/310346.webp)
iBlocksShaun
- 71
- 4
5
votes
1 answer
How does nginx distribute traffic among IPs associated with an upstream DNS name?
With this configuration:
upstream some_upstream {
server some-elb.us-east-1.elb.amazonaws.com:80;
}
If some-elb.us-east-1.elb.amazonaws.com maps to 2 IP addresses, how will nginx distribute requests among them? Round-robin? (Say for version…
![](../../users/profiles/100512.webp)
sandinymyjoints
- 153
- 1
- 6
5
votes
2 answers
Why can't I create an Alias Resource Record Set for an EC2 instance
I have been working with AWS for over a year, setting up EC2 instances, domains, ELBs, etc.
When I want to assign a subdomain to an EC2 instance, I have to create an elastic IP (that I pay for), then assign a CNAME record to that elastic IP.
When I…
![](../../users/profiles/221511.webp)
grokpot
- 161
- 4
5
votes
2 answers
How do I allow access to an AWS Elastic Load Balancer over the DNS name?
I have an ELB. It has the address myelbname.eu-west-1.elb.amazonaws.com as one would expect.
I also have an EC2 instance behind that ELB. The load balancer is saying that the instance is healthy (the status is "In Service").
I can access the EC2…
![](../../users/profiles/49576.webp)
Piers Karsenbarg
- 538
- 3
- 12
- 24
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…
![](../../users/profiles/91987.webp)
David Schwartz
- 31,215
- 2
- 53
- 82
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…
![](../../users/profiles/86249.webp)
jz87
- 195
- 5
5
votes
2 answers
How to ping / traceroute an AWS ELB
Amazon's load balancers have a network security policy which swallows ICMP packets for both ping and traceroute. It is listed as security group amazon-elb/amazon-elb-sg. Personally I find these tools pretty helpful in diagnosing problems, so I'd…
![](../../users/profiles/77287.webp)
Leopd
- 1,617
- 4
- 21
- 30