Questions tagged [aws-application-load-balancer]

1004 questions
3
votes
1 answer

How to make ALB slow_start work during ECS update service

For my high-traffic containerized app running in ECS Fargate, slow ramp-up is required for new containers, to avoid out of memory situation immediately after startup. This is especially important during the update service operation when all the…
3
votes
1 answer

The ALB listeners are not auto removed when I delete the corresponding ingress from EKS

I have deployed an AWS ALB Controller and I create listeners with ingress resources in a EKS cluster. The steps I followed are the following: I had an ingress for a service named first-test-api and all where fine I deploy a new Helm release [first]…
3
votes
0 answers

error Command failed with signal "SIGKILL" on fargate

I have a fargate cluster running a node.js API, running on fargate 1.4.0 I have maybe 8-25 instances running depending on the load. Instances are defined with these parameters using aws CDK: cpu: 512, assignPublicIp: true, memoryLimitMiB:…
3
votes
1 answer

How can I make ALB forward traffic to API Gateway?

I'm struggling to find a solution that make ALB forward traffic to API Gateway (Ideally private). Below is the flow: Domain => ALB => API Gateway. How can we make ALB forward traffic to private API Gateway?
3
votes
1 answer

Adding an ApplicationListenerRule to an existing ApplicationListener gives error 'A listener already exists on this port for this load balancer'

I want to add a rule to an existing load balancer listener which is listening on PORT:80. I'm also creating a new target group to attach to the listener rule action. in CDK i used fromLookup and grabbed the listener from ARN const appListener =…
3
votes
1 answer

AWS ALB with GRPC

I'm trying to run a netty server with GRPC API on AWS ECS (on Fargate) behind an application load balancer for an Android GRPC client to connect to. Calls are forwarded but the server logs show an error…
3
votes
0 answers

EKS subdomain for each namespac?

I have the following setup. Where I manually add new DNS records when adding new services. Route53 ------> AWS ALB -----> Ingress-Nginx in EKS ---> Ingress-Rules -------> Service (app|api).ex.de | A record target | Target group of listener…
user18275887
3
votes
0 answers

AWS Support for Integration with OpenID Connect (OIDC) Azure AD Multi-tenant Apps in AWS ALB or Cognito

AWS ALB supports integration with an Open ID Connect (OIDC) providers such as Azure AD (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html#oidc-requirements ). Same for AWS Cognito…
3
votes
1 answer

Is there a way to set up priorities for target groups, not weights?

There is an ability to forward requests to multiple weighted target groups. Is there a way to set up priorities for target groups, not weights? What I'm trying to achieve is: I wanna have a rule which would have 2 tgs, one with scaled down ecs…
3
votes
1 answer

nginx Ingress and cloud provider load balancer like (ALB) really a load balancer in Kubernetes world?

nginx Ingress is mainly used for path based routing and sub domain based routing to route the request to particular pod and Cloud provider load balancer will provide external ip address to get the requests from external world and which in turn…
3
votes
1 answer

PHP application behind application load balancer failing health check

I am trying to deploy a PHP through AWS CodeDeploy and am currently stuck on the AllowTraffic step in CodeDeploy. The application is on an EC2 instance behind an ALB. In the ALB, I am getting failing health checks. I have the PHP application code…
3
votes
1 answer

How does NLB -> ALB actually work ? ALB allows only HTTP, HTTPS, WebSockets and NLB supports only TCP, TLS, UDP

If we need static IP address in AWS for Load balancer then we have to go for Network Loadbalancer forwarding requests to Application Loadbalancer. Now since ALB only supports HTTP and HTTPS protocols And NLB only supports TCP protocol How does this…
3
votes
1 answer

gRPC in AWS Elastic Beanstalk load balancer / network setup

I have been at this for a couple of days and just cant figure it out. I have tried this with gRPC in node.js and java on Elastic Beanstalk. On a normal VPS its quite simple just create a proxy grpcpass and it's set. I would like to move my micro…
3
votes
1 answer

AWS Application Load Balancer (ALB): How many http2 persistent-connections can it keep alive at the same time?

Essentially what the subject says. I'm new to this sport and need some high-level pieces of information to figure out the behaviour of ALB towards http2 persistent connections. I know that ALB supports http2 persistent…
3
votes
1 answer

Trouble when adding https listener to AWS Application Load Balancer

I am currently trying to setup https for my backend program (Spring Boot). My first step was to deploy my Backend program using AWS Fargate which gives a public IP in http. Then I setted up an AWS Application Load Balancer for the AWS Fargate using…