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
1
vote
1 answer

Can't access AWS ec2 instance behind elastic load balancer

I've been following lynda.com's AWS essential training and I've successfully set up an EC2 instance but when I try to put it behind a load balancer I can not access it through the ELB's public DNS. On the AWS Load Balancer console it says the status…
Holly
  • 1,027
  • 5
  • 14
  • 25
1
vote
0 answers

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 Valid from 13/Jul/2015 to 12/Jul/2016 Issuer …
Chris Evans
  • 111
  • 2
1
vote
1 answer

How do we check ELB **own** instance health/connectivity?

Please note that this question is about ELB itself, not EC2 instances behind ELB Situation We have experienced the following ELB issue recently: 50% of requests were did not reach our backend and it seems that ELB itself too ELB monitoring via AWS…
1
vote
0 answers

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 -> ELB -> 80 -> EC2 web server Source -> 443 ->…
1
vote
2 answers

1and1 domain redirected to Amazon ELB: 1and1 free email accs management

The web is behind an elastic load balancer in Amazon. I registered the domain with 1and1 which offers 10 free email accounts for the domain so I don't have to care about email servers for the moment. The current problem is 1and1 can't redirect…
Mike Molus
  • 41
  • 5
1
vote
2 answers

Redirect loop when forcing HTTPS

I am using the following to force HTTPS on my main website. ### Force SSL RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] If you want to view the full htaccess file, I have placed it below:
Abs
  • 1,559
  • 5
  • 19
  • 32
1
vote
0 answers

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 stable response times, and an acceptable…
1
vote
1 answer

What's the difference between a private and public subnet?

For the purposes of learning, I'm trying to setup a public/private VPC in AWS without using the wizard, and I'm trying to determine how AWS decides if a subnet is private/public. For argument sake, let's say I have in my vpc 1 ig, 2 routing tables,…
Drew
  • 263
  • 3
  • 11
1
vote
2 answers

AWS Elastic Load Balancer : white list only my IP

My objective: To make my AWS Elastic Load Balancer hittable by only traffic from my ip. What I have tried: created a security group in EC2 security groups set an inbound rule that allows all traffic from my ip [all, all, all, /32] assigned this…
mconlin
  • 123
  • 2
  • 7
1
vote
2 answers

Nginx : AWS Route 53 : ELB : naked redirect

Setup I have two rails app instances running in Opsworks Layer. I am using Route 53 and an ELB to route traffic to my Layer. Objective To redirect naked domain traffic to my www domain. chicken.com -> www.chicken.com What I tried I Alter my nginx…
mconlin
  • 123
  • 2
  • 7
1
vote
1 answer

Determine EC2 instance's load balancer automatically

Is there a way to automatically determine what the load balancer, if any, of a given EC2 instance is? I.e., have it ask "who is my LB and what is its service IP?". I was thinking of the instance metadata service but the LB "in front" of the instance…
1
vote
1 answer

ELB and Backend Authentication with Apache 2.4

I tried looking at AWS guides, and other things but can't seem to figure this one out. When using ELB there is a backend authentication option. I want to enable it, but I am not sure what certificate to use. We currently have a key from GoDaddy…
David Eisen
  • 643
  • 5
  • 21
1
vote
1 answer

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 application servers. I want to move the…
1
vote
0 answers

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 configured to check this URI and it works well,…
1
vote
2 answers

Stagger automatic windows updates for ec2 instances

I have several Windows ec2 instances that are controlled by an ELB (Elastic Load Balancer). These instances are scheduled to install any new windows updates once per day during non-peak hours. Automatically installing Windows updates often causes…