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

classic load balancer https acm issue

I have a website -- portaldevservices.com The domain is managed by route 53 and works fine with http. I have one ec2 instance. I recently decided to move to https and put a load balancer in front of the ec2 instance. From here I created a load…
2
votes
1 answer

Why is Elastic Beanstalk Load Balancer refusing to estabilish a SSL connection?

Recently, I started searching about security procedures and came across SSL. Actually, I already knew about SSL, but I found to be too expensive at the time. Luckily, yesterday I found out that Amazon gives SSL certificates for free! However, I have…
2
votes
0 answers

How to use CloudFlare's HTTP Proxy with an AWS Application Load Balancer?

I have configured an Amazon Web Services Application Load Balancer with a few registered targets that are basic web applications. I have created a CNAME in CloudFlare and pointed this (using DNS ONLY option) to the A Record endpoint of my ALB.…
2
votes
0 answers

how to test Load Balancer with Sticky Session

I'm new to load balancer and Sticky Session. My understanding of Sticky session is that all request of one instance will be served via only one service( please correct me if I'm wrong). I have a requirement to test the working of sticky session with…
Mani
  • 135
  • 3
  • 15
2
votes
1 answer

How can I troubleshoot an AWS Application Load Balancer giving 504, while the EC2 instance behind it gives 200?

I have an EC2 instance with a few applications successfully deployed onto it, listening for connections on ports 3000/3001/3002. I can correctly load a web page from it by connecting to its public DNS or public IP on the given port. I.e. curl…
2
votes
0 answers

AWS Application Load Balancer 502 Docker Swarm Spring Boot

Hi I have an application load balancer that periodically throws 502 errors even though all the instances are healthy. The Instances are docker swarm cluster to a set of spring boot applications. This happens a lot specifically with the options…
2
votes
1 answer

AWS EC2 Load Balancer - Specific is instance simply "not available"?

I've set up a VPC, with a private and public subnet. There are a handful of instances in the VPC that have very little difference between them other than the instance type, and security groups. Now I want to add a Network Load Balancer, to route…
Janne Enberg
  • 1,908
  • 1
  • 14
  • 12
2
votes
4 answers

Is possible to use Amazon Elastic Beanstalk with SSL (HTTPS) without a Load Balancer?

From now on, my application needs a secure connection (HTTPS). I verify that most of tutorials for adding secure connections (https) on Amazon Web Services Elastic Beanstalk uses the Elastic Load Balancer as a tunnel. In my case I'm running a…
2
votes
1 answer

GitLab Container Registry behind AWS Load Balancer

I currently have a GitLab instance setup behind an AWS load balancer (just to achieve HTTPS with my Amazon issued certificate). I'm running nginx for the main GitLab service with the following settings (from /etc/gitlab/gitlab.rb): nginx['enable']…
celestialorb
  • 1,901
  • 7
  • 29
  • 50
2
votes
1 answer

NGINX proxy_pass to ELB with Variable

I am trying to setup a proxy rule for nginx that will hit an internal loadbalancer in front of some node boxes serving an API. I want to use a variable in the address to force it to resolve because of how dynamic the addresses are in aws. The…
mikedklein
  • 641
  • 9
  • 20
2
votes
2 answers

Health check on container port and host port in ECS + ALB

I have a problem with my deployment in ECS. I try to deploy 4 instances of 2 docker images on 2 EC2 instances with an ALB in front. So in my tasks definitions, I use the dynamic port mapping (2 Nginx on container port 80). This creates a trouble in…
2
votes
2 answers

aws elb doesn't work - connection timed out error

I created VPC with public and private subnets like this: public subnet : bastion server, elastic load balancer, igw private subnet : ec2 instance(app is running with http 8080 port), nat gateway Following is the listeners config. load balancer…
2
votes
0 answers

Laravel 5.1 asset() not working in ssl enabled ec2 instance

I am using aws EC2 instance for my laravel project and installed ssl certificate using load balancer for website. After activating ssl on ec2 instance for my website, laravel asset() for javascript and css taking http not https. Beacuse of this…
2
votes
3 answers

aws ssl with load balancer - ec2 instance https requests seems not terminated by ELB

I am hosting a domain in aws and want to allow https requests to it. I have done the following steps. requested a certificate from ACM, validated the emails and it is issued. created a classic load balancer (LB) with http and https listeners that…
2
votes
1 answer

AWS ALB HTTP2 - Not working

For our application, we are using Application Load Balancer in front of our AWS EC2 instances (web servers) We're using a set of Application Load Balancers in AWS. For only one of our application load balancer, http/2 is not working. For other…