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)

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

How do I configure AWS to host my apex domain?

I have several apex domains that all point to the same website. I am migrating it to AWS, and I need to figure out how to route requests to my ELB. I know I can't create a CNAME, but what are my other ...
3
votes
1answer
589 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
417 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
220 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
156 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
89 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
345 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
65 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
44 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
63 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 ...
0
votes
1answer
115 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
77 views

ELB Health Checks incorrectly failing / being unhealthy

Over the weekend, our instances have started being marked as unhealthy, and not being enabled within the load balancer. When going to the public DNS of the instance, followed by the healthcheck.html ...
0
votes
1answer
258 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
176 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
241 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
231 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
398 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
226 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
443 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
365 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
263 views

adding an ELB to an existing Auto Scaling group

I just created two new ELBs, and I'm trying to figure out how to add one of them to an existing autoscaling group; so far the only way that this seems to be possible is by recreating the already ...
2
votes
0answers
313 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
50 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
168 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
168 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. ...
1
vote
0answers
226 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
497 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
0answers
224 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
272 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
38 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
28 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
76 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
94 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
73 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
52 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
129 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
48 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
82 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 ...
0
votes
0answers
47 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
48 views

EC2 node not accessible with ELB, issue on O2 netwrok

Issue: We have some website hosted on EC2 in N. Virginia region and it was working fine across globe, until some of our customer reported from UK region reported that they cannot access our site. ...
0
votes
0answers
70 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
136 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
328 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 ...