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
2 answers

How to handle wesocket connections on load balanced servers

Our .net core web app currently accepts websocket connections and pushes out data to clients on certain events (edit, delete, create of some of our entities). We would like to load balance this application now but foresee a problem in how we handle…
1
vote
2 answers

AWS Network Load balancing - session stickiness not consistent

We were using Application Load balancers earlier and session stickiness worked like a charm. Recently, we switched to the network load balancing and it's not working consistently, to make it worse we don't find any mention of session stickiness…
1
vote
2 answers

API call to all instances behind AWS load balancer

I am trying to hit an endpoint on multiple instances running the same application on Elastic Beanstalk (so behind a load balancer). What is the best way to call an endpoint on all the instances - and be certain that it has been received? I have…
1
vote
2 answers

Routing - Spring Boot Web App & AWS Application Load Balancer

I have a Spring Boot web app with the usual routings: @GetMapping("/account") public String search(@RequestParam(value="search"... I've now deployed this behind an AWS Application Load Balancer, where I have used path based routing to target my…
1
vote
0 answers

Amazon CloudFront Intermittent "Failed to contact the origin"

We started seeing this issue about 2 hours ago. It's happening very randomly. For example, if you copy and paste this URL for the image into browser, the chance of it not showing up for me is about…
1
vote
2 answers

Is there a way to list all Elastic Load Balancers? (Using AWS .NET SDK)

I am trying to get the status of my Load Balancers programmatically and that proves quite problematically as I have to enter an incredibly long string for the ARN (Or I guess with the Name, which is shorter, I get the same result, but that's beside…
1
vote
2 answers

AWS Classic Loadbalancer dynamic port mapping for ECS

Currently, it's not possible for one CLB to load balance two distinct TCP services running in the same multinode ECS cluster (confirmed by AWS support). Does anyone know a way around that? Does anyone from AWS have an approximate date (like is it…
1
vote
3 answers

AWS API gateway and Load balancer secure communication

We are using AWS API gateway and a load balancer in front of our EC2 cluster. Gateway needed load balancer to be public hosted and thats why we put load balancer in public subnet of VPC and all of our EC2 instances in private VPC. The problem we are…
1
vote
2 answers

Set static private IP addresses to AWS EC2 Instances registered with an AWS Elastic Load Balancer

I am attempting to set static private IP addresses to AWS EC2 Instances registered with an AWS Elastic Load Balancer. The most popular approach I encountered so far has been with the use of Auto Scaling Groups. This approach has been well elaborated…
1
vote
0 answers

How to whitelist IP addresses for AWS ElasticBeanStalk Application Health Check?

I use an IP whitelist in the application CORS configuration. Unfortunately, this means that Application Health Check pings to the ElasticBeanStalk application fail with: Error: Bad Request: Invalid origin The IP addresses appear to be dynamic. How…
1
vote
2 answers

Setting up a wordpress website with SSL from AWS certificate Manager behind Load Balancer

I am struggling with an issue for a long time still I don't have a proper solution. The scenario is as follows: Domain Name: domain-name.com Website Desired URL: https://www.domain-name.com/ Type of Website: Wordpress Web Hosting: AWS DNS…
1
vote
1 answer

Testing classic internal ELB

I have configured and passed the health check for my AWS ELB(load balancer), but I was trying to do a ping or send a packet to the tcp port 9300 there is no ip address for the ELB. I have an EC2 instance at the end of the ELB which has…
1
vote
1 answer

Websocket error using Django Channels with EC2

I'm trying to build an app in Django that uses Django Channels. I'm deploying on Elastic Beanstalk. My understanding is that the application load balancer supports websockets and I can route websocket traffic to the appropriate port. The websockets…
1
vote
1 answer

Does AWS Elastic Load Balancer (ELB) v2 support Next Protocol Negotiation (NPN)

I'd like to use AWS Elastic Load Balancer (ELB) v2 Application Load Balancer with HTTP 2.0. I'm trying to find out if it supports Next Protocol Negotiation (NPN) which was replaced by ALPN in the official specs. I need NPN because I have some older…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
1
vote
1 answer

AWS - Apache application behind app load server not using SSL certificate

I have placed my instances behind an ALB that has an ACM provided SSL certificate configured with it. However, when I browse to the web page (that I have configured via Route53's alias record to the App Load Balancer), it says that my connection is…
omrakhur
  • 1,362
  • 2
  • 24
  • 48