Amazon Web Services supports three types of Load Balancers. An Application Load Balancer (ALB) functions at the application layer, the seventh layer of the Open Systems Interconnection (OSI) model.
Questions tagged [amazon-alb]
104 questions
2
votes
1 answer
On and off requests take very long on my system
EDITED: I have and issue in my AWS system. Every few requests takes almost exactly 130 seconds to answer. When I say a few I mean 5 to 25 or so. Normally if you cancel the slow request and send again it just answers fast. I also noticed this happens…

wti
- 158
- 8
2
votes
1 answer
AWS: ECS/ALB setup, converting a docker-compose file, port mapping to mulitple containers
I know this is not an 'original question'. The general topic is covered extensively. Neverthless i'm struggling with my particular setup:
I'm trying to basically convert the following docker-compose file into an ECS based deploy in AWS.
version:…

baku
- 123
- 4
1
vote
1 answer
AWS alb and DNS routing
I have example.com behind ALB
Since I'm using external DNS service other than route53,
I created a CNAME in my DNS service such as
some-unique-name.ap-northeast-2.elb.amazonaws.com pointing to example.com
It works fine.
But then, I need to add TXT…

eugene
- 139
- 1
- 9
1
vote
1 answer
Istio : HTTPS Traffic converted to HTTP with port set as 443
Bug description
We have setup an istio over on eks cluster & a java app is hosted in it.
The pod has been created along with service with type ClusterIP
We have created Virtual Service, Gateway & set the istio ingress gateway as a NodePort.
In front…

sarathprasath
- 111
- 3
1
vote
0 answers
AWS Application Load Balancer with https upstreams not working
Anyone help with a problem i am having with trying to configure my AWS Application Load Balancer to use an HTTPS upstream on a IIS server.
Everything works fine when I set the target group to hit the IIS server on http/80 with no issues. Due to…

John Fox
- 310
- 4
- 15
1
vote
0 answers
Nginx proxy_pass failing when keeping EC2 behind aws ALB, 502 status error
I have 2 instances one for backend(URL: be.domain.com) and another for frontend(URL: fe.domain.com) pointed through Backend-TG and frontend-TG respectively. AWS application load balancer used to configure the rules based on the host header.
ALB…

pbms
- 141
- 5
1
vote
1 answer
application load balancer fails to upload large file
I have a bit of a problem.
I have a php larvel application that sits on a ec2 linux instance behind an application load balancer.
When I try to upload a large file the process fails with no error no where.
I have set the idle timeout to 2000 -…

matisa
- 131
- 1
- 6
1
vote
1 answer
robots.txt route requires a backslash when behind an Application Load Balancer
I have a rails site using an AWS ALB and all routes appear to work except one, robots.txt.
I am getting the error "ERR_TOO_MANY_REDIRECTS", link to example: https://www.mamapedia.com/robots.txt
After some research I found many places that said the…

6557457iD9e
- 53
- 7
1
vote
0 answers
Nginx epoll_wait() issue under load test with Load Balancer
I'm using JMeter CLI to load tests our micro services (Nginx+PHP-FPM+Laravel).
Micro services are all under an AWS Application Load Balancer which performs a health-check.
For that micro service, load test runs with an average of 50req/s. After few…

Kaymaz
- 241
- 3
- 11
1
vote
1 answer
Whether AWS ALB can route to different URLs within the same instance (not container based)?
I am planning to host 3 URLs on one Ec2 instance(linux and not container based) and do path based routing. Can you please help to find out whether ALB supports multiple URLs within the same instance.
Note: I understand its possible to route to…

Dave
- 181
- 8
1
vote
0 answers
Configuring WAF + ALB to Prevent SQL Injection
I'm trying to configure an Amazon ALB (Application Load Balancer, not "classic" ELB) to use Web Application Firewall (WAF) to reject https requests that contain potential XSS or SQL Injection payloads.
I configured in WAF an XSS rule
Body contains…

Eric J.
- 772
- 2
- 14
- 28
1
vote
1 answer
AWS Application Load Balancer: how many IPv4 vs IPv6 network interfaces?
Because AWS has started to charge for public IPv4 addresses, I'm looking into how many public IPv4 addresses my Application Load Balancers are using.
Right now, they are listening on IPv4 only, and it's obvious that the number of network interfaces…

legoscia
- 318
- 1
- 3
- 14
1
vote
0 answers
AWS Sticky session cookie not working
I'm using an application load balancer with the target group of two instances. In the target group, I have enabled application based cookie. However whenever I test the load balancer, it keeps switching to both instances. (I have put IP address on…

Jay.
- 11
- 2
1
vote
1 answer
Are there any benefits in using HTTPS between a load balancer and EC2 targets?
I've spent some time refactoring a load-balanced web application in AWS in order to make it end-to-end HTTPS, CloudFront->ALB->EC2. This was mostly just for fun, to see if I could do it. Having jumped through quite a lot of hoops to make it work,…

user1751825
- 365
- 6
- 13
1
vote
1 answer
AWS EC2 not showing a request for IP Issue
My AWS web servers are not showing a request for example '42.26.32.120'
after running some athena queries
We are unable to identify the cause of the issue, as the IPs is not in any of the access logs Therefore, I am trying to find out where the…

sam23
- 49
- 1
- 5