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

Can I create a ALB Listener with no Target Group (just want to return 404) for default route

When I create an ALB listener, it appears I need to set a TargetGroupArn. But I was thing why not just return 404 ... I seem to be able to do this with ActionType of fixed-response. But even if I want to return a fixed-response, I need a target…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
4
votes
4 answers

AWS Loadbalancer Proxy for Nodejs

I have configured the load balancer to route the request to two of Ec2 Instance running a NodeJs server. I need to direct the request coming from both http (port 80) and https (port 443) to http (port 80) of the EC2 instances in NodeJs. I have…
4
votes
1 answer

How do I configure keep-alive time between elb and server?

We are seeing 504 errors in our ELB logs, however there are no corresponding errors in the application logs. Have increased the idle timeout on ELB and can see that no requests are taking more time than that. Going through aws documentation found…
4
votes
1 answer

Laravel Application & Load balancer

I have hosted my application on AWS cloud and a load balancer is running on top of two instances which is being served by Nginx on top of Php7.0-fpm. Let's say that my application downloads a file and stores it locally, so that the contents can be…
4
votes
1 answer

HTTPS-Redirect with Traefik behind Aws Loadbalancer

I'm trying to redirect all incoming Traefik from http to https, for a web application which gets served out of a docker container with a custom port. If I build this docker compose file, and scale the application everything works as expected. I'm…
4
votes
1 answer

Can't connect to AWS Network Load Balancer with Fargate

I've created a Network Load Balancer for use with ECS Fargate. When I try to connect to the load balancer (using either the ELB domain name or it's IP addresses) it won't connect. I don't even see the connection in the flow logs. The machine I'm…
Tim Ludwinski
  • 2,704
  • 30
  • 34
4
votes
2 answers

Configure WampServer3 to work with AWS Certificate Manager, Application Load Balancer over port 443

Question: Is it possible to use WampServer3 (Apache, PHP, MySQL) to work with my Application Load Balancer over port 443? If so how? Issue: Currently my application load balancer is connected to my instance and I have 2 listeners, Port 80 and Port…
4
votes
2 answers

Is it possible to configure an Application Load Balancer with Elastic Beanstalk ebextensions?

The Elastic Beanstalk documentation mentions that the load balancer type can be set with a config file in the .ebextensions folder. However, when I deploy my application in a newly created environment, Elastic Beanstalk still creates a classic load…
4
votes
0 answers

Wordpress Mixed Content Error, Nginx reverse proxy behind Amazon ELB

UPDATE: I solved the problem with the mixed content with a plugin The main problem now is that when I go to the admin login page I get redirected to the login page inside <> instead my domain I have a Rails application on Amazon Elastic Beanstalk,…
4
votes
1 answer

AWS Load Balancer not secure

I've configured a classic load balancer using this tutorial: http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-getting-started.html I've added an SSL certificate from AWS and the latest cipher. The listener if configured to receive…
Dr.Agos
  • 2,229
  • 2
  • 15
  • 17
3
votes
5 answers

How To Extract Load Balancer Name from Elastic Beanstalk Environment in CloudFormation

I have created a Elastic Beanstalk and CloudWatch Alarm in CloudFormation with the following code snippet: "ElasticBeanstalkEnvironment": { "Type": "AWS::ElasticBeanstalk::Environment", "Properties": { …
3
votes
2 answers

added SSL does not work for AWS Load Balancer using ACM

I have a AWS LoadBalancer which created using Kube, Kops and AWS. protocl type for the ELB is tcp. this work fine for http requests, means I can access my site with http://testing.example.com. Now I tried to add SSL for this ELB using ACM…
3
votes
1 answer

408 HTTP errors trying to access https on AWS elastic beanstalk with load balancer

I am getting a problem when trying to access my domain with https causes a request timeout on AWS. I have a load balancer, with 2 listeners, one at port 80 for http and one at port 443 (with a relevant certificate attached to it) for https Visiting…
3
votes
0 answers

Enable Keep-Alive setting in Dropwizard configuration

I am observing a lot of 5xx errors on my Application load balancer logs. I have a dropwizard application listening to HTTP requests behind the ALB. On reading about ALB, I found AWS documentation says: - If you use HTTP and HTTPS listeners, we…
3
votes
2 answers

how to increase 60 second timeout issue on Elastic Load Balancer?

We have use-case where we need to fulfill the request even after 60s. We get Elastic Load Balancing Connection Timeout 504. How to increase the timeout in ELB (aws).