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
8
votes
2 answers
How to block Nginx access log statements from specific user agents
I am looking to turn off logging in the Nginx access log file from specific requests from http user agents.
Basically from the Amazon ELB Health Check and our external (Pingdom) monitoring. Since these come every few seconds, makes testing hard to…

briannyc
- 83
- 1
- 4
8
votes
1 answer
Unicorn behind ELB, no nginx
If I understand Unicorn right (and in particular from their philosophy doc) it seems like Unicorn was really designed to operate behind a reverse proxy like nginx.
My question is: can I drop nginx from my HTTP stack, considering we have an ELB at…

pedro
- 181
- 2
7
votes
1 answer
Possible to log X-FORWARDED-FOR to nginx error_log?
Nginx allows custom log formats for access logs -- right now I'm logging http_x_forwarded_for and it's working fine.
The problem is my error log only shows the LB IP. After Googling and reading through their documentation, it seems error_log…

skrewler
- 308
- 1
- 3
- 13
7
votes
1 answer
AWS Cloudfront + Load Balancer, url changes from main domain to load balancer subdomain
My setup is as follows:
user types example.com on the browser
request goes to AWS CloudFront, which redirects HTTP to HTTPS, and
forwards the request to the AWS Elastic LoadBalancer
(elb.example.com)
LoadBalancer forwards the request to the EC2…

Mohamed Heiba
- 241
- 1
- 2
- 8
7
votes
1 answer
Is it possible to use Kerberos over TLS through sssd?
Background
I am trying to log in (via SSH, to an Amazon Linux EC2 instance running sssd) as users that I've created in my AWS Directory Services Simple AD. I am authenticating with Kerberos and identifying the user with LDAP (all through sssd.) I…

2rs2ts
- 325
- 3
- 11
7
votes
3 answers
The site is using outdated security settings that may prevent future versions of Chrome from being able to safely access it
We're using an AWS ELB to do SSL termination and are having an issue where Chrome is displaying "https" in red with a strikethrough.
It says "The site is using outdated security settings that may prevent future versions of Chrome from being able to…

Brad Dwyer
- 263
- 3
- 8
7
votes
2 answers
How can I setup SPDY with Jetty behind Amazon's ELB?
I want to deploy SPDY, but I'm using Amazon's ELB TCP routing. The ELB also handles the secure connections for us. How can this be configured on the jetty side?

arturnt
- 173
- 1
- 5
7
votes
3 answers
Force HTTPS with AWS Elastic load balancer
I need to redirect all incoming HTTP traffic to HTTPS on my elastic load balancer.
I tired using Apache mod_rewrite:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule !/status https://%{SERVER_NAME}%{REQUEST_URI}…

panos2point0
- 73
- 1
- 5
6
votes
3 answers
Troubleshooting HTTPS on AWS ALB: Target Group Health Check Failing
I'm having trouble setting up HTTPS for my AWS EC2 instance. In short, I'm running a program on an EC2 instance, and it's critical that I be able to transfer the data securely from clients to AWS.
What I've done so far:
On AWS:
Launched an EC2…

pixel-drinker
- 61
- 1
- 1
- 2
6
votes
2 answers
AWS Fargate task fails ELB health checks
How can I troubleshoot it further? I am trying to run a simple nginx container but the load balancer complains that health checks are failed and the task does not respond on its ip number, likely because of the error with the load balancer.
I set…

Niklas Rosencrantz
- 179
- 1
- 2
- 17
6
votes
1 answer
AWS Application ELB sometimes responds 502 without calling the backend
We have the following setup: An AWS Application ELB has a target group of 4 EC2 instances. On each of the EC2 instances, there is an Apache2 which forwards to a Tomcat.
It works brilliantly. Except sometimes, when the ELB seemingly refuses to speak…

Jan Dörrenhaus
- 161
- 1
- 7
6
votes
2 answers
High availability Bastion host - Best practices, ELB, EIP?
I am currently trying to figure out a good configuration to make a Bastion host highly available. I want to meet the following targets:
The bastion host(s) need to able to withstand a Availability Zone failure and ec2 instance failure. A small…

M. Glatki
- 1,964
- 1
- 17
- 33
6
votes
1 answer
AWS EC2 Instance Auto Scaling Confusion
So first off I'm completely new to AWS so bear with me.
I have had one instance running for a few months now and I now need to autoscale it as I am getting bigger traffic spikes and it gets overloaded at times.
So let me go through what I have done…

Dan
- 237
- 4
- 9
6
votes
1 answer
Using an Elastic Load Balancer with a single EC2 instance on AWS
I'm using the AWS Free Tier, which gives me one free EC2 microinstance and one free Elastic Load Balancer, if I understand things correctly.
I understand that usually ELBs are used when you are using multiple EC2 instances. I don't really want to…

nucleon
- 233
- 2
- 9
6
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…

Leopd
- 1,757
- 4
- 24
- 30