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)

1
vote
2answers
935 views

How do I rotate an SSL Certificate as requested by AWS

Amazon AWS sent an email today that users using Elasic Load Balancing (ELB) service with SSL certificates should "Rotate" them for precaution (Heartbleed bug). How exactly do I rotate an ssl ...
18
votes
1answer
4k views

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?
1
vote
1answer
167 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
497 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 ...
-1
votes
4answers
2k views

Get AWS ELB name from an attached instance

I created one ELB and attached a few instances to this ELB. So when I login into one of these attached instance, I would like to type a command or run a nodejs script that can return me the its ELB ...
1
vote
2answers
125 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 ...
0
votes
1answer
331 views

Should I stick with ELB? How bad is a DDoS attack of 2 million packets per second?

I have an Elastic Load Balancer (ELB) on Amazon Web Services under DDoS attack (specifically a SYN flood) that Amazon has said occasionally hit over 2.4 million packets per second. While it hasn't ...
3
votes
2answers
1k views

How to set up ELB health checks with multiple applications running on each EC2 instance?

At AWS we'd like to to use ELBs to load balance EC2 instances which host multiple applications. Ideally we'd like to have a health check for application. However, AWS Elastic Load Balancers currently ...
1
vote
2answers
281 views

Avoid Man in Middle AWS load balancer

I have a load balancer configurated with the port 443 to port 80 of the ec2 servers and with a sniffer like Burtsuite can I edit the request. How can configure the ELB to avoid this type of attack?. ...
1
vote
2answers
2k views

How to configure Amazon ELB ping target for haproxy

I'm trying to setup Amazon ELB to route requests to couple of haproxy servers. ELB requires a ping target to the respective servers for health check. It uses index.html at port 80. I'm struggling to ...
4
votes
4answers
2k 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 ...
6
votes
2answers
4k views

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

AWS WebServer architecture (ELB + iptables)

I'm currently working on the architecture of high-traffic high-availability website. We are using AWS. Currently, we have: Route 53 -> ELB -> Multiple EC2 instances -> RDS Multi AZ. Each EC2 ...
1
vote
1answer
834 views

Load Balancer on Amazon does not have secure flag set for Cookie

We have a java based application running on Amazon and have configured our Amazon ELB to connect to them successfully. However, we are seeing that the Cookie flag not set as Secure. Name Value ...
-1
votes
1answer
127 views

Dynamic Load balancer in public VPC outbound trouble

I'm trying to setup a Load Balancer within a VPC and am having trouble setting up outbound connectivity. I've seen lots of posts saying that I need to put the instances in a private subnet to let them ...
4
votes
1answer
2k views

AWS EC2 Instance Auto Scaling Confusion

So first off I'm completely new to AWS so bear with me. I have had one instance running for a few months now and I now need to autoscale it as I am getting bigger traffic spikes and it gets ...
2
votes
1answer
616 views

How do I allow access to an AWS Elastic Load Balancer over the DNS name?

I have an ELB. It has the address myelbname.eu-west-1.elb.amazonaws.com as one would expect. I also have an EC2 instance behind that ELB. The load balancer is saying that the instance is healthy (the ...
2
votes
1answer
548 views

Using Amazon Load Balancers to route traffic to private servers outside Amazon

I'm looking into using Amazon Elastic Load Balancing (ELB) in order to reduce downtime when a server goes down. Basically, I don't want to change the relevant DNS records and wait for DNS propagation ...
1
vote
1answer
509 views

AWS: Forwarding HTTPS to HTTP via ELB

I'm having issues setting up HTTPS on AWS via a load balancer. I've managed to get as far as proxying my standard :80 server, via HTTPS on the load balancer, so requests to https://www.example.com are ...
13
votes
3answers
3k 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
713 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, ...
5
votes
2answers
6k 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
414 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
130 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
204 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 http://docs.aws.amazon.com/AWSCloudFormation/latest/...
0
votes
1answer
741 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
326 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
827 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 ...
1
vote
1answer
1k 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
1k 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
716 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
785 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
4k 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 ...
8
votes
2answers
7k 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
488 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 ...
4
votes
2answers
2k 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
2k 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
1k 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
3k 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
5k 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
2k 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 ...
7
votes
2answers
5k 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 ($...
3
votes
1answer
484 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
657 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
496 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 files),...
2
votes
1answer
449 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 manually)...
1
vote
1answer
2k 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
103 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
1answer
326 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
738 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 ...