Questions tagged [aws-alb]

93 questions
1
vote
1 answer

500 error trying to authenticate via AWS Application load balancer and Cognito

I am trying to setup Authentication for some certain routes using AWS internet-facing Application load balancer. I've done all the steps from the official AWS documentation, and also using this…
1
vote
1 answer

Terraform: Public and Private Application Load Balancer Using Module With Interpolation

I have a use case where I wanted to create 2 application load balancer, one will be public another will be private using terraform modules. I know that we can create 2 directories with the same sort of code for private and public the parameters…
mohit
  • 2,325
  • 23
  • 48
1
vote
0 answers

ECS with ALB and SSL certificate issue: net::ERR_CERT_COMMON_NAME_INVALID

I have an aws ECS setup and using ALB for the load balancer. The container task is running on port 8080. I have also added an HTTPS listener with SSL Certificate from ACM, which forwards the requests to the container. Now I have one issue here. When…
shwz
  • 426
  • 1
  • 6
  • 22
1
vote
1 answer

AWS Application Load Balancer WebSocket metadata based stickiness?

We have a cluster of some service. The clients connect to the cluster via Websocket. The clients are targeted to nodes based on the group they belong to (lets call it a "conference"). In other words, a whole group of clients (conference) is served…
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
0
votes
0 answers

How to implement HTTP Strict Transport Security (HSTS) on AWS Application Load Balancer?

how to enable HSTS in ALB, spent several hours searching for information, but in vain. I did not find what interested me. Does such a possibility exist at all?
0
votes
1 answer

ALB listener 443 to rule with 8443 Port issue

I have updated my question again. Below things i have done with AWS ALB. Created Target group which is IP based to registered one instance with Port 80. I have created ALB listener with 443 IF Host header is zzzzz.example.com Then Forward to…
Latchu
  • 61
  • 9
0
votes
1 answer

Adding delay to aws alarm on ec2 startup

I have an alarm on application load balancer. It is of type Unhealthy host count In one of the parameters I've chosen "Treat missing data as missing" because I have a daily schedule to stop the EC2 present under target group under ALB at night and…
Kohini
  • 427
  • 2
  • 6
  • 14
0
votes
1 answer

ALB ingress mixed private and internet facing paths

I have a set of containerized microservices behind an ALB serving as endpoints for my API. The ALB ingress is internet-facing and I have set up my path routing accordingly. Suddenly the need appeared for some additional (new) containerized…
0
votes
1 answer

Manual ALB Creation for AWS EKS Fargate

How can we create application load balancer in aws eks fargate manually instead of using alb ingress controller? I was able to create and associate the Application Load balancer with fargate pods. However, is there a way to automatically register…
AT07
  • 43
  • 1
  • 6
0
votes
1 answer

AWS ALB Ingress Controller and ingress resource for python app

I have created python app following this link https://kubernetes.io/blog/2019/07/23/get-started-with-kubernetes-using-python/. I want to configure AWS ALB Ingress Controller/nginx controller and ingress resource but I am unable to understand the…
user13870897
0
votes
1 answer

ALB access logs request initiator domain

is there any way to retrieve the user client domain from the ALB access logs? from AWS documantation there is a 'domain_name' attribute but it is indicates the requested server domain rather than the client domain. i know that in nginx there is a…
Dev93
  • 93
  • 2
  • 13
0
votes
1 answer

AWS ELB - Target group Healthy but not accessible

I have two different accounts: One in Europe eu-central-1: Have the Route53 DNS entries from domain Another in China cn-north-1: Have the ALB resource and the EC2 resource. In China, my service is a concourse pipeline. The service is up and running…
0
votes
1 answer

few domains in private subnet behind single alb with ssl

i want to have few domains for ec2 instances with ssl behind alb, 2 of them in private zone,. i have pretty simple config but have no idea how to resolve this What i have: 1 ec2 instance for Frontend app with nginx frontend.example.com 1 ec2…
linlav
  • 97
  • 2
  • 6
0
votes
1 answer

Connecting AWS EC2 DB securely via ALB

My pain point . I have an Ec2 with Postgres installed(which is in private subnet), everything is working fine. All member can connect to DB only when they are in the DEV cluster (I mean same CIDR, security group is designed to get traffic only from…
0
votes
1 answer

How can my EKS web application retrieve the current user authenticated by AWS ALB through OKTA OIDC

I'm working with a web application deployed on Amazon Elastic Kubernetes Service (EKS). The user authentication is done through Okta. That all works fine but if I'm logged in, I want the web application to show my name, that is, the name of the…
Nagev
  • 10,835
  • 4
  • 58
  • 69