Questions tagged [aws-application-load-balancer]
1004 questions
35
votes
8 answers
Amazon API Gateway in front of ELB and ECS Cluster
I'm trying to put an Amazon API Gateway in front of an Application Load Balancer, which balances traffic to my ECS Cluster, where all my microservices are deployed. The motivation to use the API Gateway is to use a custom authorizer through a lambda…

Ricardo García Martín
- 351
- 1
- 3
- 5
31
votes
2 answers
How can I create a Route 53 Record to an ALB? (AWS)
I want to create a new alb and a route53 record that points to it.
I see I have the DNS name: ${aws_lb.MYALB.dns_name}
Is it possible to create a cname to the public DNS name with aws_route53_record resource?

red888
- 27,709
- 55
- 204
- 392
29
votes
6 answers
EKS ALB is not to able to auto-discover subnets
Background:
I have a VPC with 3 public subnets(the subnets have access to an internet gateway)
I have an EKS Cluster in this VPC, the EKS cluster is created from the console and not using eksctl
I used this tutorial from the official aws…

Sabir Moglad
- 739
- 2
- 7
- 23
20
votes
3 answers
How to rewrite target url within an AWS ALB Ingress Controller?
In a classic Kubernetes Nginx ingress I know that it is possible to rewrite target url based on a specific regex by appling this annotation nginx.ingress.kubernetes.io/rewrite-target: /$1
But this annotation does not work in AWS ALB ingress. Does…

Martin Tovmassian
- 1,010
- 1
- 10
- 19
18
votes
2 answers
Does Nginx becomes redundant if we have AWS Application Load balancer for a Node application?
I have a Node application running on AWS. When moving into production, there is a very high chance that it will get a very high number of requests. I'm planning to host it using AWS ECS and there will be an AWS Application load balancer in front of…

Neron Joseph
- 1,675
- 22
- 39
17
votes
1 answer
Is it better to locate CloudFront in front of ALB regardless of content type a user access?
I want to build a web/application server in AWS and I want to use CloudFront to deliver content with low latency and Application Load Balancer (ALB) to balance traffic between servers. If there are some contents needed to be cached, using CloudFront…

SangminKim
- 8,358
- 14
- 69
- 125
15
votes
2 answers
Amazon ALB - Redirect changes http method to GET
I have an AWS ALB configured in such a way that it should REDIRECT (302) requests to https://example.com/api/v1/* to another region.
However, it turns out, that the REDIRECT functionality of hte AWS ALB is changing all http: methods (POST, PUT,…

ErikM
- 591
- 1
- 4
- 13
14
votes
1 answer
How to integrate API Gateway with internal ALB
According to https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-private.html it is possible to integrate API Gateway with an internal Application Load Balancer using a private VPC link.
However I cannot make…

diegosasw
- 13,734
- 16
- 95
- 159
14
votes
4 answers
Getting 403 Access Denied Errors When Hosting a React Router App in AWS S3 and CloudFront
When I deployed a React Router app to AWS S3 and CloudFront and when I try to access React routes directly it gives the following error with 403 error code. I can access both the base URL(www.sample-app.com) and route URLs(www.sample-app.com/cart)…

Chamin Wickramarathna
- 1,672
- 2
- 20
- 34
13
votes
3 answers
In an AWS application load balancer, is there a way to change the path during routing?
E.g. I have two backend services, A and B, and I want to forward everything with path
/A* to A and /B* to B - but I want to strip out the /A/ and /B/ before it hits them. So for example /A/api reaches A as /api. Is this possible?
Edit: I…

Andrew
- 6,295
- 11
- 56
- 95
13
votes
4 answers
What is the benefit of adding AWS Cloudfront on top of AWS Application LB?
I have attended an AWS training, and they explained to us that a good practice is to have cache all dynamic content via Cloudfront, setting TTL to 0, even if you have an LB in front on the Load Balancer. So it could be like:
Route 53 -> CloudFront…

MTG
- 551
- 3
- 14
10
votes
3 answers
How to set AWS ALB instead of ELB in Istio?
I am trying to setup ALB load balancer instead of default ELB loadbalancer in Kubernetes AWS.The loadbalancer has to be connected to the istio ingressgateway.I looked for solutions and only found one.
But the istio version mentioned is V1 and there…

sachin
- 1,220
- 1
- 14
- 24
10
votes
1 answer
Building a secure HTTPS web server with Fargate + ACM + ALB
I am trying for the simplest deploy to get an HTTPS web server up and running in Fargate.
I have used Amazon Certificate Manager to create a public certificate.
I have an Application Load Balancer that is talking to the Fargate container on two…

TheBottleSeller
- 205
- 1
- 5
- 12
9
votes
2 answers
Application load balancer vs network load balancer
I am new to AWS. I can't get a clear idea behind ALB vs NLB. Could anyone explain in a simple way?

Vinee-the-Pooh
- 835
- 3
- 10
- 27
9
votes
5 answers
How do I configure AWS application load balancers to go beyond the 25 SSL certificate limit
AWS Application load balancers have a 25 SSL certificate installation limit.
I want to configure my elastic beanstalk environment, possibly with multiple load balancers so that I can go beyond this limit and install more certificates, 25 per load…

Bahadir Balban
- 117
- 1
- 4