Questions tagged [aws-elb]

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).

190 questions
0
votes
1 answer

How to get Nginx HTTP Basic auth to recognise a permitted client's IP on the far side of a load balancer?

I have configured Nginx to require HTTP Basic auth for a website I'm working on that isn't yet public. I included an allow clause to permit the IP address of the company's head office to view the site without entering a password. This worked…
Alan Rowarth
  • 2,250
  • 2
  • 14
  • 10
0
votes
0 answers

aws account id-region table for a policy

I'm pretty new with AWS for devs. I worked with elb and created a policy for access logs as described here: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html one of the permissions is: { "Effect":…
0
votes
1 answer

AWS ALB 504 Gateway timeout error - EKS worker nodes, SpringBoot API

I have setup an ALB Ingress that points to single Nodeport service. Everything works fine and traffic is routed from the ALB to my backend service as expected. But sometimes I see Http 504 Gateway timeout error, I validated the cloud watch metrics…
dvlpr
  • 311
  • 3
  • 17
0
votes
1 answer

Getting 503 error after every 30 seconds with akka and node js env

we have created one api to export patient details in csv file, this export request takes 2.5 min to execute. we are using below technology for this app: Scala, akka, nginx and react/node js as front end. when i will hit on export link, request got…
0
votes
0 answers

Can you use range of ports in AWS network ALB? How?

Can you use range of ports like 12000 - 12100 in AWS network ALB? Clients should be able to connect on that port range. How?
user5168276
0
votes
1 answer

Find ELB Loadbalancer with the help of ACM certificate ARN

Is there any way that we can know which Loadbalancer ELB an ACM certificate is attached to if we have the ARN for the ACM certificate ? I know the opposite is possible.
BlueSaturn
  • 7
  • 1
  • 4
0
votes
0 answers

I am having trouble getting ELB to pass health checks

health Checks are failing on my ELB for just a sample project. But I've gone through all the tutorials without much help. The service definitely spins up. I can see it in the logs and I'm exposing 9000 MAIN SERVICE TARGET GROUP SECURITY GROUP &…
austin
  • 405
  • 4
  • 12
0
votes
1 answer

Originating IP or Client IP in AWS

I have come across a question on AWS that to track Originating IP or Client IP that has been processed by the EC2 instance or application. I get confused because Originating IP or Client IP can be seen in VPC flow logs, cloud trail logs and ELB…
0
votes
1 answer

AWS Web Application Firewall - Converting OWASP 10 Cloudformation Template To WAFV2

I need to implement a WAF that covers the owasp top 10 and aws luckily already created a sample cloudformation template for this - however, it is in waf version 1. I am new to aws waf, but it seems to me that aws is making a big effort to migrate…
0
votes
1 answer

AWS ELB - Target group Healthy but not accessible

I have two different accounts: One in Europe eu-central-1: Have the Route53 DNS entries from domain Another in China cn-north-1: Have the ALB resource and the EC2 resource. In China, my service is a concourse pipeline. The service is up and running…
0
votes
1 answer

How to check an ELB is associated with any autoscaling group using Boto3

How can I check whether an AWS Elastic Load Balancer, Application Load Balancer or Network Load Balancer is associated with any Auto-Scaling group by passing the Load Balancer name or Load Balancer ARN using Boto3?
Tes M
  • 51
  • 7
0
votes
1 answer

Connecting AWS EC2 DB securely via ALB

My pain point . I have an Ec2 with Postgres installed(which is in private subnet), everything is working fine. All member can connect to DB only when they are in the DEV cluster (I mean same CIDR, security group is designed to get traffic only from…
0
votes
2 answers

Why to use internal load balancer if we already have an external load balancer?

In my project, we already have an external load balancer. However, there are several teams within the organisation which uses our internal load balancer. I want to know why do we need internal load balancer if we already have a public-facing…
XYZ
  • 709
  • 2
  • 9
  • 12
0
votes
1 answer

AWS support multiple Target Groups per ALB Listener

I'm trying to create a listener for my AWS ALB and attach my 2 target groups to that listener using the "create-listener" command (AWS CLI), but having issues creating the listener with those 2 target groups. When creating the listener from the AWS…
Yuval Podoksik
  • 508
  • 2
  • 7
  • 23
0
votes
2 answers

AWS Network Load Balancer Sticky Sessions not working

In my AWS account I currently have a network load balancer (TCP) pointing to two Ec2 instances over 2 Availability zones (web servers) which each have a tomcat running , this is pointed to one Ec2 instance which is the application…