Questions tagged [aws-alb]

93 questions
1
vote
0 answers

AWS Cloudfront cache MISS with AWSALB cookie

I have a wordpress website with a setup on EC2, ALB, Cloudfront and varnish. On chrome dev toolbar, I got a problem that cloudfront cache always MISS for document/html type but HIT for the static files like js, css, png, etc. I found on the response…
Advcha
  • 43
  • 2
  • 8
1
vote
1 answer

ALB health check issue

I have ALB and has one of target group (type IP) where i have spring boot application.Health check for this target is failing with HTTP 502 We are using tomcat image for spring boot application. Health check configure are Protocol : HTTP Path :…
AWS_Lernar
  • 627
  • 2
  • 9
  • 26
1
vote
0 answers

ECS fargate healtcheck issue

I am using ECS Fargate model.I have two task defination and in each defination i have one service running (have place 1 container in each TD) Then i have two ECS services which run these two task definations. Network mode used is fargate. I have…
AWS_Lernar
  • 627
  • 2
  • 9
  • 26
1
vote
1 answer

Why am I getting 502 errors on my ALB end points, targeted at EKS hosted services

I am building a service in EKS that has two deployments, two services (NodePort) , and a single ingress. I am using the aws-alb-ingress-controller. When I run kubectl port-forward POD 8080:80 It does show me my working pods. When I look at the…
Josh Beauregard
  • 2,498
  • 2
  • 20
  • 37
1
vote
1 answer

Got TLS cert, ,Route53, ALB, and EC2 all ready but browser is blocking part of my website for mixed-content

So we have this project due tonight. We have sat up all necessary AWS services using Terraform except for the TLS cert part. we have EC2, Route53, ALB, VPC. everything is working good but once we try to access our website, the browser blocks part.…
1
vote
3 answers

Allow request from API Gateway to private ALB

I have a public API gateway set up, I want to forward the requests from API Gateway to a private ALB in the VPC. On AWS Console, for API Gateway VPC link setup I could only select an NLB in the VPC. Is there a reason why we can only route to NLB…
1
vote
1 answer

AWS Application Load Balancer - escape path pattern character

I have deployed an AWS ALB Ingress Controller in EKS and k8s created an AWS ALB and created some rules to forward traffic: As documentation says: https://docs.aws.amazon.com//elasticloadbalancing/latest/application/load-balancer-listeners.html…
1
vote
1 answer

AWS Application Load Balancer fails to process request body for content encoding gzip and content type application/json

I am trying to send a gzipped json as POST request body to AWS Application Load Balancer, which calls AWS Lambda. When I set the content type request header as application/json, I get 502 Bad Gateway error as response and AWS Lambda does not get…
dnsh
  • 3,516
  • 2
  • 22
  • 47
1
vote
1 answer

Why does an AWS ALB configured for a AspNetCore Lambda function give a 502 after when redirected?

I have project setup based on the AspNetCoreWebApp template from aws-lambda-dotnet. The lambda entry point is setup the same as the template. I can see an unsecured page fine, but when attempting to go to a secured page, I get a 502 Status Code…
Daniel Leach
  • 5,517
  • 4
  • 18
  • 32
1
vote
0 answers

Analyse AWS ALB (ELBv2) access logs with Athena

I'm using AWS' Application Load Balancer and writing access logs to S3. Wanting to access/query this access logs, I stumbled across https://aws.amazon.com/premiumsupport/knowledge-center/analyze-logs-athena/ and this SO post View AWS ALB access…
Thomas
  • 1,119
  • 9
  • 24
1
vote
0 answers

AWS CLI ALB create target group error with lambda as a target

looking for some help on why this is failing aws elbv2 create-target-group --name $targetName --target-type lambda returns aws: error: the following arguments are required: --protocol, --port, --vpc-id if i supply protocol, port & vpc-id aws elbv2…
n3wc
  • 146
  • 3
1
vote
1 answer

Unable to register targets on AWS Target group

I am trying to setup an automated DNS deployment using powershell. I have written a powershell script that creates TargetGroup, registers instances to the TG, creates an ALB and adds a listener to it. Once, that is done, it creates R53 RecordSet…
Amitabh Ghosh
  • 212
  • 2
  • 15
1
vote
0 answers

AWS ALB logout sessions failing

I have recently encountered a scenario where my session is restored even after clicking logout link(domain/logout) in my site(from frontend) which is pointed to an ALB in aws having cookies(AWSALB, JSESSION etc).Basically the session is restored…
1
vote
1 answer

Can we add multiple A record for same ALB?

I have one running application load balancer which redirect traffic to my two instances. Let assume xyz.com redirect traffic to my instances 1 and 2. My A record xyz.com---alburl working file. Now I have two more instance 3 and 4 and one more…
k''
  • 702
  • 1
  • 8
  • 19
1
vote
1 answer

AWS API Gateway MTLS client

Does anyone know if the following feature request is now available on AWS or possible work around? AWS API Gateway MTLS client auth