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
1answer
653 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
376 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. ...
2
votes
1answer
438 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
1answer
283 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
1answer
111 views

CloudFormation with an ELB and its public dns

I'm using Cloudformation to build a load balanced stack. My concern is that each time the stack is recreated, the ELB public url will change, which will require a change in the website's route 53 ...
1
vote
1answer
194 views

How to manually drain ELB connections for a EC2 instance?

I have connection draining enabled for a ELB. According to the documentation at http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain, a ...
1
vote
1answer
422 views

Is AWS ELB a viable replacement of RDGW

tl;dr Is Amazon Web Services Elastic Load Balancer a viable replacement for Remote Desktop Gateway? short enough; did read My client currently uses a remote desktop gateway with roughly 10 remote ...
1
vote
1answer
146 views

Elastic Load Balancer and Varnish on Each Node

We want to install Varnish on our nodes that are handled by an Auto-Scaling Group and ELB. These servers currently grow and contract based on load from 2-10 nodes. We do not want to have another ...
1
vote
1answer
682 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
397 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. ...
0
votes
1answer
246 views

AWS Elastic Load Balancer : white list only my IP

My objective: To make my AWS Elastic Load Balancer hittable by only traffic from my ip. What I have tried: created a security group in EC2 security groups set an inbound rule that allows all ...
0
votes
1answer
365 views

ELB and SSLInsecureRenegotiation

I currently have SSLInsecureRenegotiation set to off on my Apache 2.4 Amazon Linux server, but I am still failing over at SSLLabs (Secure Client-Initiated Renegotiation SUPPORTED). Do you know how ...
0
votes
1answer
99 views

ELB and Backend Authentication with Apache 2.4

I tried looking at AWS guides, and other things but can't seem to figure this one out. When using ELB there is a backend authentication option. I want to enable it, but I am not sure what ...
0
votes
1answer
344 views

OpsWorks Auto Healing instances that fail ELB (load balancer) test

From the AWS documentation I understand that some kind of unresponsiveness from an instance will cause it to be terminated. There is nothing in the docs that would suggest that ELB health checks can ...
0
votes
1answer
387 views

AWS ELB stops showing instance as healthy and access logs show no entries

I have a load balancer configured in a public vpc subnet to route traffic from HTTPS (443) to an instance in a private vpc subnet over HTTP (8080). The setup worked fine for about 24 hours, until the ...
0
votes
1answer
211 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 ...
0
votes
1answer
303 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
302 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
456 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
1answer
270 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 ...
2
votes
0answers
42 views

Incremental Subdomain Brute forcing?

Currently looking after a small varnish/nginx webserver group sitting behind an AWS ELB. Monitoring of the primary domain recently picked up a huge number of hits to non-existent sub-domain ...
2
votes
0answers
351 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
97 views

Allowing multiple IPs behind ELB in Apache configuration

I have multiple application servers running as EC2 instances. Only certain bare-metal servers running elsewhere are allowed to contact them and their IPs whitelisted explicitly in the httpd.conf @the ...
1
vote
0answers
135 views

AWS ELB health check potentially remove all instances

So, when using AWS ELB, there's a health check url we use to ping db server / check out bound connection, etc. If there are unhealthy instances, they are removed. But if the db server is down, our ...
1
vote
0answers
311 views

ELB healthcheck with multiple applications on same instance

Right now we're in the process of migrating our application on AWS, and we plan on having two applications (java war) on each instance ( We're using Tomcat as our application server). One of them has ...
1
vote
0answers
257 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
0answers
277 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
306 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
9 views

With PROXY support enabled in ELB, are occasional non-PROXY connections to the EC2 instance still possible?

We have PROXY protocol support enabled on our ELB but we seem to be occasionally getting non-PROXY TCP connections to the EC2 instance behind the ELB. The instance's Security Group only allows ...
0
votes
0answers
26 views

Django - Health check for AWS ELB

I'm hosting web application on AWS with Nginx 1.6.3 and django 1.7.6 I have ELB in front of EC2 instance and its ping target is HTTP:80/health_check of EC2 instance. Until now, I've checked EC2 ...
0
votes
0answers
59 views

AWS cloudfront with SNI + ELB with 443 to 80 redirection to EC2 issue

I have configured web server front ending with AWS ELB and CloudFront. I have deployed SSL certificate on load balancer (ELB) for HTTPS connection. We have set up 2 listener protocols: Source -> 80 ...
0
votes
0answers
34 views

Sitecore and AWS Elastic Load Balancer

My organization is helping to move a sitecore installation from self-hosted to AWS. I'm just a humble system administrator (and one who joined the project half-way through) there is another guy ...
0
votes
0answers
47 views

Amazon ELB + EC2 Header mismatch

Preamble: I have an AWS Elastic Load Balancer in front of a Single Amazon EC2 instance. I have 3 other EC2 instances sending requests via curl to the Load Balancer. Direct requests to the EC2 ip has ...
0
votes
0answers
17 views

AWS ELB 400 BAD_REQUEST with space at the end of a URI

We're using AWS ELB for HTTP/S load balancing, and we've run into a pretty crazy issue with the ELB. $ curl -i "http://yourdomain.com/ " HTTP/1.1 400 BAD_REQUEST Content-Length: 0 Connection: Close ...
0
votes
0answers
33 views

Elastic Load Balancer connection draining causes a blank page for some web sessions

I'm running 3 EC2 instances behind an ELB with connection draining enabled (set to 300ms). When I remove an instance from it, I can see fewer and fewer web requests in the server log until eventually ...
0
votes
0answers
24 views

How to target www.example.com\ in RedirectMatch rule?

Particular requests are coming into my site formed as: www.example.com\ The trailing backslash is causing a 503 response to come from the server, which is behind an ELB, ideally I'd send these back ...
0
votes
0answers
213 views

haproxy proxy protocol x-forwarded-for

I'm using haproxy instances behind AWS ELB. For HTTP Rest, i works like a charm. Now i want to dispatch websockets and have to switch my AWS ELB to TCP mode. I Want to get realip from by backend ...
0
votes
0answers
304 views

using nodejs https module with ssl certificate proxy with nginx without adding ssl certificate in nginx

I am using nodejs https module with nginx proxy. I have multiple ssl certificate and I want to run all https sites using node without adding all certificates in nginx ssl server. Is any way to proxy ...
0
votes
0answers
223 views

How to map multiple AWS LoadBalancer ports to a single instance port?

I have setup like this -- Two ports on my load balancer map to a single port on my instance (the instance checks the HTTP header and issues a HTTP redirect to the HTTPS site for any non HTTPS ...
0
votes
0answers
62 views

LogFormat for AWS Elastic Load Balancer

is there anyone able to stat AWS ELB access logto Awstats? I have played a little bit to format the log but without any luck. if someone did can share how that can be achived. thanks .
0
votes
0answers
112 views

ELB --> Apache (with mod_security) --> NodeJS 408 timeout issue

I have an ELB sitting in front of a number of API servers that have Apache with mod_security installed, which in turn forward stuff to a nodejs. Sometimes I'm seeing dropped connections like the one ...
0
votes
0answers
165 views

Allow ELB healthcheck against nginx but block proxied connections

I have a daemon process that polls a page to monitor system status, as long as everything is happy magic_check.html will exist. As soon as something goes down the file is deleted. I have the AWS ELB ...
0
votes
0answers
150 views

AWS ELB Monitoring - instance state “Unknown”

We have a nagios script (python) which monitors our AWS ELBs and alerts if there are unhealthy instances. It has been working fine for some months. Over the last week or so, we've started receiving ...
0
votes
0answers
102 views

How can I use ELB load balancing metrics in autoscaling group policy?

How do I configure an auto-scaling policy to work off the latency cloud watch metric of an associated ELB. I have looked at all the example cloud formation scripts and they only work upon metrics from ...
0
votes
0answers
211 views

Load balanced EC2 instances for high performance hosting?

I have a fairly hefty Dell machine with dual quad-core cpus and 32GB memory. On that machine I host a pretty busy forum, but the one machine does everything; web, cache, db, sphinx, etc. I also have ...
0
votes
0answers
75 views

In Route53, balance traffic between ELB and other IP v4 addresses

Using Route53, is there a way to round-robin to a combination of ELB's and IP v4 addresses? I have three load balancers, two are external to AWS and one is an AWS ELB. I want all three load balancers ...
0
votes
0answers
57 views

No longer can get nginx.conf to respect my redirect rules

I want to redirect all sites and subdomains to one https domain name. I'll use https://my-site.com as an example. Previously I had all the redirection working with the following code: server { ...
0
votes
0answers
86 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 ...
0
votes
0answers
164 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: ...
0
votes
0answers
399 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 ...