Questions tagged [elastic-load-balancer]

Use this tag for questions related to the Elastic Load Balancer, used to automatically distributes incoming application traffic across multiple Amazon EC2 instances.

Usually accompanies this tag, so you are encouraged to use it too, if applicable.

331 questions
0
votes
2 answers

How to create a target page at EC2 instance for Load balancer's health check

I set up load balancer for my EC2 instances. All the security groups set up between load balancer and instances look fine. The current problem is that instances status in load balancer are OutofService. For that I think I don't have a target page…
batuman
  • 7,066
  • 26
  • 107
  • 229
0
votes
1 answer

Setting up load balancer at my EC2 instance at AWS

I set up load balancer to my instances. My instances are inside an Auto Scaling Group. My load balancer has HTTPS listener with SSL certificate from AWS. For load balancer's security group has inbound rule set to https with port 443 and outbound…
batuman
  • 7,066
  • 26
  • 107
  • 229
0
votes
0 answers

x-forwarded-for from ELB is coming null

I have an web-application running on Tomcat8 server(A) which calls a rest-service served by another server(B). In between there is ELB load balancer. After successful API calls, after sometime the web-application started throwing exception saying…
0
votes
1 answer

How to stop a request from being directed to a node until the heartbeat is up?

In a load balanced cluster, how to avoid a request from being sent to a node that is still starting and initializing its cache and heartbeat is not yet up and running. I have tried all the methods in…
Anirudh
  • 437
  • 2
  • 10
0
votes
1 answer

ELB: logs from two nodes

My ELB logs shows 2 ip addresses which means requests are being balanced from two nodes: "The IP address of the load balancer node that handled the request." My console shows 1 ELB in 2 availability zones. Does that mean that there is one node for…
lf215
  • 1,185
  • 7
  • 41
  • 83
0
votes
1 answer

Swapping classic load balancer with application load balancer throws: The load balancer X does not exist

I used the firstRun to create our ECS cluster. The Whizzard automatically creates a Classic Load Balancer. As we want to run multiple containers on the same machine on different ports behind the same Load Balancer port I have switched the Classic…
kev
  • 8,928
  • 14
  • 61
  • 103
0
votes
0 answers

How can I let Eureka know the ELB address of aws beanstalk instead of specific EC2 instance IP

I'm working on a project based on AWS and I am new to both of AWS and Eureka. There are number of micro services built with spring boot. Each of them are deployed as separate beanstalk application. Beanstalks are in our VPC and auto scalable and…
0
votes
1 answer

Elastic Beanstalk / ELB adding over 60ms latency

I'm running a microservice on AWS Elastic Beanstalk which is logging it's responses internally at 1-4ms, but the AWS Dashboard is showing an average of 68ms (not even counting latency to/from AWS). Is this normal? It just seems odd that EB/ELB…
0
votes
2 answers

Amazon Elastic Load Balancing - One instance stopped working

I'm having two EC2 instances running behind an Elastic Load Balancer (ELB). When one EC2 instance not responding, the request redirected by ELB to that instance will get a TIMEOUT response. Is there anyway to prevent this, for example, redirect to…
Thịnh Phạm
  • 2,528
  • 5
  • 26
  • 39
0
votes
0 answers

Website does not load when https:// connection is requested

I have a website hosted on AWS [EC2 instance + nginx server]. I have generated SSL certificate using AWS Certificate manager. The certificate has been added to load balancer and an entry for HTTPS in it. The port 443 is also opened in security…
0
votes
0 answers

[stderr]master failed to start, check stderr log for details. AWS | EC2 | Ubuntu | Load Balancer

When requests come to my server at the time of deployment, it got failed. I'm using Ubuntu in AWS EC2. As I'm using Elastic Load Balancer, I have tried my instance to deregister from and again register with Load Balancer so that meanwhile I can…
0
votes
1 answer

MVC HTTPS redirection when behind a load balancer

I'm using MVC5 in some IIS servers on Amazon EC2, behind a Amazon Elastic Load Balancer. IIS servers runs only HTTP protocol, and ELB converts to HTTPS. IIS server doesn't know if user is accessing thru HTTPS, so I have a rewrite rule checking…
TNT
  • 819
  • 1
  • 8
  • 28
0
votes
1 answer

Configure CakePHP 2.* session and session cache in database

When I switched to the AWS Load balancer (multiple server), Session should be maintained unique. When I used to login my site the session lost and it redirected to the home page. So I have tried to store the session in DB using following…
user6825334
0
votes
1 answer

how to allow ec2 health check through .htaccess while redirecting to https

I'm trying to create an .htaccess file that does the following: 1 Allows the EC2 health check URL to be hit without redirecting to https 2 Redirects all non-https traffic to https 3 Redirect calls to / to /auth/app/public/app (using https) Items 2…
Erich
  • 499
  • 1
  • 13
  • 34
0
votes
1 answer

Why is mod_proxy_protocol or ELB causing high apache worker count?

We have a legacy cluster of servers running Apache 2.4 that run our application sitting behind an ELB. This ELB has two listeners, one HTTP, and one HTTPS which terminates at the ELB and sends regular HTTP traffic to the instances behind it. This…