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
3
votes
1 answer

Is there a full list of configuration options for .elasticbeanstalk/config.yml?

Are you able to use this file to specify all options for an environment? I can't find a reference online that lists all available options. Examples of things I want to set are: Instance Type Security Groups Load Balancer settings…
3
votes
1 answer

How to find AWS Load Balancer ARN from its name with python api?

Given a load balancer name, is it possible to find its ARN with AWS API? The closest I see is the describe_load_balancers function, but its output doesn't include ARN. Am I missing something simple? Full context: The script adds…
3
votes
1 answer

ElasticBeanStalk NGinx configuration for multiple ports in Nodejs

I have my nodejs hosted in ElastiCbean stalk environment. It uses the default configurations and default port. Now I am planning to open another port and listen to that port from Nodejs applicaiton. This is kind of opening nodejs in mutliple…
Janier
  • 3,982
  • 9
  • 43
  • 96
3
votes
2 answers

AWS Migrate Classic Load Balancer to Application Load Balancer

I am looking for integrating WAF in my existing server setup, since I have Classic Load Balancer (with EC2 instances) which does not support WAF I need to migrate to Application Load Balancer. Is it possible to migrate the existing Classic Load…
3
votes
1 answer

AWS forward port 8000 from elb to port 8000 of EC2

I have en ELB with multiple EC2 instances registered in target groups. I am using port a php application which is running properly. It has SSL. I want to use port 8000 for my node application. What I would like to do is I want to forward…
3
votes
3 answers

AWS: is it possible to map (ELB/ALB) to ELB?

ELB: Elastic Load Balancer ALB: Application Load Balancer I am trying to map elb/alb on aws to another elb (ex: http://my-elb-domain.com), elb/alb -> elb in alb: I didn't find a way to register elb as targets. in elb: only maps to instances
zillani
  • 1,070
  • 3
  • 18
  • 26
3
votes
0 answers

AWS Elastic Load Balancer not responding from Internet connection

I have created one EC2 instance (as part of the provision of a Tomcat Beanstalk instance). Now I need to configure HTTPS connection to the EC2 instance. As per the Beanstalk documentation, the easiest way is to configure a load balancer that…
ZX999
  • 63
  • 5
3
votes
2 answers

AWS Elastic Load Balancer not Forwarding HTTP Headers to EC2 Instance

I'm currently running a Python Flask Application on Amazon Elastic Beanstalk. When I test the application, it all works fine locally (I used Postman to send the GET & POST requests). However, on AWS, it doesn't work because the request that gets to…
3
votes
1 answer

EC2 instances removed from load balancer

Is there any event that could cause an EC2 instance to be removed from an ELB in AWS? We have 4 services in a load balancer that usually chug away doing their thing, being updated only very occasionally. We've had issues from time to time where some…
NRaf
  • 7,407
  • 13
  • 52
  • 91
3
votes
1 answer

AWS ECS handling DNS subdomains across multiple instances

So I am trying to get my AWS setup working with DNS. I have 2 instances (currently). I have 4 task definitions. 3 of these need to run on port 80/443, however all on separate subdomains. Currently if I stop/start a task, it can end up on either of…
Horse
  • 3,023
  • 5
  • 38
  • 65
3
votes
1 answer

AWS ELB zero downtime deploy

With an ELB setup, there as healthcheck timeout, e.g. take a server out of the LB if it fails X fail checks. For a real zero down time deployment, I actually want to be able to avoid these extra 4-5 seconds of down time. Is there a simple way to do…
3
votes
0 answers

AWS and HTTP2 - Having HTTPS configured on application load balancer

I discovered that configure HTTPS on the AWS applications LB is the easiest way to secure my website and even use HTTP/2 with HTTPS listeners. But, surprisingly, when AWS Application LB distribuite the requests across the servers, all the requests…
freedev
  • 25,946
  • 8
  • 108
  • 125
3
votes
1 answer

Apache2 not redirecting to https

I have an ec2 instance with my website files properly installed using apache2 as the web server. The ec2 is configured to receive http traffic on port 80 only from the elb (pretty sure about this but not 100%). The elb has an https listener (port…
3
votes
1 answer

How to configure AWS internet facing LB ScurityGroup for internal and external requests

I'm having a hard time figuring out how to set the correct SecurityGroup rules for my LoadBalancer. I have made a diagram to try and illustrate this problem, please take a look at the image below: I have an internet facing LoadBalancer ("Service A…
3
votes
1 answer

Rails InvalidAuthenticityToken with HTTPS + ELB

I'm trying to get HTTPS to work for my site, but I'm getting ActionController::InvalidAuthenticityToken for all post requests. I logged the form_authenticity_param and form_authenticity_tokenand they are in fact different. The SSL is resolved at the…