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)

0
votes
1answer
308 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 ...
2
votes
1answer
847 views

Why is my instance failing ELB health checks when adding it to the load balancer via Ansible?

I am trying to add an EC2 instance to an Elasitic Load Balancer using an Ansible playbook, with the ec2_elb module. This is the task that should do this: - name: "Add host to load balancer {{ ...
0
votes
1answer
222 views

Apache config for heartbeat and proxy pass through to ELB

I am running Apache 2.2.15 on Linux in AWS using ELBs. My goal is to provide two functions: 1) Heartbeat page for my ELB to check to see if Apache is running (/healthcheck.html) 2) For all other ...
1
vote
1answer
141 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 ...
5
votes
2answers
2k views

Redirect all http requests behind Amazon ELB to https without using if

Currently I have an ELB serving both http://www.example.org and https://www.example.org. I would like to set it up so any request pointing to http://www.example.org is redirect to ...
1
vote
1answer
346 views

AWS ELB with SSL to non SSL backend and jenkins - tomcat configuration

I'm setting up Jenkins with Tomcat on AWS behind an ELB. I want ELB to terminate SSL connections and make a non-SSL connections to the backend jenkins on 8080. My connection looks like -- Incoming ...
0
votes
2answers
165 views

Customize log entry for AWS ELB for real user IP

I would like to change the logging format for AWS ELB, in order to log the real user IP. My current server setup contains multiple layers of proxies as followed: CloudFlare -> AWS ELB -> Nginx (EC2) ...
0
votes
1answer
48 views

Amazon ELB in Australia does not work reliably

I have a user in Australia who cannot access our site. Our site sits behind an AWS ELB which seems to work fine. While troubleshooting his machine remotely I can see that ELB issues two IP addresses ...
0
votes
2answers
236 views

How to set inbound rule for Amazon ELB based on path

I have a set of EC2 instances and a load balancer in front of them. I set up a security group for the ELB and set an inbound rule to allow HTTP traffic from anybody. However I would like to restrict ...
0
votes
0answers
92 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
204 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
74 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
1answer
402 views

How do I troubleshoot latency issues with elastic load balancer (ELB) in Amazon AWS?

We have a web app and API hosted at Amazon AWS, with three environments - development (dev), testing/staging (uat), and live. Each environment has a load balancer, two EC2 instances and an RDS ...
2
votes
2answers
259 views

Application access via AWS Load Balancer with autoscaling

I am configuring a test AWS architecture for a web application that I plan to migrate from a dedicated hosting service to AWS. What I have now is as follows : One MySql RDS, where my application ...
5
votes
3answers
894 views

Is AWS's Elastic Load Balancer a single point of failure?

I am looking at moving our application up to Amazon Web Services. The plan is to have all of the EC2 instances mirrored across two availability zones. Due to data transfer costs, we will be staying in ...
1
vote
0answers
132 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 ...
2
votes
2answers
356 views

Why can't I create an Alias Resource Record Set for an EC2 instance [closed]

I have been working with AWS for over a year, setting up EC2 instances, domains, ELBs, etc. When I want to assign a subdomain to an EC2 instance, I have to create an elastic IP (that I pay for), ...
1
vote
1answer
1k views

Instances slow when connected to AWS load balancer

I have setup 5 t1.micro EC2's behind an AWS load balancer. All the instances slow down once they are connected to the LB. Eight out of 10 requests takes more than 30s even when I do the requests ...
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 { ...
1
vote
2answers
699 views

Amazon CloudFormation: How to get an ELB's private IP for a specific subnet?

TL;DR - Is it possible for a CloudFormation template to insert the subnet-specific internal IP address of a specific ELB into the UserData of an instance within that subnet? We have a fleet of EC2 ...
1
vote
2answers
712 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
100 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
382 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 ...
-2
votes
3answers
539 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
71 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
180 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 ...
1
vote
0answers
294 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
175 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
865 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 ...
3
votes
2answers
561 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
2answers
2k 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
497 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
393 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
100 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
1k 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
201 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
162 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
289 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
1k 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
600 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
2k 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
188 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
82 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
152 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
416 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
207 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
499 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
161 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
676 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 ...