Questions tagged [amazon-elb]

Amazon Elastic Load Balancing (ELB) automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Amazon Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances. It enables you to achieve even greater fault tolerance in your applications, seamlessly providing the amount of load balancing capacity needed in response to incoming application traffic. Elastic Load Balancing detects unhealthy instances within a pool and automatically reroutes traffic to healthy instances until the unhealthy instances have been restored. Customers can enable Elastic Load Balancing within a single Availability Zone or across multiple zones for even more consistent application performance. Elastic Load Balancing can also be used in an Amazon Virtual Private Cloud (“VPC”) to distribute traffic between application tiers.

See more at the product page.

2698 questions
14
votes
4 answers

Does LDAP over SSL require a cert on the client?

I am trying to resolve a problem whereby trying to set a users password over LDAP is failing because of an access denied error - even though I am authenticating against the AD with an admin user. An answer found in stackoverflow says that either I…
Gotts
  • 2,274
  • 3
  • 23
  • 32
14
votes
2 answers

AWS AutoScalingGroup HealthCheckType 'ELB' considers instance "InService" prematurely

I'm trying to get AutoScalingRollingUpdate to work on my autoscaling group, by bringing online new instances, then only once the new instance(s) are accepting traffic, terminating the old instances. It seems like AutoScalingRollingUpdate is designed…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
14
votes
4 answers

Can I use Single AWS ELB to host 2 SSL Certs for 2 Different Domains?

On AWS, I'm hosting Multiple (totally different) Domains on EC2 covered by an ELB on top. I already have 1 Wildcard SSL Cert for 1 Domain and its childs. (xxxx.site1.com) Then now can I add one more Single SSL Cert (on same ELB) for 1 another…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
14
votes
5 answers

Amazon EC2 ELB alarm - which instance is unhealthy?

We have hosted some apps on Amazon EC2 and are using an Elastic Load Balancer (ELB) to manage several instances of one app. Also, we have set up ELB alarms to get notified about Unhealthy Hosts, i.e. when an instance has gone down. So far, I could…
alexander.biskop
  • 1,822
  • 19
  • 30
13
votes
2 answers

Accessing AWS EC2 instances through ELB

I'm trying to set up two instances under an elastic load balancer, but cannot figure out how I'm supposed to access the instances through the load balancer. I've set up the instances with a security group to allow access from anywhere to certain…
Svend Hansen
  • 3,277
  • 3
  • 31
  • 50
13
votes
3 answers

In an AWS application load balancer, is there a way to change the path during routing?

E.g. I have two backend services, A and B, and I want to forward everything with path /A* to A and /B* to B - but I want to strip out the /A/ and /B/ before it hits them. So for example /A/api reaches A as /api. Is this possible? Edit: I…
Andrew
  • 6,295
  • 11
  • 56
  • 95
13
votes
1 answer

API Gateway - ALB: Hostname/IP doesn't match certificate's altnames

My setup currently looks like: API Gateway --- ALB --- ECS Cluster --- NodeJS Applications | -- Lambda I also have a custom domain name set on API Gateway (UPDATE: I used the default API gateway link and got the same…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
13
votes
3 answers

EC2 instance attached to a load balancer is showing Unhealthy status

I created a load balancer and assigned it one of the running EC2 instance. After creation, I navigated to Target Group section in the AWS Console under Load Balancing and when I selected the target group that was assigned to the load balancer, it…
Awadhesh Kumar
  • 380
  • 2
  • 4
  • 14
13
votes
2 answers

Does AWS Application load balancer actually support compression?

My front-end code talks directly to the Application load balancer for my backend (using JSON over HTTPS). I'm starting to retrieve more than trivial amount of data - so I thought I should work out what changes I had to make to support compressing…
Shorn
  • 19,077
  • 15
  • 90
  • 168
13
votes
11 answers

Method of finding instances attached to ELB

I am using the Amazon AWS ELB command line tools. Is there a way of finding out the instances attached to a particular Elastic Load Balancer (ELB)?
sheki
  • 8,991
  • 13
  • 50
  • 69
13
votes
5 answers

How to setup health check page in django

I have a webapp which required authentication to access any page of it. But for my ELB to work I have to setup health-check page for ELB so that ELB discover django app. This page should return HTTP 200 and no auth required. How do I setup this with…
Lahiru
  • 679
  • 1
  • 6
  • 19
13
votes
2 answers

AWS ELB - will it retry request if node fails?

I have an ELB and 3 nodes behind it. Can someone please explain me what will ELB do in these scenarios: Client Request -> ELB -> Node1 fails in the middle of the request (ELB timeout) Client Request -> ELB -> Node1 timeouts (Server timeout and…
sparrovv
  • 6,894
  • 2
  • 29
  • 34
13
votes
2 answers

How to configure AWS ELB to block certain IP addresses? (known spammers)

I am looking for a way to drop connections from known spam ip addresses on an Amazon's Elastic Load Balancer (ELB)? I am currently doing this at the web server level (multiple instances, running behind the ELB), but wondering if there is a way to do…
Litmus
  • 10,558
  • 6
  • 29
  • 44
12
votes
1 answer

ELB health check history / log

I have an ELB (Network Load Balancer with a couple of Auto Scaling Groups as Target Group) that has periodical health check fails (i.e. some instances would be marked as unhealthy and then recover after a few minutes). The health check is a simple…
lznt
  • 2,330
  • 2
  • 22
  • 27
12
votes
2 answers

Load balancing gRPC requests using one of AWS Load Balancers

I'm trying to work out whether I could use one of the (A/E/N)LBs to load balance gRPC traffic. A simple round robin would suffice in our case. I've read that ALB doesn't fully support HTTP2 and therefore can't be used with gRPC. Specifically lack of…
sumek
  • 26,495
  • 13
  • 56
  • 75