Questions tagged [aws-application-load-balancer]
1004 questions
0
votes
1 answer
Get Client Real IP on Container Behind AWS ALB
I have single container running in an EC2 instance behind an AWS Application Load Balancer.
The container is running using network_mode=host and displaying a simple JSON of the Request Info and Headers.
Problem is, I don't get the Client Real IP.…

Akram Fares
- 1,653
- 2
- 17
- 32
0
votes
2 answers
Alias to custom path
I have AWS ELB DNS name(Testing-QA-7849049.ap-south-1.elb.amazonaws.com)
which has routing configured based on path
eg : Testing-QA-7849049.ap-south-1.elb.amazonaws.com/qa/index.html ---> will point to qa server
…

RITESH SANJAY MAHAJAN
- 163
- 1
- 11
0
votes
1 answer
Unknown principle in bucket policy Terraform AWS
I am learning how to automate infrastructure with terraform. Currently I have an application load balancer and I am looking to send logs from this into an S3 bucket. I have a json file created that specifies the policy but when I try to apply the…

Imran Sandozi
- 235
- 1
- 3
- 11
0
votes
2 answers
How to get thei requester IP on a Spring webapp running on AWS ElasticBeastalk Application Load Balancer
I have a web app written in Java using Spring as a backend framework.
This application is running on AWS ElasticBeanstalk with an Application Load Balancer. I was wondering how can I get the IP of all the users sending requests to my web app.
[EDIT…

Stefano Sambruna
- 767
- 2
- 10
- 29
0
votes
2 answers
Creating a target group for a alb (application load balancer )
When creating a target group for ALB into a private r public vpc for port 8080, why is that I need to mention path, for a regular html page we have .index file but when we have an application running at port 8080, how can we define the path?

swaroop
- 1
0
votes
1 answer
Why .auth.us-east-1.amazoncognito.com gives me a blank page?
I've deployed a simple Flask app on ECR>ECS>Fargate. The app is being loaded by Application Load Balancer and Cognito is used for authentication.
My callback url is https://ApplicationLoadBalancer's DNS/oauth2/idpresponse
If I try…

samvso
- 41
- 5
0
votes
1 answer
How do I fix the Error when setup AWS Application Load Balancer For Angular+NodeJS Web Application
I set up an Application Load Balancer(AWS) for my website. In my website, I have angular as my frontend, and I have NodeJs and Neptune DB as my backend.
Browser(Local Machine) -> ALB -> EC2 Instance(Web).
I have an url for my…

Hongli Bu
- 461
- 12
- 37
0
votes
1 answer
Angular 7/8 respond to health-checks on the dev server
I run the angular dev server with ng serve:
$ ng serve
10% building 3/3 modules 0 activeℹ 「wds」: Project is running at http://localhost:4200/webpack-dev-server/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: 404s will fallback to…
user11810894
0
votes
1 answer
nginx as reverse proxy returns 502s when upstream server is behind an ALB
My setup is a load balancer going to an nginx box which acts as a reverse proxy to a load balancer that sits in front of a uwsgi application.
I get a sporadic 502s and quite a few
epoll_wait() reported that client prematurely closed…

wonton
- 7,568
- 9
- 56
- 93
0
votes
1 answer
AWS Application Load Balancer with ECS
I have the following AWS setup:
ECS Cluster with 2 EC2 instances each running in its own subnet which are within a different AZ
Several Microservices which are only running each one task as they are stateful
One Internal Application Load Balancer…

tzwickl
- 1,341
- 2
- 15
- 31
0
votes
0 answers
How to retrieve client IP within a Docker container running Apache on AWS Elastic Container Service?
I have a Docker server running Apache 2.4.25 (Debian) PHP 7.3.5.
This container is "hosted" within an Amazon Elastic Container Service.
The default AWS EC2s are sat behind an AWS application load balancer.
I want to be able to obtain, in PHP, the…

Ben
- 1
- 1
0
votes
1 answer
Authentication question about react web application behind EKS alb ingress
I have a react web application running on a eks cluster. I have created a EKS alb ingress to authenticate users. I haven't figure out if I do so, how my react web application to know who is signed in. The ingress will forward some headers to the…

L.T.
- 673
- 7
- 16
0
votes
1 answer
Two subdomain Mapping to one Load Balancer DNS - DNS Violation
So I have two ECS Cluster in front of which I have an Application Load Balancer, I am using host-based routing to have 2 URL point to 2 different target group associated with the same load balancer.
My two domains are from GoDaddy and I want them…

Tekill
- 1,171
- 1
- 14
- 30
0
votes
1 answer
Is there a way to expose a port on my ec2 instance when the process is started after the instance is already initialized?
I have a cloudformation template that launches an ec2 instance as part of an autoscaling group behind an application load balancer. This ec2 instance has a flask app that launches other processes at given ports. For instance, the flask app launches…

niketp
- 409
- 1
- 9
- 20
0
votes
0 answers
Error defining ALB with 2 subnets in differents AZ
I'm designing a cloudformation to deploy ALB and i got an error that says:
At least two subnets in two different Availability Zones must be specified (Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: ValidationError;
These…
user6593995