Questions tagged [aws-application-load-balancer]
1004 questions
3
votes
1 answer
502 bad gateway errors when using ALB and aws-load-balancer-controller
We have a service on our EKS cluster, this service is an API that receives many thousands of requests per day. Occasionally, we have noticed when making a request we get a 502 error. If i were to guess out of 100 requests maybe 10-to-20 would be 502…

Kay
- 17,906
- 63
- 162
- 270
3
votes
2 answers
Application Loadbalancer authenticate with Cognito Internal 500 Error
I have an AWS Cognito User Pool configured to talk to a SAML IDP and thats working fine, the SAML Assertion from the IDP to
https://XXXX.auth.eu-west-1.amazoncognito.com/saml2/idpresponse
works fine.
A request is then made to target group such…

Darragh
- 193
- 8
3
votes
1 answer
How to debug RDS connectivity
I have an Elastic Beanstalk application running for several years using an RDS database (now attached to the EB itself but set up separately).
This has been running without issues for ages. There's a security group attached to the load balancer,…

JHH
- 8,567
- 8
- 47
- 91
3
votes
0 answers
How can i increase the client_max_body_size for a Aws Load Balancer
I had deployed an application on EKS, and tried two ways of exposing it for traffic. though ingress is a better approach, I also tried directly exposing the application through a LB.
Load Balancer: When I exposed a service directly through a load…

Hitesh jain
- 103
- 9
3
votes
0 answers
Parsing (Unmarshaling) AWS lambda request body triggered by ALB with gRPC
I'm trying to parse the request body from the events.ALBTargetGroupRequest in my lambda function.
I couldn't find any example or explanation on how should I parse this binary data. My thought was that I would get a proto and just Unmarshal it, but…

Elad
- 664
- 1
- 5
- 14
3
votes
1 answer
Aws Target group: Same target is hit every single time
I have a Load Balancer setup which has a Target group associated with it. This target group has two targets. Both are healthy.
When I tried to reach the load balancer, all the traffic is routed to the same target every single time. If I deregister…

pvpkiran
- 25,582
- 8
- 87
- 134
3
votes
2 answers
How to route traffic in AWS ALB based on two conditions
I am migrating services from Kubernetes to AWS ECS. For routing I use AWS Application Load Balancer (ALB).
The ALB has a listener on port 80 and my services are aggregated in target groups.
To route traffic between the services I use ALB listener…

Maximilian Wiens
- 313
- 4
- 10
3
votes
0 answers
Is it possible to do URL rewrite with Amazon AWS ALB with multiple listener rules?
Is it possible to rewrite the URI in AWS ALB before it can be forwarded to Target group(EC2 instance)?
e.g. Request URL is https://dumydomain.com/home/test.asp
IF requested URI contains "test.asp" THEN
Forward request to Target Group A listening…

CHash11
- 746
- 4
- 14
- 31
3
votes
1 answer
AWS ALB ingress resource path definition
I am trying to configure an aws alb ingress for an existing cluster which already has nginx ingress configured. This is the resource file I'm using in nginx ingress which works fine.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name:…

Bhargav Mg
- 337
- 4
- 12
3
votes
1 answer
AWS ELB causing net::ERR_CERT_COMMON_NAME_INVALID error
Currently getting the net::ERR_CERT_COMMON_NAME_INVALID when trying to access my application through the ALB.
This is my current setup:
SSL Certificate created that covers example.com & *.example.com using AWS Certificate Manager.
2 server ec2…

Anthony Maina
- 33
- 5
3
votes
0 answers
Passing the client certificate to the backend for mutual auth with AWS Load Balancer Controller
I am using EKS/Fargate for K8s deployment and using AWS Load Balancer Controller. There are few use cases which needs to support mutual authentication. In my opinion mutual authentication is not supported in ALB rather in the AWS Gateway. Even…

Dilshan
- 3,231
- 4
- 39
- 50
3
votes
1 answer
Cloudformation Elasticbeanstalk specify target group for shared load balancer
I have two Cloudformation templates
one which creates a VPC, ALB and any other shared resources etc.
one which creates an elastic beanstalk environment and relevant listener rules to direct traffic to this environment using the imported shared load…

Ben Swinburne
- 25,669
- 10
- 69
- 108
3
votes
1 answer
AWS load balancer size limits
The AWS ALB limits size to 100 MB. Part of my API response is a rendered README.md from the Github API. I don't control the rendering, but it turns out ALB will not return a response with text of this rendered REAME.md file from Github. When I…

Gary Leong
- 199
- 1
- 2
- 12
3
votes
1 answer
AWS API Gateway infront of AWS ALB (Ingress Controller) for EKS
I am trying to understand the use of API Gateway along with AWS ALB (Ingress Controller) for the EKS cluster.
Let's say,
there are 10 microservices in the AWS EKS cluster running on 10 pods. The EKS cluster is in Private VPC.
I can create Kubernetes…

Suvendu Mandal
- 79
- 3
- 11
3
votes
1 answer
How to add target group from different AWS VPC and region to a AWSALB?
I have a requirement where ALB and target groups are in different VPCs as well as regions. Please advise if there is any documentation, steps/instructions or any other resource, which could help achieving this.
I think I can do this in different…

Shaggy
- 484
- 1
- 6
- 16