Questions tagged [aws-application-load-balancer]
1004 questions
3
votes
1 answer
nginx docker container on aws ecs >> The plain HTTP request was sent to HTTPS port
I have a frontend angular application running on aws ecs ec2 instance and both are connected to TCP port 443 and 80 of network load balancer. I will have many vhost configured on this nginx docker container with multiple domain names. In the ecs…

sandeep krishna
- 415
- 2
- 9
- 28
3
votes
1 answer
issue registering a EC2 instance with an Application Load Balancer (ALB)
According to the docs I should be able to register an EC2 instance with the elb_instance module, but the play fails with ELB Staging1 does not exist. For sanity check I've tried with the AWS CLI tool, but that fails with An error occurred…

guessimtoolate
- 8,372
- 2
- 18
- 26
3
votes
1 answer
Using Application Load Balancer with HTTPS
This is the first time that I am using load balancer... I have spent quite a bit of time going through documentation and I am still quite confused.
I want to host my website. My website supports HTTPS only. I want to put my backend servers behind an…

Hooman Bahreini
- 14,480
- 11
- 70
- 137
3
votes
3 answers
Getting 400's from aws ELB hostcheck to work with django ALLOWED_HOSTS in aws ECS under awsvpc networking mode?
When moving over to ECS with awsvpc networking mode, my ALB says all my hosts are unhealthy because checking /status/ yields 400s. I've narrowed it down to the issue being something wrong with ALLOWED_HOSTS.
How do I get my web app to give 200's to…

wonton
- 7,568
- 9
- 56
- 93
3
votes
1 answer
500 error when authenticating ALB + AWS Cognito
I am trying to authenticate Lambda via Aws ALB + Cognito. When I launch the DNS server, it redirects me to login page, I'm able to signup and verify the user. Also, I could see the user added to users in userpool. After sign in, it gives 500…

Ali
- 253
- 4
- 13
3
votes
3 answers
tomcat 8080 behind AWS Application Load Balancer 443
My goal is 443 (ALB)->8080 (TOMCAT)
I am running a EC2 tomcat instance on 8080.
Here is the tomcat apr connector on 8080
I have an ALB…

springcorn
- 611
- 2
- 15
- 28
2
votes
2 answers
EKS - failed calling webhook "vingress.elbv2.k8s.aws"
I am running EKS cluster in the AWS. The version is 1.25.
Today I start to get this message:
Internal error occurred: failed calling webhook "vingress.elbv2.k8s.aws": failed to call webhook: Post…

rholdberh
- 475
- 1
- 5
- 19
2
votes
0 answers
EKS using ALB, connecting TargetGroupBinding and TargetGroup
I have service, like this below.
$kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
apa000ser ClusterIP 10.100.251.247 80/TCP 2m42s
kubernetes ClusterIP 10.100.0.1 …

whitebear
- 11,200
- 24
- 114
- 237
2
votes
1 answer
AWS ECS Cluster Please configure a container with elb
I have created a cluster, task definition and load balancer now I am creating a service on Ecs cluster but its showing this error
My Docker file in image is
FROM node:alpine
# Set the working directory to /app inside the container
# set working…

rameez khan
- 73
- 1
- 23
- 68
2
votes
1 answer
Integrating AWS API Gateway (HTTP type) to private ALB via VPCLink
I've been using the internal ALB with AWS Gateway via VPC Link for many years but in the last few weeks, when I tried to set it up again with a new ALB via VPC Link, it is not working at all. I am getting this 400 Bad Request "The plain HTTP request…

Vincent
- 21
- 1
2
votes
1 answer
CloudFront Function for routing request to origin based in HTTP Header
I am trying to implement solution based on routing the request to specific origin based on http header on the request.
We are using CloudFront for Caching and we have attached 2 ALB as origin. Now of header is having old it should hit to ALB1 and…

Nauti
- 21
- 1
2
votes
0 answers
Setting the cookie domain for AWS ALB OIDC
We've got a number of webapp testing environments that we've preivously gated with IP whitelists, but maintaining those is tedious and error-prone. For the new revision of the environment I've added an OIDC authentication rule to the ALB which has…

Sammitch
- 30,782
- 7
- 50
- 77
2
votes
0 answers
I'm getting 502 when trying to authenticate via keycloak
I have exactly the same problem described here Why do I get 502 when trying to authenticate and the possible solution could be https://stackoverflow.com/a/68811151 but I use AWS Load Balancer Controller and unfortunately it does not support…

Sergey Filipovich
- 67
- 5
2
votes
0 answers
Where does AWS OpenSearch domain endpoint points
I am new to OpenSearch or AWS in general. I was trying to debug a recent issue with OpenSearch service when I came across these docs
As per this documentation:
OpenSearch Service assigns each ENI a private IP address from the IPv4 address range of…

Prateek Deshpande
- 21
- 2
2
votes
0 answers
K8s dashboard exposed through an ALB ingress does not become accessible, gives 400
Trying to make kubernetes-dashboard accessible from the outside world on an AWS EKS cluster using and alb ingress.
Everything looks fine and deployed.
I can access the running dashboard using kubectl proxy but not via the custom domain…

arinray
- 178
- 1
- 12