Questions tagged [aws-application-load-balancer]
1004 questions
0
votes
1 answer
AWS Application Load Balancer sends request to unhealthy target groups / instances
In my AWS VPC I have an application load balancer and two target groups. Each target group has only 1 instances in different az with health check setup.
Now when one of my instance in a target group goes down AWS correctly marks its as unhealthy.…

botchedDevil
- 260
- 1
- 4
- 14
0
votes
1 answer
AWS Application Load Balancer - https not working properly
I have a web application developed with React JS, for server side rendering, I am using NodeJS. Following is the overall architecture -
Deployed React JS app on EC2 - Ubuntu 18.04 with Nginx
Obtained SSL from AWS ACM
Attached ALB to EC2 instance,…

Sachin Vairagi
- 4,894
- 4
- 35
- 61
0
votes
1 answer
Create AWS Elastic Beanstalk app with Application Load Balancer using aws-sdk
I just created AWS Elastic Beanstalk application using aws-sdk(nodejs). By default its created with the application load balancer. I searched all over and couldn't find any option to tell create the eb app with ALB. Please find below code that use…

Thiwanka Wickramage
- 782
- 1
- 10
- 22
0
votes
2 answers
AWS ALB - Secure Web Sockets + Spring Boot
Environment Setup:
I have a Spring Boot application behind an AWS ALB (Application Load Balancer). The ALB is configured to front HTTPs to the world with a Spring boot application as a target running on HTTP.
Connection Diagram:
HTTPS 443 -> ALB ->…

Johnny.Minty
- 143
- 1
- 10
0
votes
2 answers
AWS target group health check
I have an ALB and a target group pointing to my EC2 instance running apache2 on Centos 7. the healthcheck path by default is pointing to '/'
If i create a default website in virtualhosts, everything works as the Healthcheck's status is 'Healthy';…

Jamie GF
- 17
- 1
- 1
- 7
0
votes
1 answer
(ApplicationLoadBalancer): Workaround for loadBalancer.addListener() and listener.addTargets() for existing alb in ECS
We have an existing CDK project that has already created the Application load balancer, VPC, ...
I am putting in place a new CDK Global template to deploy our microservices in ECS and auto-register in an existing ALB.
That new project has two stacks…

zinaSiak1990
- 1
- 3
0
votes
1 answer
How to publish to one single file and change access log publication frequency in AWS
I have setup an amazon load balancer to publish access log to s3. The only problem now is that it creates multiple files, instead of one file that contains all access for maybe a day.
Poking around I found this documentation which states…

Finlay Weber
- 2,989
- 3
- 17
- 37
0
votes
1 answer
Registering Load Balancer Errors In Lambda Metrics
I currently have a solution running in AWS that uses the following workflow.
SQS => Lambda => ApplicationLoadBalancer => Target group => Fargate
This solution works great, but errors that are registered in the load balancer, hence coming from the…

Evan Lalo
- 1,209
- 1
- 14
- 34
0
votes
1 answer
AWS: Help Configuring End-to-End Encryption on Elastic Beanstalk
I'm trying to configure my server so that it terminates https connections at the EC2 instances. This is all on Elastic Beanstalk, and my environment is Node.js.
The connection from the client to the load-balancer is already https, but I am taking…
user14481041
0
votes
0 answers
How to scale AWS application load balancer for unexpected spikes in traffic?
So I just have a question in regards to load balancers which relates to one of our our systems. So we have a system which sits behind an ALB with a fleet of EC2 instances which deal with requests, these requests based on the type of request are…

codemonkey1010
- 69
- 2
- 8
0
votes
0 answers
is it possible to make an ALB forward a request to an unhealthy instance within a Target Group?
Here my problem:
I have a Target group containing two EC2 instances. One Instance is healthy, the other is not. ( my health check configurations are especially designed to make one healthy and the other not).
An application Load Balancer will be…

Nidorino94
- 113
- 2
- 10
0
votes
1 answer
Using AWS API Gateway To Pass Requests Through An Application Load Balancer To A Web Application
I want to use API Gateway for its mutual TLS capability and add it to an existing .net fx 4.8 web application hosted in IIS which is fronted by and AWS ALB:-
client browser -> apigw -> alb -> ec2
I have configured the apigw method to return html and…

danrockcoll
- 173
- 2
- 10
0
votes
1 answer
Why HSTS header is required if http to https redirect is already present?
We have a webserver running behind AWS ALB and a AWS CloudFront in-front on ALB.
We have setup force http->https redirection in both CDN and ALB.
Do we still need to configure HSTS header ?
What are the disadvantages if we don't setup HSTS, when…

Praveen
- 3
- 3
0
votes
1 answer
Limit number of users accessing the URL
Is there any way to limit the number of users accessing the site url using AWS. WAF checks for IP address and blocks it if it exceeds rate limit.
I need it to be from any IP and if altogether crossing the rate limit, it should redirect to custom…

Developer404
- 5,716
- 16
- 64
- 102
0
votes
0 answers
AWS-ALB not forwarding traffic to newly added backend pods on EKS
I have 2 separate deployments on EKS. The first one takes messages from the redis queue, does some processing and calls the second service running behind an internal Amazon ALB.
Problem : While scaling the application, both services are scaled…

sap
- 234
- 5
- 16