Questions tagged [amazon-elb]

ELB is Amazon's managed Load Balancer service, used in conjunction with its EC2 virtual machine cloud hosting service.

552 questions
0
votes
1 answer

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 existing security group?
petey
  • 572
  • 3
  • 9
  • 20
0
votes
0 answers

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 another EC2 instance from the AMI of the first…
James Lin
  • 161
  • 3
  • 9
0
votes
3 answers

Amazon EC2 Load Balanced & Auto Loaded Cluster - What happens to browser sessions?

Assuming a cluster of webservers on EC2 with both Elastic Load Balancing and Auto Loading (meaning instances start and die based on demand), can someone tell me what happens to a user's browser's session? Is the load balancer smart enough to track…
PrepStyles
0
votes
1 answer

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 approach since each request will contain the…
deadlock
  • 185
  • 2
  • 8
0
votes
1 answer

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 requests through ELB perfectly. 10.185.1.190 - -…
bevacqua
  • 327
  • 1
  • 3
  • 11
0
votes
1 answer

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), I'd like to run Nginx in front of those app…
0
votes
2 answers

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 created a load balancer with an autoscaling policy…
0
votes
1 answer

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 Load Balancer HAProxy
Mark
  • 452
  • 5
  • 13
0
votes
3 answers

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 balancers? Change the rules of security groups or…
0
votes
1 answer

"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, and we're exploring using Amazon's load balancer to…
Eric
  • 1,127
  • 3
  • 13
  • 24
0
votes
1 answer

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 # loggly authorization # # chkconfig: 2345 20 10 #…
0
votes
2 answers

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 setup with one node in each data centre but I'm…
0
votes
3 answers

CloudFront Dynamic Content & Apache using Multiple Virtual Hosts

I've tried to setup CloudFront to point to an Elastic Load Balancer. I can see the requests are reaching the web server (which as multiple Virtual hosts configured) however the requests always end up at the /var/www/error/noindex.html page. If I…
Adam
  • 515
  • 1
  • 6
  • 10
0
votes
1 answer

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 the name www (I read to leave this blank but found…
Adam
  • 515
  • 1
  • 6
  • 10
0
votes
1 answer

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 machines sitting behind a ELB. The EC2 machines…
Chris Drumgoole
  • 315
  • 1
  • 4
  • 9