Questions tagged [aws-application-load-balancer]

1004 questions
5
votes
1 answer

How to route traffic to ECS Fargate instance without an Application Load Balancer

I have a Fargate instance running on port 3000. For this service "Service Discovery" is enabled, and corresponding hosted zone is created in Route 53. I have added name servers from this hosted zone in my domain registrar(GoDaddy) DNS setting. I…
5
votes
3 answers

Can I setup SSL on an AWS provided ALB subdomain without owning a domain?

I have following setup at AWS ECS: Container with Caddy web-server at 80 port that serves static files and performs proxying of /api/* requests to backend Container with backend at 8000 port EC2 instance at ECS ALB at subdomain …
5
votes
3 answers

HTTP2 PING frames over AWS ALB (gRPC keepalive ping)

I'm using AWS Application Load Balancer (ALB) to expose the ASP.NET Core gRPC services. The services are running in Fargate containers and expose unsecured HTTP ports. ALB terminates the outer TLS connection and forwards the unencrypted traffic to a…
5
votes
3 answers

AWS ALB - single for all services?

We have many internet services, what are the considerations whether to use alb per service or single alb for all using listener rule pointing to target group. The services has its own clusters/target group with different functionality and different…
5
votes
1 answer

Changing AWS ALB Listener's default rule via AWS CLI

As mentioned in the title, I'd like to change the default rule of a listener for an ALB using AWS CLI. In particular, I want to change which Target Group is used. The desired result should be switching the target ARN inside the action field. This is…
5
votes
0 answers

Scaling a websocket broadcast server

I have a node js websocket server that acts as broadcast server connecting N clients. It uses memory to keep a state. I wanna scale it. I did some research and it seems that ALB + ECS should work. My questions are: Is it possible for the ALB to…
5
votes
1 answer

How to pass cookies when calling authentication enabled aws application loadbalancer

I have done following configurations Created loadbalancer Created user pool created client with secret and enabled authorization code grant and openid scope Configured authentication in loadbalancer with above created resource details Created a…
Vinujan.S
  • 1,199
  • 14
  • 27
5
votes
1 answer

Redirect non www to www using ALB Ingress Controller

I am trying to redirect a non www request to www. I checked the annotations here https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/ but could not find specific to non www to www redirect. I already have a http to…
5
votes
1 answer

AWS LoadBalancer to Listen on multiple ports

I have a few applications running as Microservices in aws. Some of them are running on port 80 and some of them are running on port 3000. I want my ALB to listen to traffic on both ports. Then I have a ListenRules to direct the traffic to…
4
votes
1 answer

Configure ECS to scale to zero when not in use

I'm running Superset in AWS ECS using Fargate. This instance of Superset is for internal use only. I want to be able to configure ECS to scale to zero tasks when not in use. I am aware that it will take time (Possibly minutes) to come back up, the…
4
votes
1 answer

Error in exposing multiple ports with ALB Ingress on EKS

I have a Triton server on EKS listening on 3 ports, 8000 is for http requests, 8001 is for gRPC and 8002 is for prometheus metrics. So, I have created a Triton deployment on EKS which is exposed through NodePort service of EKS. I am also using ALB…
4
votes
0 answers

How does Rails Action Cable work behind a load balancer?

Context: A Rails app running action cable for websockets using Redis, on an EC2 instance, about to be upgraded to work on multiple instances behind an AWS Application Load Balancer. I've read a few blogs explaining people's setup, but there's a key…
4
votes
1 answer

ALB ingress controller path based routing

I have deployed ALB ingress controller with path based routing, after deploying application-ingress.yaml file defined paths were getting created in AWS console as we expected and also target groups also healthy. But its working only /*, remaining…
Gowmi
  • 559
  • 2
  • 22
4
votes
0 answers

Cloudfront with Application Load balancer

I have used AWS application load balancer for my domain and it is serving properly. However, I want to add caching layer for my website, but when I try to use Cloudfront for the same it gives me 502 error. I have followed aws blogs but unable to…
4
votes
2 answers

EKS Nodes not Registering in Target Group using ALB Ingress Controller

I have followed the below AWS document to create an ALB ingress controller; https://aws.amazon.com/premiumsupport/knowledge-center/eks-alb-ingress-controller-setup/ EKS: version: 1.19 All the services are created successfully, with no errors. But…