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)

4
votes
2answers
380 views

How to setup nginx to redirect to https for certain host when behind an SSL termination load balancer

Hello I have a web server (running nginx) in EC2 behind an ELB (load balancer) which terminates SSL connections. If there is a request to www.domain.com it will go http to the ELB and be passed to ...
3
votes
1answer
308 views

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

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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
85 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
1answer
108 views

Time between AWS Notifying of Scale Down and Terminating instance

Here is the scenario, there are multiple EC2 instances behind a load balancer. When traffic dies down, the SCALE_DOWN policy is triggered from a CloudWatch alarm. What I would like, is for the ...
0
votes
1answer
172 views

AWS ELB Not working as desired

Trying to load balance my app with the use of an AWS Elastic Load Balancer. The app is a custom TCP-based sender/receiver. In any case, ELB seems to send 100% of the traffic to one machine, ...
0
votes
1answer
207 views

ELB Setup for SSL is not working for apache redirect

I have configured ELB with SSL certificate. Listener configuration for ELB is shown below -- 443 (HTTPS, Certificate: www.xyz.com) forwarding to 80 (HTTP), 80 (HTTP) forwarding to 80 (HTTP) Domain ...
2
votes
0answers
338 views

Resque(Redis) On EC2 Micro Replciated to 3 availability zones

I'm going to build a failover setup for my resque jobs system wich uses Redis as a queue. The idea is to put 3 redises in different availability zones on micro instances and replicate them. Also would ...
2
votes
0answers
101 views

What is best practice for upgrades with AWS autoscaling and database migrations?

I would like to use a combination of an ELB and AutoScaling for a web application. For upgrades to the web application that don't involve changing the database, I can simply rotate all the instances ...
1
vote
0answers
131 views

Application reports timeouts. However nginx has no record or log

We are serving Django via nginx/uwsgi. We use AWS ELB behind a VPC. This is a webservice to Mobile clients. We had reports of timeouts during development so we have added a concept of a request_id ...
1
vote
0answers
119 views

AWS ELB + ejabberd server

I have two servers in AWS EC2 ejabberd. I'm trying to set up an ELB to manage traffic, but I can not connect when I put a ELB "front" of EC2 instances. DNS settings, I changed the A record for the ...
1
vote
0answers
168 views

How can I determine what caused a sudden increase of traffic to my AWS servers?

I recently set up a cloud system on Amazon AWS for a big website. I usually use Elastic Beanstalk to deploy the application (written in Java Spring) and it's currently running on 4 micro instances. ...
1
vote
0answers
187 views

ELB allows unencrypted/http communication on port 443?

I was testing a configuration of AWS ELB to use for SSL termination when I came across an intermittent issue... Ocasionally, you can specify HTTP with port 443 (http://...:443) and ELB will pass ...
0
votes
0answers
31 views

Apache configuration when ssl terminated at Amazon ELB

I have an EC2 instance behind a Amazon ELB. I have configured a godaddy SSL certificate on the ELB. I have configured the ELB listener to be HTTPS (443) to HTTP(80) on the instance side. ...
0
votes
0answers
39 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. ...
0
votes
0answers
40 views

Unusual route53 request timeouts

So recently I migrated my DNS to Route53 with amazon, and all was working fine until a couple hours ago, where a request would always timeout with a No data received error. I have attached the zone ...
0
votes
0answers
144 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 ...
0
votes
0answers
155 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 ...
0
votes
0answers
68 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 ...
0
votes
0answers
85 views

AWS CloudFront to ELB - Apache Site not Showing

I'm working with a domain www.black-girl.co on AWS. AWS Configuration: Route53 configured so www.black-girl.co points to Cloudfront (can see this in DNS Routing). black-girl.co is pointing to the ...
0
votes
0answers
193 views

AWS SSL Load Balancer

OK, I am looking for some pointers. Basically I have a white-label app/site that will allow users to setup their own domain to use for their customer front-end. We have 2 dedicated servers and a load ...
0
votes
0answers
113 views

Windows 2008 R2 AWS CloudFormation Elastic beanstalk configuration

I'm looking for some configuration advice. I have a need for a load balanced windows environment with shared media across all instances that are hosting the app. The best explanation i can give is ...
0
votes
0answers
331 views

How to debug when ELB fails but nginx looks ok?

I'm using Amazon's elastic load balancing across several machines that are running nginx. The problem is, after running for fifteen minutes or so, ELB starts to mark all of the machines as dead. When ...
0
votes
0answers
78 views

Sticky sessions with ELB except for crawlers (or at least google)?

I have a cluster of servers behind an elastic load ballancer. We need to use sticky sessions for users, but for Google crawler we would like it to be non sticky. Is this possible?