Amazon Web Services Elastic Load Balancer (aws-elb) is a service offered by aws to automatically distribute incoming network traffic across multiple targets (EC2 instances or specific ports).
Questions tagged [aws-elb]
190 questions
0
votes
2 answers
AWS Fargate - Application load balancer(ELB) shows unhealthy targets with error "Health checks failed with these codes: [502]"
My app is running on port 3000 and web context is /app, so "http://host:3000/app/index.html" successfully returns index.html page running the app locally.
Load balancer(public) listens on port 80 and forwards traffic to targets on port 3000.
AWS…

user10916892
- 825
- 12
- 33
0
votes
0 answers
AWS Network Load Balancer: failure connection when the source and the target are the same
I have an EC2 instance which has two applications installed and configured:
App #1 runs on post 8001
App #2 runs on port 8002
Apps answer perfectly if I use…
0
votes
1 answer
AWS - Abnormal Data Transfer OUT
I´m consistently being charged for a surprisingly high amount of data transfer out (from Amazon to Internet).
I looked into the Usage Reports of the past few months and found out that the Data Transfer Out was coming out of an Application Load…

Ricardo F
- 1
- 1
0
votes
2 answers
Add RDS as listener in target group of AWS ELB
I am trying to put my RDS instance behind an elastic loadbalancer. Unfortunately, I am not able to find the RDS in listed instance while creating a target group. I am wondering how to do that, is this possible?

Prometheus
- 549
- 1
- 7
- 18
0
votes
1 answer
How to know if an elb is handling a high load?
We are experiencing a high traffic load, and the great mayority of requests are failing. We have added more instances behind our elb but that does not solve the issue. Our db is at 50% cpu usage. Is there a way to test if the elb is the one that…
user3810167
0
votes
1 answer
Want to integrate aws ELB dns_name with api gateway endpoint via terraform
Am able to launch a elb via terraform and in output file stored the dns name of that ELB. Now I want to integrate that url with my api gateway via terraform, but unable to do that.
resource "aws_api_gateway_rest_api" "demo" {
name =…

Aniket
- 495
- 1
- 5
- 16
0
votes
1 answer
Tomcat web app not receiving requests sent through AWS ELB
I have 2 web applications that run on a single Tomcat in a docker container on an AWS EC2 instance. One web app is 100% angular static content and the other is a REST application. When I run the web apps on my laptop, everything runs fine. When I…

Ross H Mills III
- 311
- 4
- 6
0
votes
2 answers
Regex : Reforming a url path if a particular string pattern is found in the path
I am not much experienced using regex and fighting to solve the problem:
I have a url like below:
http://example.com/ja-JP/blog/12345
I want to redirect the above url to below url :
http://jp.example.com/ja/blog/12345
Moreover I want…

Mahbub Rahman
- 1,295
- 1
- 24
- 44
0
votes
1 answer
Ensure load balancer only processes requests from a specific url
I have an api server sat behind a load balancer as part of an AWS elastic beanstalk configuration.
I want to ensure that only my web application can talk to the api server (via the load balancer). My web application is hosted in s3. Can somebody…

user7896385
- 21
- 3
0
votes
1 answer
How can I ensure my Redis and RDS is accessible only for dynamic instances (AWS Autoscaling)
I have hosted my magento2 site in AWS auto-scaling and using Redis/Elasticache, RDS. How I can ensure my Redis and RDS are accessible only from dynamic instances creating in auto-scaling.

Techvalens
- 119
- 1
- 2
0
votes
1 answer
Use a network load balancer for multiple applications
Currently I have an Amazon ALB set to forward traffic depending on the path:
I've set the rules so that www.example.com points to FrontendTargetGroup and api.example.com to point to BackendTargetGroup.
However, for other reasons I now need to use a…

John Mike
- 1,895
- 3
- 17
- 26
0
votes
2 answers
Trying to use AWS EC2 node.js app to talk to AWS Mongo Linux instance via AWS ELB
I have 2 x AWS EC2 instances with a node.js app. Out of the box, they come with a local mongod instance that works fine. Given the criticality of the app, I decided to spin up 2 x EC2 front ends (node js) to talk to a mongo db in another…

Kris
- 1
- 1
0
votes
1 answer
ECS + ALB - My applications only respond a few times
I've developed two spring boot applications for microservices and I've used ECS to deploy these applications into containers.
To do this, I followed the official pet clinic example …

FabAnn
- 3
- 2
0
votes
1 answer
AWS ELB redirect HTTP to HTTPS
I am using this CloudFormation template https://github.com/widdix/aws-cf-templates/blob/master/jenkins/jenkins2-ha-agents.yaml to setup a jenkins server.
I want to now add an SSL to the ELB and have modified…

khinester
- 3,398
- 9
- 45
- 88
0
votes
1 answer
How do I code for an AWS ELB health check in a bespoke TCP applicaiton?
We have a bespoke application built using asio that uses both TCP and UDP. We have deployed our application to AWS and are using a network load balancer. The network LB is performing health checks using TCP however our health checks are…

Stewart
- 3,023
- 2
- 24
- 40