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
5
votes
1 answer

How to configure Google Cloud DNS for an AWS Load balancer

I have an AWS load balancer. AWS assigns a DNA name like: data-vm-190.eu-west-1.elb.amazonaws.com When I try to create a DNS CNAME record in Google Cloud, I get this error: "Record data must be in the format server-1.example.com" How can I get past…
user3622140
  • 65
  • 1
  • 7
5
votes
2 answers

Cannot add cognito authentification to aws load balancer (ELB)

I am trying to add a cognito auhtentification to my load balancer following https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html?icmpid=docs_elbv2_console. When I setup the authentification process, I…
poloC
  • 537
  • 2
  • 6
  • 16
5
votes
3 answers

Verify hostname of the server who invoked the API

I have an AWS ELB connected with multiple EC2s that are running the AWS Flask server. I am not sure if AWS ELB passes the complete request to EC2 or not. I know we can do the restrictions at ELB level but I want to put restrictions on only one…
Sanjay Sharma
  • 3,687
  • 2
  • 22
  • 38
5
votes
1 answer

How organize terraform modules for common load balancer

I have AWS ALB that using for multiple EC2 instances. In Terraform i have alb module which already created load balancer and listeners, target groups for that EC2 instances. I want attach ec2 instance to target group . I did this in EC2 instance…
5
votes
1 answer

Kubernetes nginx ingress periodically gives 404

I have deployed kops k8s in AWS, everything in the same namespace. nginx ingress controller route traffic to https backends (wordpress apps). I'm able to reach the website, but unfortunately for every 10~ calls only 1 call get http 200. all the…
5
votes
3 answers

Elastic Beanstalk Health Severe, failing with a code 400 -- even though I can visit my site

I have a Django application running on Elastic Beanstalk. I can visit my site no problem at example.com. I've set up automatic https redirect, so that it always directs to https. I've set it up so you can't view the site example.elasticbeanstalk.com…
bones225
  • 1,488
  • 2
  • 13
  • 33
5
votes
0 answers

Traefik HTTP - HTTPS redirecting behind AWS ELB (TCP)

I have a Kubernetes setup where Traefik is my ingress controller. Traefik is behind an AWS ELB which is listening on an SSL port (TCP:443) so that it can terminate the SSL using an ACM certificate. It then load balances you to traefik (in k8s) which…
thewire247
  • 795
  • 1
  • 9
  • 24
4
votes
0 answers

What could be the cause of a spike in "Client TLS Negotiation Errors" in AWS ELB?

For the past few days we saw a spike in Client TLS Negotiation Errors and curious what could be driving it. For context this is a classic ELB and we have a high volume application doing about 250,000 requests/second at peak and following the…
Dan Goldin
  • 957
  • 13
  • 32
4
votes
5 answers

Is classic load balancer going to be discontinued by aws

Can some one help me with the fact is aws going to discontinue classic load balancer in future?? I have checked many documents but non of it clearly mentions about it.
4
votes
0 answers

Why doesn't the ALB health check take care of cold starts on Lambdas?

I have an ALB that is performing a health check every 30 seconds on a Target Group (Lambda endpoint in this case). Despite this, any time I query my API for the first time in several minutes or longer it goes through a cold start. What could be the…
4
votes
1 answer

AWS ELB when target (backend) applications runs on multiple ports of the same EC2

I have 2 instances of the same web application running on port 8080 and 8081. I need to load balance using ALB/CLB. This used to be a simple thing in good old apache web server.The requirement is to load balance the instances below Instance 1 Web…
Sujith Babu
  • 339
  • 6
  • 19
4
votes
0 answers

How does TCP back pressure work with AWS ALB?

Based on this AWS doc both layer 4 and layer 7 ALBS terminate the client connection and establish a new TCP connection with the back-end instances (connection are reused on both ends). Is there any info on how these connections are managed? (i.e 1…
EugeneMi
  • 3,475
  • 3
  • 38
  • 57
3
votes
3 answers

How to handle 403 and 404 errors with AWS Cloudfront containing multiple origins

I have the current configuration in AWS: S3 Bucket set to static website for my frontend ELB which has an EC2 instance for my backend Cloudfront distribution with two origins, two behaviors, and two custom error pages Origins: S3 Bucket (static…
3
votes
1 answer

AWS ELB causing net::ERR_CERT_COMMON_NAME_INVALID error

Currently getting the net::ERR_CERT_COMMON_NAME_INVALID when trying to access my application through the ALB. This is my current setup: SSL Certificate created that covers example.com & *.example.com using AWS Certificate Manager. 2 server ec2…
3
votes
1 answer

AWS ELB - SSL/TLS termination confusion

The setup: Application deployed in EC2 instances that are load balanced by an ELB, with Autoscaling Group. The requirement: secure data encryption in transit in adherence to TLS protocol between the clients and EC2 instances. The question: How can…
1
2
3
12 13