Questions tagged [amazon-elb]

ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.

547 questions
29
votes
5 answers

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for passing through to php-fpm and for use in the…
vitch
  • 600
  • 2
  • 7
  • 10
27
votes
4 answers

Redirect all http requests behind Amazon ELB to https without using if

Currently I have an ELB serving both http://www.example.org and https://www.example.org. I would like to set it up so any request pointing to http://www.example.org is redirect to https://www.example.org. The ELB sends the https requests as http…
Jordan Reiter
  • 1,260
  • 4
  • 17
  • 38
27
votes
3 answers

Nginx Solution for AWS Amazon ELB Health Checks - return 200 without IF

I have the following code that is working on Nginx to keep the AWS ELB healthcheck happy. map $http_user_agent $ignore { default 0; "ELB-HealthChecker/1.0" 1; } server { location / { if ($ignore) { access_log off; return 200; …
Adam
  • 505
  • 1
  • 6
  • 10
26
votes
9 answers

how to forward godaddy domain to ec2 load balancer

I have a domain with godaddy: example.com I have an ec2 load balancer pointing to an ec2 instance. I would like to example.com to point to my load balanced instance. I first added a www cname record for my elb DNS. Then I forwarded example.com to…
petey
  • 562
  • 2
  • 8
  • 20
20
votes
3 answers

Is AWS's Elastic Load Balancer a single point of failure?

I am looking at moving our application up to Amazon Web Services. The plan is to have all of the EC2 instances mirrored across two availability zones. Due to data transfer costs, we will be staying in a single AWS region (Oregon). The multiple AZs…
Chris.B
  • 351
  • 1
  • 3
  • 7
19
votes
1 answer

Does Heartbleed affect AWS Elastic Load Balancer?

The Heartbleed OpenSSL vulnerability (http://heartbleed.com/) affects OpenSSL 1.0.1 through 1.0.1f (inclusive) I use Amazon Elastic Load Balancer to terminate my SSL connections. Is ELB vulnerable?
secretmike
  • 323
  • 2
  • 8
16
votes
1 answer

2 ELBs (ALBs) to 1 target group, possible?

I have the following scheme: Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes But some /static/* & /media/* are routed to targetgroupofwebnodes from elb1external directly, around varnish & second ELB, so I need both…
GTXBxaKgCANmT9D9
  • 395
  • 1
  • 6
  • 15
15
votes
3 answers

How can I use https with AWS Cloudfront without paying $600 to upload my cert?

I can host a dynamic website through Amazon CloudFront because they have CNAME Wildcard Support. However, some pages of my Site use HTTPS. Amazon have some documentation about how to associate your SSL certificate with a CloudFront distribution but…
Tom
  • 4,157
  • 11
  • 41
  • 52
15
votes
2 answers

What algorithm does Amazon ELB use to balance load?

I found this in the official ELB documentation By default, a load balancer routes each request independently to the application instance with the smallest load. but an article on Newvem says that ELB supports only Round Robin…
kn330
  • 827
  • 1
  • 7
  • 19
15
votes
7 answers

How can I make my web server reachable via IPv6 on the AWS platform?

My business's web site uses the AWS platform. I want the site's visitors to be able to reach my content using the IPv6 protocol. How can I add an IPv6 address?
Jeff Loughridge
  • 1,074
  • 2
  • 7
  • 18
14
votes
4 answers

How to redirect HTTP to HTTPS on AWS Application Load Balancer?

Our website needs HIPAA compliance so everything needs to be encrypted. I don't want client to get an error message when they put in "http://mysite.com", so I need to support both HTTP and HTTPS, and redirect HTTP to HTTPS. Am I right? I did it…
Silly Dude
  • 549
  • 2
  • 6
  • 19
14
votes
3 answers

Elastic Load Balancer for multiple webapps

I have N webapps. Each webapp is served by a different hostname in my domain and deployed to 2 instances running in AWS. In other words, I have 2N instances, divided into pairs which run N distinct webapps. I'd like to set up a single AWS Elastic…
thesamet
  • 317
  • 1
  • 2
  • 7
13
votes
3 answers

AWS - Assign an Elastic IP to a ELB

Is it possible to assign an Elastic IP to a Load Balancer?
Mark
  • 442
  • 5
  • 12
13
votes
2 answers

Setting Up ELB with SSL - What is Backend Authentication?

I started setting up Amazon's Elastic Load Balancing Service for my server pool and I need to setup HTTPS/SSL. I have all my SSL Certificates setup, but then I come to the step for backend authentication and I'm unsure what certificate is required…
whobutsb
  • 249
  • 2
  • 3
  • 6
12
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
  • 449
  • 1
  • 5
  • 15
1
2 3
36 37