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

Incremental Subdomain Brute forcing?

Currently looking after a small varnish/nginx webserver group sitting behind an AWS ELB. Monitoring of the primary domain recently picked up a huge number of hits to non-existent sub-domain ...
2
votes
1answer
427 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 ...
2
votes
1answer
470 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 ...
1
vote
1answer
49 views

Force nginx to close connection

We have a setup that looks like this: Client -> AWS ELB (tcp load balancing)-> NGINX (ssl termination) -> application server. We want to gracefully take application servers out of the load balancer. ...
1
vote
1answer
55 views

PHP sessions without an expiration period. What happens to the sticky session on the load balancer?

I'm using PHP sessions without an expiration period, using Amazon EC2 Elastic Load Balancing with Sticky Sessions.. What happens to the generated application sticky session on the load balancer? When ...
1
vote
1answer
129 views

Cloudformation ELB Cloudwatch Alarms InsufficientData

I have setup a bunch of cloudwatch alarms for my service using cloudformation. All my alarms work except for the ELB alarms. They always just show insufficient data. I can go into the console and ...
1
vote
1answer
237 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
1answer
231 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
234 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 ...
1
vote
1answer
1k 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
1answer
574 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. I'...
0
votes
1answer
37 views

Listener Protocol for ELB in front of Squid Proxy

We have two Squid proxy servers for High availability. We want to use Amazon ELB in front of these Squid proxy servers. When we use Load Balancer Protocol as TCP and port 8080, Instance Protocol TCP ...
2
votes
0answers
36 views

ELB to tomcat https redirecting to http

So we have tomcat servers behind a AWS ELB. Everything is working fine with https except if we manually type in this address: https://example.com/web/ This works fine... https://example.com/web ...
2
votes
0answers
31 views

AWS ELB: cloudwatch metric for open connections?

I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool. RequestCount doesn't work because some requests are much cheaper than others. Latency ...
1
vote
0answers
28 views

Is it a good design to have multiple proxy layer?

I have 3 Django applications (Django + Nginx for static files) in autoscaling group in AWS. All are served as subdolfers of a single domain http://example.com/app1 http://example.com/app2 http://...
1
vote
0answers
102 views

AWS ELB with SSL backend adds proxy protocol inside SSL stream

Note, this has been also posted in http://thread.gmane.org/gmane.comp.web.haproxy/27737 we are trying to configure this architecture: ELB terminating SSL, using preconfigured certificates. (this ...
1
vote
0answers
45 views

AWS Elastic Load Balancer And 408 Request Timeout

We have a scenario where we are trying to access Openfire admin console behind AWS ELB using https. The http url works fine , but the https does not work, and we see a 408 request timeout error while ...
1
vote
0answers
75 views

504s on Elastic Beanstalk app deploy (user -> ELB -> Elastic Beanstalk mod_wsgi)

I have a Python Elastic Beanstalk load-balanced app. Here is the path a user request takes on its way into the Elastic Beanstalk app: user -> Elastic Beanstalk ELB -> Elastic Beanstalk mod_wsgi ...
1
vote
0answers
42 views

AWS ELB is adding http absolute path

We have tomcats running a Spring Security webapp. The https is terminated at the ELB (443), then forwarded to tomcat on 8080. However, when we log in, a successful login redirects us to /welcome....
1
vote
0answers
141 views

Intermittent ERR_INVALID_CHUNKED_ENCODING

I have a Node.js application running in two AWS instances behind a ELB instance. Every now and then, I get errors such as ERR_INVALID_CHUNKED_ENCODING or ERR_CONTENT_LENGTH_MISMATCH. This is observed ...
1
vote
0answers
73 views

certificate does not match name aws private ip

Using AWS ec2 with a load Balancer and elastic IP. Im trying to add and SSL certificate but getting the following error. Certificate does not match name shop.domain.com Subject ip-172-31-19-115 ...
1
vote
0answers
469 views

AWS cloudfront with SNI + ELB with 443 to 80 redirection to EC2 issue

I have configured web server front ending with AWS ELB and CloudFront. I have deployed SSL certificate on load balancer (ELB) for HTTPS connection. We have set up 2 listener protocols: Source -> 80 ...
1
vote
0answers
193 views

Amazon ELB + EC2 Header mismatch

Preamble: I have an AWS Elastic Load Balancer in front of a Single Amazon EC2 instance. I have 3 other EC2 instances sending requests via curl to the Load Balancer. Direct requests to the EC2 ip has ...
1
vote
0answers
248 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 ...
1
vote
0answers
350 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
18 views

how to use nginx to proxy to a host requiring authentication behind an ELB

I've seen this post How to use nginx to proxy to a host requiring authentication?. I can't implement this under an ELB setup (http://www.emind.co/how-to/how-to-force-https-behind-aws-elb/). I want to ...
0
votes
0answers
34 views

How to restrict access to EC2 from outside but allow from Elastic Beanstalk instances?

This is the situation: We have an EC2 server which runs Elasticsearch and an Elastic Beanstalk (EB) environment. They both are in the same VPC. This is my goal: Allow access to EC2 (9200 port) only ...
0
votes
0answers
56 views

elb / apache server latency

I'm running Apache/2.4.7 on m4.larges in AWS behind ELBs. The overwhelming majority of my traffic is simple one off requests from naive clients, not web pages. The configuration is old and time tested,...
0
votes
0answers
13 views

How to upload a certificate to Amazon ELB?

I've generated the pem files for a new certificate which we recently purchased from comodo, using this link as a guide: "https://guillaumemaka.com/2015/05/06/install-your-comodo-certificates-to-amazon-...
0
votes
0answers
36 views

How to configure ELB load-balancer over HTTPS for two sites deployed to the same pair of servers?

I would appreciate immensely if you shed some light into what we might be missing or doing wrong. I am not completely in charge of the configuration, and I'm not an expert on the subject, but have ...
0
votes
0answers
52 views

Unable to get Route 53 to work with ELB

I have created an ELB for my 2 dev instances. My domain name is example.com, which is an A record to an Elastic IP for an EC2 instance. I'm trying to create a subdomain record dev.example.com, which ...
0
votes
0answers
27 views

ELB_5xx errors but no application errors

We see lot of ELB_5xx errors recently. During this time there is no error logged in the back end server, no HTTP 5xx errors , there is no 5xx errors in ELB logs and there is no application restart. ...
0
votes
0answers
33 views

Elb healthcheck fails for Https

Im using a url for ELB healthcheck in AWS. This health check is working with Http:1140/<myurltoapplication> and the attached Ec2 Instance were showing as Inservice but when i use Https:...
0
votes
0answers
151 views

Amazon ELB https termination results in 504 for large file uploads

I've stumbled upon the following issue and can't seem to find a solution. Setup: IIS server behind Amazon ELB setup to terminate SSL connections on the ELB with a setup of https 443 -> https 443 (...
0
votes
0answers
39 views

Understanding AWS ELB, multiple ELB per subnet or one ELB per subnet?

So I'm trying to setup a production site and I'm new to the devops world. I have a setup that consists of four components: 1) Node.js API Server 2) Memcached Elasticache cluster 3) Postgresql RDS 4) ...
0
votes
0answers
13 views

Apache 2.2 Prefork generating many connections without load

I'm observing a problem where Apache 2.2 is starting up a tremendous amount of extra threads between 2:45 AM and 3:00 AM each night. I've gone through all the usual troubleshooting, and can't find a ...
0
votes
0answers
54 views

EJB Remoting Auto Scaling in AWS

I'm currently in the process of figuring out how to migrate a Java EE Middleware application from a single static server to a Load Balanced Wildfly Cluster in AWS (with an Auto Scaling Group behing an ...
0
votes
0answers
22 views

AWS internal ELB security with open security group

I'm just wondering whether anyone can tell me whether there are potential security considerations with internal ELBs setup inside a VPC which has an internet gateway attached. The security group I ...
0
votes
0answers
12 views

How to re-spawn Opsworks instances when heartbeat fails?

I have a Rails app on Opsworks with two instances. My understanding from AWS Opsworks auto-healing, load instances, and load balancer is that the ELB is monitoring the application heartbeat and will ...
0
votes
0answers
67 views

Elastic Load Balancer Nginx and Rails

Currently we use Elastic Load balancer which hits Nginx then finally rails (nginx and rails both run on the app server). The idea is to use the connection pooling functionality of Nginx. Do we need ...
0
votes
0answers
22 views

How could I dispatch the request by instances' type dynamically

How could I dispatch the request by instances' type dynamically I have a ELB contains an auto scaling group and an indenpendent ec2 machine However the indenpendent ec2 machine is t2.large and ...
0
votes
0answers
185 views

Tomcat 8.0.43 not using Keep Alive

I'm trying to setup a few app servers behind Amazon's ELB and I've been getting some 504 errors that I've been tracking down. Looking at the Tomcat manager app under status, I'm seeing the following: ...
0
votes
0answers
135 views

Varnish configuration with Apache webserver in AWS ec2 free tier

I have AWS ec2 free tier where i have deployed my sample. I have configured the webserver to listen on 80 port. I am able to access the application by the below URL http://X.X.X.X/SampleApp But ...
0
votes
0answers
79 views

AWS ELB and forcing Https

I have an ELB which in the first place was set to forward in this way: Protocal Port Forward-Protocol Port Http 80 Http 80 Protocal Port Forward-Protocol ...
0
votes
0answers
32 views

How to target www.example.com\ in RedirectMatch rule?

Particular requests are coming into my site formed as: www.example.com\ The trailing backslash is causing a 503 response to come from the server, which is behind an ELB, ideally I'd send these back ...
0
votes
0answers
597 views

using nodejs https module with ssl certificate proxy with nginx without adding ssl certificate in nginx

I am using nodejs https module with nginx proxy. I have multiple ssl certificate and I want to run all https sites using node without adding all certificates in nginx ssl server. Is any way to proxy ...
0
votes
0answers
332 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
59 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
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 ...