2
votes
1answer
27 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 ...
2
votes
1answer
61 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 ...
2
votes
2answers
55 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), ...
0
votes
1answer
85 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 ...
1
vote
1answer
73 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 ...
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?
0
votes
0answers
39 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
80 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
131 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 ...
0
votes
2answers
36 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
74 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
50 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
92 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
0answers
61 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
191 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
201 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
votes
1answer
49 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 ...
1
vote
1answer
291 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
76 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
57 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
150 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 ...
2
votes
1answer
416 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, ...
1
vote
1answer
429 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
38 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
149 views

nginx behind AWS ELB, unable to https rewrite to non standard port

I don't have lot of experience with nginx. Problem at hand is that nginx is behind a AWS ELB and listeners are(Load balancer port -> Instance Port): HTTP 80 -> HTTP 81 HTTPS 443 -> HTTP 80. Each ...
0
votes
0answers
49 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
106 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
372 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
2answers
632 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 ...
3
votes
1answer
1k 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
208 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
0answers
68 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
1answer
1k 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 ...
0
votes
1answer
262 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 ...
3
votes
1answer
875 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
224 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 ...
0
votes
1answer
263 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 ...
0
votes
2answers
60 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
245 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 ...
1
vote
1answer
630 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 ...
2
votes
1answer
781 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
75 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 ...
0
votes
1answer
99 views

“Big picture” to use Amazon load balancer solution for blog

I have a client with a popular Wordpress blog that experiences occasional short-term traffic spikes (when the site is promoted on national TV). The blog is already hosted on an Amazon EC2 instance, ...
2
votes
2answers
2k views

How to ping / traceroute an AWS ELB

Amazon's load balancers have a network security policy which swallows ICMP packets for both ping and traceroute. It is listed as security group amazon-elb/amazon-elb-sg. Personally I find these ...
0
votes
1answer
161 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
2answers
514 views

AWS Elasticache PHP Sessions with ELB and Web Servers at different Data Centres

I'm running an AWS Load Balancer with Web Servers at different Data Centres. I need to start using PHP Sessions on Elasticache to Centralize Session Management. I can create an a 2 node Elasticache ...
0
votes
2answers
860 views

Reverse Proxy Server Cloud Architecture (AWS + nginx)

Currently I cache responses using nginx + fastcgi. I'm in the process of moving my app to AWS. I'm architecting a horizontally scaled approach, but trying to determine where best to put nginx + ...
0
votes
1answer
99 views

AWS - point my zone apex (mydomain.com versus www.mydomain.com) to Elastic Load Balancer

I'm having trouble setting up an Route53 Apex Zone that point to an ELB and works on www and non-www domain names. The domain name is datingjapan.co In Route53 I have clicked new record set added ...
0
votes
1answer
211 views

Odd behavior of setting REMOTE_ADDR between Apache, Nginx, and AWS ELB

I have encountered a strange issue and am curious if others have encountered this as well. and if there is absolutely anything that can be done.. We have a set up where we have multiple AWS EC2 Linux ...
0
votes
1answer
178 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 ...