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

learn more… | top users | synonyms (1)

10
votes
3answers
2k views

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 ...
2
votes
1answer
624 views

EC2 ELB Wildcard SSL Renewal “Invalid Public Key Certificate”

We have an existing ELB on EC2. It's got a GoDaddy issued wildcard ssl cert. I've downloaded the new .crt and gd_bundle.crt from GoDaddy. In ec2 I go to the load balancer, click the certificate, ...
2
votes
1answer
3k views

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 ...
0
votes
1answer
237 views

how to change security group of aws ec2 load balancer?

I created a new load balancer in aws. It has a a security group assigned to it that does not exist in my security group list, but one that existed long ago. How do I associate the elb with an ...
0
votes
0answers
91 views

Amazon ELB timeout on multiple instances but not on single instance

I have an Amazon load balancer and one EC2 web instance behind it, and websites work fine, all my websites do not require long processing time, they are just some basic PHP sites, then I spun up ...
1
vote
1answer
163 views

What sort of updates do ELB properties support (for CloudFormation)?

Question: What type of updates do each ELB property support? I'm reading through the ELB CF docs: AWS::ElasticLoadBalancing::LoadBalancer ...
0
votes
1answer
471 views

What exactly is an invalid HTTP_HOST header

I've implemented Django's relatively new allowed hosts setting, which is meant to prevent attackers from submitting requests with a fake HTTP Host header. Since adding that setting, I now get ...
0
votes
1answer
221 views

How to have SSL on Amazon Elastic Load Balancer with a Gunicorn EC2 server?

I'm a self taught back end engineer so I'm learning all of this stuff as I go along. For the longest time, I've been using basic authentication for my users. Many developers are advising against this ...
3
votes
2answers
567 views

Does amazon provide secure networking between servers

For example, suppose I have an ec2 instance and an elastic load balancer, is it safe to receive HTTPS traffic at the loadbalancer and forward it (unencrypted) to the instance. I've enabled the ...
0
votes
0answers
171 views

ELB -> Nginx -> Unicorn, force SSL through nginx

I'm running rails application behind nginx and balanced using Amazon Elastic Load Balancer. The whole application is SSL only, and currently SSL is enforced on the RoR level. It works like that: ...
1
vote
1answer
708 views

How do I host multiple SSL websites on a single EC2 instance using Amazon Elastic Load Balancers?

If I have 3 separate websites which all require SSL (separate certificates) that I want to host on the same EC2 instance(s) across multiple availability zones so that we have the ability to scale and ...
0
votes
1answer
847 views

ELB can't proxy traffic to my EC2 instance

For some reason ELB isn't correctly forwarding requests to my instance on EC2. My setup is simply a micro instance with nginx/node, listening on ports 80 and 443. The instance gets the health checker ...
1
vote
2answers
398 views

Multiple Amazon EC2 With Load Balancing And MongoDB

I have an Amazon EC2 server where we run a webapp and MongoDB. We want add a second EC2 server and a Load Balancing to the same region. Load Balancing will redirect all web requests (80 and 443) to ...
1
vote
3answers
569 views

ELB, nginx, and multiple HTTPS applications

Let's say I have 3 different applications that all do HTTPS. Not all of them are high traffic so I run all 3 on the same "pool" of 3 EC2 instances. domain1.com/domain2.com/domain3.com all have their ...
1
vote
2answers
2k views

How to temporarily redirect traffic from an Elastic Load Balancer?

I'm running an application on Elastic Beanstalk, an whenever I need to deploy a new version, I need to: deploy the version on Elastic Beanstalk, which takes a minute or so patch the database with ...
5
votes
2answers
4k views

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 ...
1
vote
2answers
360 views

What on my EC2 CentOS vm is dropping ELB HTTP packets but not direct connections?

I've got a simple webserver (apache only) running on CentOS's AMI on AWS inside a VPC. I've got both AWS Security Groups and iptables opened up for port 80, with no source requirements. I then set up ...
3
votes
1answer
443 views

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. ...
5
votes
3answers
1k views

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 ...
0
votes
1answer
694 views

Cloud formation - updating a stack behind an elb doesnt update the AMI

We are powering our AWS EC2 instances using cloud formation. We have 3 different stacks - testing, staging and production. Our workflow to update the images for any of the stacks is as follows: ...
3
votes
1answer
2k views

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 ...
1
vote
2answers
3k views

Possible for HAProxy to perform a mix of SSL termination and passthrough?

I'm working on analyzing an intermittent load balancing failure in our application. Previously we had been using the AWS Elastic Load Balancer in the following configuration: HTTP 80 -> HTTP 80 ...
1
vote
1answer
1k views

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 ...
4
votes
1answer
2k views

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 ...
0
votes
0answers
417 views

Nginx behind aws elb return error 403

I'm getting crazy with AWS ELB and my instances. My infrastructure is made by: --> NGINX --> node.js | Apache Users --> ELB < --> NGINX --> node.js ...
3
votes
1answer
336 views

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 ...
1
vote
2answers
356 views

How is Amazon's Elastic Load Balancer Implemented?

Amazon's ELB looks interesting, but I have a hard time evaluating how reliable it might be. I don't have a good sense of how it's implemented or what it might do behind the scenes. If an ELB machine ...
0
votes
1answer
324 views

To properly run Nginx in front of Gunicorn, is it a bad idea to run them on the same machine?

I'm using AWS and currently use ELB (for load balancing and HTTPS termination) in front of two EC2 boxes that are running Gunicorn. For pretty clear reasons (routing certain requests for static ...
1
vote
1answer
343 views

Does AWS ELB apply the health check when adding nodes

My question is pretty simple, and I have been unable to determine this from the amazon documentation. When I attach a new node to an ELB (whether by having an auto scaling policy execute, or ...
1
vote
1answer
1k views

Amazon ELB not Passing “X-Forwarded-For” to IIS

ELB is setup to accept public HTTPS (443) connections and send them on as HTTP (80) to the EC2 instances. The EC2 instances run an IIS app that needs to know the user's IP address. According to ...
0
votes
2answers
80 views

AWS Autoscaling Not Launching Correct Instance

I have an instance in AWS that I set up my entire environment (I'll call it my ready instance) on and is running perfectly. I then created a load balancer (ELB) with an autoscaling policy. When I ...
1
vote
0answers
261 views

Amazon's ELB + Instances = High Latency?

I have a single instance running which is sitting behind their load balancer. When I use apache's benchmark utility and point it at the instance the response time is more often than not, under 50ms. ...
1
vote
1answer
452 views

Using htaccess with Elastic Load Balancer and Route 53 [closed]

I have transfered my DNS to Route 53 and currently use an alias record to point my www.domain.com and domain.com to my Elastic Load Balancer. Both work great but my problem is when I try to use an ...
0
votes
1answer
452 views

Do AWS ELB, HAProxy or nginx drop the connection if a backend servers is down?

I wonder which ones of the following load balancers is able to detect an unavailable backend machine, and redirect the connection to another server without dropping the request: nginx AWS Elastic ...
1
vote
1answer
1k views

Amazon ELB and multi domain on Nginx server

I have an EC2 instance running Nginx with several domains. My config starts like this: server { listen 80; #disable_symlinks off; server_name _; #allow few domains #Adding 'www.' to ...
0
votes
3answers
514 views

How to set Load Balancers onto EC2 (installed Apache with SSL)?

I am running several EC2 instances behind ELB load balancers. Can I insert my SSL certificate into Apache server without insert my cert into the load balancers? How should I set for the load ...
3
votes
1answer
2k views

ELB Instance Out of service

After implementing ELB and Autoscalling on Amazon AWS. There's a wierd issue happens and we don't know either the reason or the fix. We installed Auto Scalling configuration to add instance of AMI ...
1
vote
1answer
87 views

Control ELB by Traffic load

We recently used Amazon AWS. Now our application is on the cloud. And we configured ELB with Auto Scalling and it works fine. We need to modify the ELB and control how it works. I checked all the ...
2
votes
3answers
3k views

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 ...
1
vote
1answer
585 views

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 ...
0
votes
1answer
123 views

“Big picture” to use Amazon load balancer solution for blog

I have a client with a popular Wordpress blog that experiences occasional short-term traffic spikes (when the site is promoted on national TV). The blog is already hosted on an Amazon EC2 instance, ...
2
votes
2answers
4k views

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 ...
0
votes
1answer
316 views

Automatically remove instance from ELB on server stop

How to automatically remove an instance from its LoadBalance (ELB) when you stop the instance? I've tried to create a shutdown script and put it on chkconfig, but it is not working: #!/bin/bash # ...
0
votes
2answers
852 views

AWS Elasticache PHP Sessions with ELB and Web Servers at different Data Centres

I'm running an AWS Load Balancer with Web Servers at different Data Centres. I need to start using PHP Sessions on Elasticache to Centralize Session Management. I can create an a 2 node Elasticache ...
1
vote
1answer
705 views

How to redirect all HTTP traffic to HTTPS for a Django 1.4 application running on an EC2 with nginx/uWSGI behind ELB with an SSL cert

I would like to know how to put my entire django site behind HTTPS. If anyone tries to come via HTTP I want that user to be redirected to HTTPS. Currently, firefox is giving me the error "Firefox has ...
1
vote
1answer
261 views

strange lines in nginx log

I'm running nginx 1.2.6 behind amazon elb. Periodically I see the following lines in nginx access.log: 10.28.135.252 - - [14/Jan/2013:14:20:07 +0000] "-" 400 0 "-" "-" "-" 10.28.135.252 - - ...
1
vote
1answer
1k views

How to install UCC GoDaddy SSL Certificate on Amazon EC2 ELB

I've read through this: Install SSL on Amazon Elastic Load Balancer with GoDaddy Wildcard Certificate but am still a bit unsure. I have a subdomain: platform.mysite.com that is pointed to an ELB in ...
0
votes
1answer
472 views

Redirect to HTTPS from my Amazon Elastic Load Balancer

I have a rails app on 2 EC2 Instances running nginx behind an Amazon Elastic Load Balancer. I'd like to force HTTPS, which was working fine before I added in the Load Balancer. Now I can't quite ...
2
votes
2answers
2k views

Reverse Proxy Server Cloud Architecture (AWS + nginx)

Currently I cache responses using nginx + fastcgi. I'm in the process of moving my app to AWS. I'm architecting a horizontally scaled approach, but trying to determine where best to put nginx + ...
0
votes
3answers
1k views

CloudFront Dynamic Content & Apache using Multiple Virtual Hosts

I've tried to setup CloudFront to point to an Elastic Load Balancer. I can see the requests are reaching the web server (which as multiple Virtual hosts configured) however the requests always end up ...