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
13
votes
7 answers
Endless Redirect Loop with AWS ELB and wordpress site using wordpress https plugin
I have configured an AWS ELB to point to my Ubuntu Server running the Wordpress 3.2.1. Everything worked great on the server until I put it behind a load balancer.
I setup the load balancer to forward port 80 to port 80 and port 443 to port 80.
I…

ChickenFur
- 479
- 2
- 5
- 15
12
votes
1 answer
AWS Fargate + Application Load Balancer SSL Termination
I'm trying to configure ECS Fargate behind an Application Loader Balancer (ELBv2), and I would like to terminate the TLS/SSL connections on the ALB, and send HTTP traffic (port 80) to the Fargate images, which listen on port 80.
This is the diagram…

Jeremy Blalock
- 223
- 1
- 2
- 5
12
votes
2 answers
SSL redirect on EC2 instance behind SSL terminating load balancer
I'm trying to redirect all url's to https in a web application.
I have an ec2 instance behind an elastic load balancer. SSL is terminated on the load balancer.
Any attempts at redirection end up giving me the familiar 'this page is requesting in…

rix
- 277
- 4
- 10
12
votes
2 answers
AWS recommends 54 t2.nano EC2 instances instead of one m5.xlarge
We have deployed a web application on an m5.xlarge EC2 instance and when we try to buy an annual or 3 years reserved license, AWS recommends based on our current usage it is recommended to purchase 54 t2.nano instances instead of the m5.xlarge we…

Upul Dissanayake
- 123
- 1
- 6
11
votes
3 answers
How to set up ELB health checks with multiple applications running on each EC2 instance?
At AWS we'd like to to use ELBs to load balance EC2 instances which host multiple applications. Ideally we'd like to have a health check for application.
However, AWS Elastic Load Balancers currently only allow you to ping one location for a health…

Andrei Fierbinteanu
- 333
- 1
- 3
- 7
10
votes
3 answers
Install SSL on Amazon Elastic Load Balancer with GoDaddy Wildcard Certificate
I'm a bit stuck installing an SSL Cert on an AWS Elastic Load Balancer. I have a wildcard certificate from GoDaddy and need to point it at the ELB.
I have run the command (I ran it on one of the servers behind the load balancer):
openssl req -new…

Peter
- 250
- 1
- 4
- 11
10
votes
2 answers
Can Elastic Load Balancers correctly distribute traffic to different size instances
Just been looking into Elastic Load Balancers. As I understand it they just do round robin, evenly distributing connections to the servers behind them. So what happens if you have different size instances behind an ELB? Does it send more connections…

Sean Bannister
- 751
- 8
- 19
9
votes
3 answers
Apache DirectorySlash redirects HTTPS requests back to HTTP
User Request: https://www.example.com/test
HTTPS requests --> AWS ELB HTTPS Listener --> Apache HTTP
Apache getting http://www.example.com/test
Apache redirect it to http://www.example.com/test/ due to DirectorySlash is On by default.
User ends up…

starchx
- 533
- 10
- 24
9
votes
2 answers
Can I use the new free SSL/TLS AWS certificates without ELB or Beanstalk on plain EC2?
AWS just announced free SSL/TLS certificates here: https://aws.amazon.com/blogs/aws/new-aws-certificate-manager-deploy-ssltls-based-apps-on-aws/
Mainly:
SSL/TLS certificates provisioned through AWS Certificate Manager are
free!
and
You can…

site80443
- 113
- 1
- 1
- 7
9
votes
3 answers
Using Amazon Load Balancers to route traffic to private servers outside Amazon
I'm looking into using Amazon Elastic Load Balancing (ELB) in order to reduce downtime when a server goes down. Basically, I don't want to change the relevant DNS records and wait for DNS propagation across the whole world, I just want to redirect…

Emanuil Tolev
- 193
- 1
- 5
9
votes
2 answers
Amazon ELB HTTPS Not working
I'm trying to get HTTPS working with AWS ELB.
I've been trying for about an hour, but no matter what i try, i just get connection timed out when connecting via HTTPS. HTTP works fine, but not HTTPS.
Can anyone provide some assistance?

Aaron
- 93
- 1
- 4
9
votes
3 answers
AWS ELB as backend for Varnish Accelerator
I am working on a large deployment on AWS that has high uptime requirements and variable loads throughout the day. Obviously, this is the perfect use case for ELB (Elastic Load Balancer) and autoscaling.
However, we also rely on varnish for caching…

addisonj
- 318
- 2
- 7
8
votes
1 answer
Is it possible to show a static page if all ELB registered instances are down?
We are using AWS ELB to offload SSL and load balance the incoming traffic. If all instances are down/unhealthy the ELB just sends back a blank page with HTTP status 503.
Is it possible to send a static page, to indicate maintenance, for example?

Heinrich
- 900
- 5
- 21
- 35
8
votes
2 answers
Map one AWS ELB load balancer port to balance to multiple instance ports?
Lets say I have multiple processes running on multiple EC2 instances each on different ports. Can I map a single AWS ELB to balance to any of these processes across any instance?
For example, I'd ideally like a setup like this:
HTTPS 443 -> Instance…

Sam
- 720
- 2
- 8
- 19
8
votes
3 answers
Load Balancer on Amazon does not have secure flag set for Cookie
We have a java based application running on Amazon and have configured our Amazon ELB to connect to them successfully.
However, we are seeing that the Cookie flag not set as Secure.
Name Value Domain Path Expires Secure
AWSELB…

Lego
- 465
- 4
- 7
- 12