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

Can AWS Elastic Load Balancer be used to only send traffic to a second server if the first fails

Can an AWS Elastic Load Balancer be setup so it sends all traffic to a main server and if that server fails, only then send traffic to a second server. Have an existing web app I picked up that was never built to run on multiple servers and the…
1
vote
0 answers

Do I need NAT gateway to access external elb from lambda function

I have database which is not exposed to public(running in ec2 instance which is in vpc). I have web-app running on ec2 which connects to database. I expose this web-app via application load balancer which also resides in vpc. I want to access…
hridayesh
  • 1,123
  • 1
  • 14
  • 36
1
vote
1 answer

Drupal 7 + AWS aws load balancer with muliple instance of EC2 + temp folder files is missing

I am using AWS EC2 services with Elastic load balancer. When I try to upload multiple images using plupload, it return error: The specified file temporary://p1ccn4f5o41dmh1qvmefo1ohv1dq15.tmp could not be copied, because no file by that name…
user8550844
  • 301
  • 2
  • 8
1
vote
0 answers

AWS ELB X-Forwarded-For occasionally missing

My classic load balancer doesn't supply the X-Forwarded-For header occasionally, I can't say for sure whether the same request is going to have it or not. I noticed that a request to the URL pointing to the load balancer gets proxied via either of…
1
vote
1 answer

Kubernetes Load Balancers AWS

We've currently got a production application using Kubernetes on AWS. Everything's working very well except I think we've made a misconfiguration problem. We expose different services from within the cluster on domain names and we're now up to…
Schroedinger
  • 1,273
  • 14
  • 32
1
vote
1 answer

Elasticseach 5.6.8 cluster shards location

i have following picture in cluster i am using cerebro. It seems to be all shards on 3rd-node. And if data comes on i see load on 1rd node > 4 and another nodes are ok. Logstash -> LB -> ES-nodes (1,2,3). What i am doing wrong? Thank you in advance.…
petrolis
  • 133
  • 1
  • 3
  • 12
1
vote
0 answers

AWS API Gateway not able to handle concurrent requests and throwing 504 endpoint timed out errors

I have a node.js application which has just one route exposed. Lets say it is /myResource. It is deployed in AWS ECS Cluster having 5 instances with good compute capacity (I've monitored these and there is no issue here). I have an AWS API gateway…
1
vote
1 answer

How to find all ELB that are using specific subnet in AWS vis CLI?

We are running low on IP addresses in a specific subnet in AWS. I was able to find all ec2 instances using IP address from this specific subnet. Now I am trying to find all Elastic Load Balancers using this subnet via the AWS CLI. I know that I…
1
vote
1 answer

How to configure Nodejs that is in AWS EC2 Instance to accept HTTPS request from client side

I would like to ask about how to configure Nodejs (backend/server) to accept HTTPS request from client side (Front end). What we did. Registered domain name in AWS. List item Requested SSL in ACM. Create bucket in S3, and store our front-end code…
1
vote
2 answers

How do I route SSL traffic through an AWS "Application Load Balancer" to an EC2 instance

I am very new to load balancers. I have just set one up that listens on SSL. I also created an EC2 instance and added it to the target group of the "Application Load Balancer". The target group is also connected by SSL. I have installed apache on…
alionthego
  • 8,508
  • 9
  • 52
  • 125
1
vote
1 answer

how do I connect to an AWS "Application Load Balancer" with SSL

I have just set up my first "Application Load Balancer" and I chose the SSL option to connect allowing AWS to generate the certificate for me based on my domain (www.example.com). I have set the target to my EC2 instance and now I want to connect to…
1
vote
3 answers

Terminate instance in standby mode in autoscaling

Need to terminate the instance that is in standby. How can it be done. I terminated instance using instance_id, instance got terminated but still showing in console as standby node. How can I terminate node and and move from standby without…
1
vote
4 answers

Force ssl within a Node/Express web using AWS ECS

I have a cluster (that could have N instances in autoscaling) and I have a service with a website done in Node/Express. I have a Elastic Load Balancer which has a Target Group and the Listener points certain path to this target group. Everything…
1
vote
1 answer

slowness after migrating to netcoreapp 2.0 and docker AWS ECS

I have migrated our WebAPI .net 4.6.1 project to netcoreapp2.0 After load testing have below observations. Need feedback ? Old stack : AWS App Load balancer (ALB) -> EC2 (c4.large) -> WebAPI .net 4.6.1 (IIS) New Stack : AWS App Load Balancer (ALB)…
1
vote
0 answers

ssllab generate tons of handshake exception

I'm using SSL Labs to test the certificate for the website and it will generate tons of handshake exceptions in my debug log. The exception is showing below: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at…