Questions tagged [aws-application-load-balancer]

1004 questions
0
votes
1 answer

How to tell community.aws.elb_application_lb to leave untouched the DefaultActions of specific listener

Ansible version: 2.9.16 I have several application load balancers in the AWS account and I'm trying to add a new rule to certain listeners from these load balancers. I'm using the community.aws.elb_application_lb_info plugin to gather information…
0
votes
1 answer

Is there a way to connect a Application Load balancer from my frontend cluster to a Classic Load balancer created by backend cluster in AWS

I have a public and private cluster. My frontend application is in public cluster and Backend in private cluster. Each cluster has 2 worker nodes each. Now, we want to route the traffic from FE to BE. For ex: /api/sme/apple should connect to an…
0
votes
1 answer

Rewrite destination path in Api Gateway websocket API private http integration with ALB

I have a private subnet with an ECS cluster where services, without public IP addresses, run behind an Application Load Balancer. The Application Load Balancer is also private. I have an API Gateway integrated through HTTP with that ALB (see this)…
0
votes
1 answer

How to enable ALB stickiness as per user IP

Can we enable stickiness on alb as per the source IP? What I am trying to do is, if a user hits the endpoint then he should stick with the same target group. I split the traffic 50/50 on the /dev endpoint in AWS ALB but I want to stick the user to…
Vikas Rathore
  • 8,242
  • 8
  • 35
  • 54
0
votes
1 answer

AWS call particular instance behind ASG and ALB

We have a usecase where we want to make an http call to a particular EC2 instance behind an ALB. I tried finding solution for this on AWS docs but was unable to find one. Can anyone suggest me how i can achieve this? Why i want to do this? So,…
0
votes
0 answers

DNS new Alias record is not propagating to an ALB

I have an ALB which holds my webserver. Initially, there was a DNS record with a different hosted zone(A) attached to the ALB 14 hours back I deleted the record in the hosted zone(A) and created a new record in the hosted zone(B). But every time I…
0
votes
0 answers

How can we prevent access to the backend service from internet, when the web application is accessed via ALB

Frontend is using the backend URL as OMR_SERVICE_URI=https://example.com/mat/api/v1. We are constructing a ALB on AWS to expose only the web endpoint. We specified Registered target as AWS EC2 instance in which the backend service is running. We…
klee
  • 1,554
  • 2
  • 19
  • 31
0
votes
1 answer

EC2 nginx config and SSL for ALB

I am trying to add an AWS ALB for my EC2 instances. I created Application Load Balancer for two EC2 instances as well as ALB with auto-scaling group but none of these works. The individual EC2 instance is running OK which I tested but the ALB…
0
votes
1 answer

Load Balancer Needed When AutoScalling and distinctInstance?

Problem: I’ve got a container that requires a lot of CPU resources to complete in a required amount of time, and more than is available from FARGATE. The process would run as a batch job retrieving files from an S3 bucket. I’ve noticed that when…
0
votes
3 answers

HAproxy vs ALB or any other load balancer which one to use?

We are looking to separate our blog platform to a separate ec2 server (In Nginx) for better performance and scalability. Scenario is: Web request (www.example.com) -> Load Balancer/Route -> Current EC2 Server Blog request (www.example.com/blog) ->…
0
votes
1 answer

How to configure AWS ALB for a chalice lambda project

I am trying to configure My existing python lambda function which is deployed using chalice. I tried configuring ALB with lambda but it seems ALB is unable to communicate Chalice deployed projects. It seems the Chalice structure that we use for API…
0
votes
1 answer

Gunicorn behind AWS ALB without nginx

We plan to deploy a flask-based Python server, using Gunicorn as the server. Gunicorn recommends using nginx as a reverse proxy, but we use AWS ALB (Application Load Balancer) so I was wondering if I can skip nginx. We don't need serving static…
noamtm
  • 12,435
  • 15
  • 71
  • 107
0
votes
1 answer

Xamrin app on iOS giving trust failure error on new TLS certificate - AWS ELB

I have a PHP app running behind AWS ALB. TLS tunnel terminates at the ALB and the traffic from ALB to the PHP servers (Apache) is over the self-signed cert TSL. Everything has been working great, no issue. Now our certificate is about to expire, so…
user618886
  • 325
  • 6
  • 16
0
votes
0 answers

AWS application load balancer

We're trying to implement an application load balancer with different applications seperated by rules within a listener but we cannot seem to get it working properly. We're using the following…
0
votes
1 answer

AWS ALB 504 Gateway timeout

I have a alb http://exam-01-alb-xxxxxxx.ap-northeast-1.elb.amazonaws.com/ this returns the website as expected. but when i try this http://exam-01-alb-xxxxxxxxxx.ap-northeast-1.elb.amazonaws.com/cgi-bin/exam-02.cgi its returns a 504 gateway time…
Jatin Mehrotra
  • 9,286
  • 4
  • 28
  • 67