Questions tagged [aws-application-load-balancer]
1004 questions
0
votes
1 answer
How to use a Cognito supplied `access_token` on an ALB HTTPS endpoint?
I want my script to make an HTTPS request on an AWS ALB which uses Cognito.
The Cognito user pool has an App Client that uses Client Credential OAuth Flow.
I have set up a proof-of-concept which appears to allow me to do the following:
curl -X POST…

Rob O'Doherty
- 549
- 3
- 14
0
votes
0 answers
How can i Delete AWS cookie when i close the browser?
So AWS ALB has session cookie named as AWSELBAuthSessionCookie-0. i want to delete these cookies when i close my browser window.
Reason being when i close my window and re-open it again for login.
I want ALB to route me to login form (prompt for…

VIJ
- 1,516
- 1
- 18
- 34
0
votes
0 answers
How to provision multiple ALBs in one terraform deployment?
We want to increase number of EMR clusters as per requirements, and integrate those clusters with AWS-ALBs (Application Load Balancers)
We are thinking of provisioning multiple AWS-ALBs during a Terraform deployment, and then integrate those EMR…

Nikhil Chauhan
- 1
- 1
0
votes
1 answer
How do you set up HTTPS (SSL) on a Flask application running in an EC2 instance with AWS ALB (Application Load Balancing)
So I have a flask web application. I need to have this be HTTPS only. So I'm pretty lost here:
Application Load Balancer -> Target Group -> EC2 Instance (:443) -> ??? -> Flask
So originally I had the following in my http stack:
nginx -> gunicorn…

MS-87
- 173
- 1
- 10
0
votes
1 answer
Ruby AWS Lambda - 502 Bad Gateway from Application Load Balancer when returning binary content
I have an AWS lambda (written in Ruby) that is functioning as a web server. I access the lambda through an application load balancer. The following code works well for html, javascript, and css files.
{
statusCode: 200,
headers: {
…

terrywb
- 3,740
- 3
- 25
- 50
0
votes
1 answer
AWS ALB Http to Https redirection - How to convert redirected insecure connection to a secure connection?
ALB is attached with 2 listeners, https and http being redirected to https(port 443) with same host, path, query as per below. And a route 53 alias record forwards the sales.company.com to this ALB.
LBListener:
Type:…

user10916892
- 825
- 12
- 33
0
votes
0 answers
Idle timeout on TCP connection - Network load balancer
We were undecided if to use the NLB or ALB, but ended up choosing the network load balancer because of it’s scalability and speed.
We are now facing an issue, when we have two target machines A and B, and i.e. A’s web server stops working, I can see…

vaskitup
- 1
- 4
0
votes
1 answer
how to make a lambda function work behind ALB as a target?
I have a lambda function (python 3.7) behind an ALB. This function accepts 2 parms (length abd bredth) to calculate the area of a rectangle. In a normal scenario, lamda will get these values from event( event['length'], event['bredth']) and we can…

Suvro Choudhury
- 115
- 1
- 5
- 18
0
votes
1 answer
AWS EKS aws-load-balancer-controller
i am trying to install my ca certificates with in ingress controller. I am following this guide. https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html
I could run cert-manager in Node group while running other pods in…

Surya Teja
- 3
- 3
0
votes
1 answer
Wrong port in target group when using dynamic port mapping
I'm trying to set up ECS with dynamic port mapping, Application Load Balancer and Auto Scaling Group. It was all working fine, until I changed hostPort in the task definition to 0.
Now in the target groups, targets are being registered with the…

Flyce
- 1
- 1
0
votes
0 answers
How to allocate Elastic IP to ALB in AWS?
I am new to AWS and web development in general. I have React JS and Spring Boot website and am trying to attach Elastic IPs to my application load balancers using terraform. I am unable to figure out as how to get an elastic IP and then attach it to…

Yogeshwar Chaturvedi
- 651
- 1
- 4
- 9
0
votes
1 answer
How to setup a subdomain in Route 53 when the DNS is hoted in Bluehost
I am confused on the process of how to point a subdomain of an EC2 instance which is being run behind an ALB. The Target Group has port 80 which will then Redirect traffic to 443 and then a second Target Group which has the SSL certificate for 443.…

Roma
- 535
- 6
- 18
0
votes
0 answers
Route 53 isn't letting me access to the ec2 instance through the application load balancer
I built a rails app in ec2 instance and deployed using route 53.
Currently I succeeded in associating the instance with the domain provided by amazon.
I can access to the page with the domain name.
However, once I create a record and associate the…

Yoshihisa Okada
- 33
- 4
0
votes
0 answers
Do I still need to configure TLS/SSL for all NGINX ingress beneath an AWS ALB
I have a set of nginx ingresses exposed via an nginx NodePort service to a singular AWS ALB ingress controller. The request comes in via ALB and ALB sends it to the NGINX service that reaches out to the appropriate backend service according to the…

Remade
- 388
- 5
- 13
0
votes
1 answer
ec2 instance timeout only when ecs cluster tasks are using bridge network interface
I had an ecs cluster running with ec2: I had a service running a nginx task and i had an ec2 autoscaling group, with an ALB in front of then. The task network interface was awsvcp. it worked fine but, as i need to allow dynamic port mapping (for…

victor israe
- 415
- 3
- 14