Questions tagged [aws-application-load-balancer]
1004 questions
0
votes
1 answer
Route to two different application on same domain
I have about 2000 pages served dynamically on my website.
The structure of the URL is like example.com/content-x or example.com/content-y i.e. URLs without distinct patterns.
I have got two sites built on two different servers and languages. Each of…

Webghost
- 933
- 2
- 7
- 18
0
votes
2 answers
ECS Health Check Issue with Spring Boot Management Port
Set up-1:(Not Working)
I have a task running in the ECS cluster. But it's going down because of a health check immediately after it started.
My service is spring boot based which has both traffic(for service calls) and management ports(for health…

Sravan
- 1
- 1
- 3
0
votes
1 answer
ECS Fargate - Request Forwarding to Tasks
Can we setup any rule in which we forward our incoming request to specific task on which more memory and space available compare to another task.
For example: I have one service and there are 2 task attached to it. Request are coming to service and…

Asad Rao
- 3,190
- 1
- 22
- 26
0
votes
1 answer
UserData not installing Apache is Instance Security Group Routes Outbound Traffic through ALB
I have following UserData Script in my Launch Template:
#!/bin/bash
yum update -y
yum install -y httpd.x86_64
systemctl start httpd.service
systemctl enable httpd.service
echo "This is test html file" > /var/www/html/index.html
Security Group…

Avinash
- 1
- 1
0
votes
1 answer
AWS - ELB - Routing http/https traffic to a custom port of EC2 instance
I've an application up and running on and EC2 instance at port 5000. I've been trying to add either application load balancer or classic load balancer to route my traffic to this application.
Until at this point, the application is available over…

Nadeem Yasin
- 4,493
- 3
- 32
- 41
0
votes
0 answers
Target group always unhealthy on port 8087 - running spring boot app through application load balancer
I am new to AWS. I have an Application load balancer which listens on http:80 and https:443. To this I have attached a target group at port 8087. I have an EC2 instance running a spring boot app on port 8087. This is ec2 is added as target to d…

adi
- 25
- 4
0
votes
1 answer
WSO2 ISKM - ALB Sticky Sessions not workgin
We recently deployed an IS-KM cluster working with AM cluster. We allocate it on AWS instances, and we installed and configured it, following the documetation available on WSO2 official site.
The issue that we are experiencing now, is related with…

Ignacio Silvera
- 45
- 6
0
votes
1 answer
How to ensure that the ASG ( Auto scaling Group) replaces existing instances with every change in the Launch configuration
The infrastructure is provisioned using terraform code.
In our AWS environment, we have a new AMI created for every commit made to the repository. Now, if we want to have autoscaling configured for the web servers behind an ALB using this new…

Dimpy Chugh
- 23
- 5
0
votes
0 answers
Is there a away to expire httpOnly cookie using Angular/Angular Universal
I have a very basic requirement to expire httpOnly cookie. Currently I am using Angular and I know it is not possible to access httpOnly cookies from client side code. So I was researching and I found Angular Universal which renders on server side.…

Shubham Melvin Felix
- 23
- 6
0
votes
1 answer
Unable to create autoscalling group for application load balancer using aws cloud formation
AWS CFN build is failing with status "Value of property TargetGroupARNs must be of type List of String" for the following autoscalling group:
InfyASG:
Type: AWS::AutoScaling::AutoScalingGroup
UpdatePolicy:
AutoScalingRollingUpdate:
…
0
votes
0 answers
AWS Elastic Beanstalk doesn't reduce load balancer to zero instances
I have a test and prod environment, both built using elastic beanstalk. I would like to reduce the test application load balancer instance size to 0, ie switch it off at a certain time.
I have setup a schedule in AWS to do this (see…

MarkyMark1000
- 417
- 4
- 19
0
votes
1 answer
LoadBalancer and Autoscaling group : What happen when an AZ is not available?
I have an Autoscaling Group behind an Application Load Balancer. Both of them are configured to use 2 subnets for 2 different AZ.
The Autoscaling Group is set to provision only 1 instance (min:1, max: 1, desired: 1)
Now in case of AZ failure the…

user1297406
- 1,241
- 1
- 18
- 36
0
votes
1 answer
Does the AWS App Load-Balancer's Listener address a Target or a Target Group?
In Amazon's description of its Application Load Balancer, they include the following diagram (which I have seen replicated in other materials on the topic):
But they describe that Listener is configured to communicate with Target Groups, not the…

bill.lee
- 2,207
- 1
- 20
- 26
0
votes
1 answer
Load Balancer initial request capacity
I'm using an AWS ALB LoadBalancer, and I was curious about the initial request capacity that can be handled by the ALB without scaling?
The reason behind this is that I need to pre-warm up my load balancer or not

user782400
- 1,617
- 7
- 30
- 51
0
votes
1 answer
Creating AWS_ALB From Terraform
I am trying to create a simple AWS_ALB via terraform, I have created a separate VPC with public and private subnets but the ALB creating is giving me invalidSubnet error
resource "aws_alb" "test" {
name = "test-alb-tf"
internal …

sjm
- 415
- 1
- 9
- 23