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
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
2answers
143 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
587 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 ...
2
votes
0answers
264 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 ...
1
vote
2answers
882 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
358 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
255 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
77 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 ...
2
votes
1answer
784 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 ...
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. ...
2
votes
1answer
146 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 ...
1
vote
1answer
111 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
239 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 ...
11
votes
3answers
836 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
548 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
1k 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
87 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
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 ...
1
vote
1answer
139 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
314 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
177 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
311 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
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: ...
1
vote
1answer
559 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
473 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
255 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
436 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
1k 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
2k 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
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 ...
1
vote
0answers
169 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. ...
4
votes
3answers
895 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 ...
1
vote
1answer
1k 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
1answer
2k 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
528 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
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 ...
3
votes
1answer
249 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
270 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
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 ...
1
vote
1answer
306 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
540 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
70 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
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
1answer
338 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
409 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
451 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
1k 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
80 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 ...