Questions tagged [aws-application-load-balancer]
1004 questions
0
votes
1 answer
Argument or block definition required Terraform - Error
I have autoscaling group and I need to create an application load balancer for accessing the application this is my two code for autoscaling and application load balancer but I get this issue
autoscaling group
resource "aws_launch_configuration"…

Zheer Ardalan
- 85
- 1
- 7
0
votes
2 answers
How to map multiple services to a single ingress using AWS ALB as Ingress Controller?
I have a single ingress (example, www.a.com). I have mapped the root to a service, like so:
- backend:
serviceName: ui-svc
servicePort: 80
path: /
This routes to the correct service when go to www.a.com. I want to mount another service…

Sheen
- 586
- 10
- 22
0
votes
1 answer
Missing or Permissive Content-Security-Policy frame-ancestors HTTP Response Header
I have a couple of web instances under a ALB, did a penetration test recently. One of the vulnerabilities was "Missing or Permissive Content-Security-Policy frame-ancestors HTTP Response Header".
Remediation suggested:
I recommend setting a…

Harish NR
- 1
- 1
0
votes
2 answers
Node Express server unable to set cookie in AWS ELB environment
I have a middle wear in my Express app that sets a cookie in the clients browser:
res.cookie('token', '123');
Everything works perfect on a local environment with the front end calling local the server:
axios
…

emarel
- 371
- 7
- 30
0
votes
1 answer
Can we set AWS ALB priorities through AWS Console?
I wasn't able to find a way to set the rule priorities for ALB through AWS Console. Can we set AWS ALB priorities through AWS Console ?

Shaggy
- 484
- 1
- 6
- 16
0
votes
1 answer
Make Jenkins Listen at host/jenkins
Can we have Jenkins server to be listened at example.com/jenkins?
If I can achieve this, I can do path based routing in ALB & do some cost savings.
Let me know if we can achieve this.

Arvin
- 315
- 1
- 3
- 15
0
votes
1 answer
Translating an AWS Cloudformation resource into an EKS ingress configuration?
I hope this makes sense.
We currently deploy our microservices in ECS via CloudFormation script, using a parameterized CloudFrormation template that we fill out per microservice. We use a single ALB configured with multiple /path rules, where each…

Chris F
- 14,337
- 30
- 94
- 192
0
votes
1 answer
AWS ALB target group path based routing not working when I change the path
EDIT
I have discovered that adding a route to the node app under /cms seems to resolve the issue, however, how can I point to / as the default. This seems like annoying behaviour
END EDIT
I have an ECS Cluster with one task running, this is picked…

Lewis Smith
- 1,271
- 1
- 14
- 39
0
votes
2 answers
Check if my AWS Application load Balancer is forwarding the requests to the correct target groups?
Is there a way that would allow me to check if my ALB is respecting the target rules ?
Input:
ALB
URL1 -> (should be forwarded to ) TG1
URL2 -> ("""""""""""""""""""""" ) TG2
Output:
ALB works correctly or not.
Thank you in advance.

Nidorino94
- 113
- 2
- 10
0
votes
2 answers
Application Load Balancer Authoriation Header not passed through
I currently have an API on API Gateway (REST) that has a single proxy endpoint hooked up to an HTTP proxy integration. I have a cognito authorizer that authorizes incoming JWTs issued by Cognito and then if valid it forwards the request along to our…

Jesse R
- 194
- 3
- 14
0
votes
1 answer
Daily assign all Application Load Balancers to WAF
In my development environment, we constantly create and destroy applications for testing. I would like all Application Load Balancers (ALB) to be placed behind our single AWS Web Application Firewall (WAF) daily through a Lambda script. I want a…

Achiral
- 47
- 7
0
votes
1 answer
Handling load balancer
I have a website which has main domain and sub domain (I have different subdomain for different countries) eg: mysite.com ( is the main domain ), country-a.mysite.com ( for country A ), country-b.mysite.com ( for country B) NOTE: each country has…

user2609021
- 681
- 2
- 11
- 30
0
votes
1 answer
AWS Terraform Error registering targets with target group
Getting the error while attaching aws_alb_target_group_attachment. InvalidTarget: The following targets are not in a running state and cannot be registered
resource "aws_alb" "rancher-ctl-host-alb" {
name = "rancher-ctl-host-alb"
internal =…

Kamlendra Sharma
- 687
- 2
- 10
- 37
0
votes
2 answers
ElasticBeanstalk Create Default Listener Rule with HTTPS:443 instead of HTTP:80 in Shared ALB with Terraform
Is it possible to set the default listener rule to use HTTPS:443 listener instead of the HTTP:80 listener when creating an ElasticBeanstalk environment with shared load balancing in terraform?
My ALB has port 80 as a listener to redirect traffic…

MillerC
- 663
- 1
- 11
- 26
0
votes
4 answers
AWS redirect in Load Balancer to work with POST and PUT
I want to do something similar to this: Create AWS Application Load Balancer Rule which trim off request's prefix without using additional reverse proxy like nginx, httpd
Using AWS Load balancer, to redirect traffic from URL say /foo to /bar like…

shinzou
- 5,850
- 10
- 60
- 124